docs icon indicating copy to clipboard operation
docs copied to clipboard

Added support for enhanced prefetch - and clarified prefetch expectat…

Open lmckenzi opened this issue 3 years ago • 2 comments

…ions in general.

Specifically intended to address #377 and provide support for referencing information related to data in "in-memory" orders

lmckenzi avatar Feb 07 '22 00:02 lmckenzi

As we discussed at today's CDS WG meeting, we need to be able to support a request for something like all BP Observations from the last 10 days.

As currently proposed we could retrieve the last 10 BP Observations using: "bloodPressures": "Observation?patient={{context.patient}}&code=85354-9|http%xx/loinc.org&_sort=-date&_count=10"

However, there does not seem to be a way to request all BP Observations from the last 10 days using a prefetch template.

hstrasbe avatar Sep 12 '23 23:09 hstrasbe

One option would be to use x-fhir-query, though that's a bigger lift than what's proposed here. We could possibly also subset x-fhir-query?

lmckenzi avatar Sep 13 '23 16:09 lmckenzi