This PR adds additional Prefetch capabilities so that a set of prefetches received from the request generator by CRD can now include prefetch queries instead of being required to be the full populated prefetch resources. It will then take the received queries and execute them, adding them to the set of prefetched bundles.
Ex) Instead of sending a full DeviceRequest prefetch bundle resources, this could be sent with:
http://build.fhir.org/ig/HL7/davinci-crd/hooks.html#additional-prefetch-capabilities https://jira.mitre.org/browse/DMEERX-1176
This PR adds additional Prefetch capabilities so that a set of prefetches received from the request generator by CRD can now include prefetch queries instead of being required to be the full populated prefetch resources. It will then take the received queries and execute them, adding them to the set of prefetched bundles.
Ex) Instead of sending a full DeviceRequest prefetch bundle resources, this could be sent with:
"prefetch": { "deviceRequestBundle": "DeviceRequest?_id={{context.draftOrders.DeviceRequest.id}}&_include=DeviceRequest:patient&_include=DeviceRequest:performer&_include=DeviceRequest:requester&_include=DeviceRequest:device&_include:iterate=PractitionerRole:organization&_include:iterate=PractitionerRole:practitioner" }
Note: what's described here and in the IG seems inconsistent with the description in the excel tasking doc.