Stream: Da Vinci CRD
Topic: Reconciling prefetch between CRD and CDS Hooks
Matt Varghese (Jan 11 2022 at 15:58):
Is there any update on reconciling the CRD prefetch with CDS Hooks specification?
CDS Hooks specification says: https://cds-hooks.org/specification/current/#prefetch-tokens
image.png
This currently contradicts with wording in the Da Vinci CRD spec http://build.fhir.org/ig/HL7/davinci-crd/hooks.html#additional-prefetch-capabilities which suggests using prefetch tokens such as {{context.draftOrders.ServiceRequest.id}}
Da Vinci spec calls out that there is a proposal, but last activity on that proposal GitHub issue https://github.com/cds-hooks/docs/issues/377 dates from 2019.
Without this reconciled, CRD is NOT COMPLIANT with the underlying CDS Hooks specification. This puts implementers in a bind.
What is the plan here? Has there been any updates on this front?
Matt Varghese (Jan 11 2022 at 15:59):
@Isaac Vetter @Josh Mandel @Lloyd McKenzie
Lloyd McKenzie (Jan 11 2022 at 21:55):
When we discussed in 2019, there was concern about relying on prefetch at all. However, in order to pre-fetch what's necessary, there's no ability to do so without referring to the 'id' of the order. That's because the entire order is passed as context, not just the id of it (which is what's passed for encounter and patient).
Matt Varghese (Jan 12 2022 at 16:05):
@Lloyd McKenzie - I'm not asking why we use {{context.draftOrders.ServiceRequest.id}}
Rather this incompatibility between the specs needs to be resolved for us to implement CRD on top of CDS Hooks.
I'm asking what is the plan towards resolving that incompatibility.
Lloyd McKenzie (Jan 12 2022 at 19:37):
Let's try to land it Thur. Q4.
Kyle Johnsen (Jan 14 2022 at 14:26):
There's also the related issue where "_include" isn't part of https://cds-hooks.org/specification/current/#prefetch-query-restrictions
Submitted https://jira.hl7.org/browse/FHIR-35804 to track this.
Last updated: Apr 12 2022 at 19:14 UTC