Skip to content

Commit ff3278f

Browse files
committed
#238: Clarified how prefetch data is processed (and that the specification is not prescriptive about that).
1 parent fde032d commit ff3278f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/specification/1.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ An EHR MAY choose to honor some or all of the desired prefetch templates, and is
226226

227227
The EHR SHALL deny access if the requested resource is outside the user's authorized scope.
228228

229+
As part of preparing the request, an EHR processes each prefetch template it intends to satisfy by replacing the prefetch tokens in the prefetch template to construct a relative FHIR request URL. This specification is not prescriptive about how this request is actually processed. The relative URL may be appended to the base URL for the EHR's FHIR server and directly invoked, or the EHR may use internal infrastructure to satisfy the request in the same way that invoking against the FHIR server would.
230+
229231
Regardless of how the EHR satisfies the prefetch templates (if at all), the prefetched data given to the CDS Service MUST be equivalent to the data the CDS Service would receive if it were making its own call to the EHR FHIR server using the parameterized prefetch template.
230232

231233
> Note that this means that CDS services will receive only the information they have requested and are authorized to receive. Prefetch data for other services registered to the same hook MUST NOT be provided.

0 commit comments

Comments
 (0)