Details
-
Change Request
-
Resolution: Persuasive with Modification
-
Medium
-
US Da Vinci CRD (FHIR)
-
current
-
Clinical Decision Support
-
Supported Hooks
-
4.3.2.3
-
-
Lloyd McKenzie / Bob Dieterle: 19-0-3
-
Enhancement
-
Compatible, substantive
Description
During connectathon we ran into that the syntax CRD uses for prefetch (http://build.fhir.org/ig/HL7/davinci-crd/hooks.html#additional-prefetch-capabilities):
"ServiceRequest?_id={{context.draftOrders.ServiceRequest.id}}&_include=ServiceRequest:insurance"
Is incompatible with CDS Hooks, in https://cds-hooks.org/specification/current/#prefetch-tokens:
Only root-level fields with a primitive value within the context object are eligible to be used as prefetch tokens. For example, {{context.medication.id}} is not a valid prefetch token because it attempts to access the id field of the medication field.
And in https://cds-hooks.org/specification/current/#prefetch-query-restrictions
When using this subset, valid prefetch templates MUST only make use of
... a list that doesn't have "_include"
We should figure out a plan for resolving both of these incompatibilities.
It looks like discussion of the first issue stalled, Lloyd is planning to bring it up again https://github.com/cds-hooks/docs/issues/377