Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional prefetch capabilities #280

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

RobertScalfani
Copy link
Contributor

@RobertScalfani RobertScalfani commented Aug 23, 2022

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.

@RobertScalfani RobertScalfani changed the title Add prefetch capabilities Additional prefetch capabilities Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant