You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/specification/1.0.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,8 +172,9 @@ Similarly, each EHR will decide what FHIR resources to authorize and to prefetch
172
172
173
173
### Prefetch Template
174
174
175
-
The prefetch template is a dictionary of `read` and `search` requests to supply
176
-
relevant data. In order to allow for prefetch templates that are dependent upon the particular CDS Service request, prefetch tokens or variables MAY be defined.
175
+
A _prefetch template_ is a `read` or `search` request that describes relevant data needed by the CDS Service. To allow for prefetch templates that are dependent upon the particular CDS Service request, prefetch templates may include references to context using _prefetch tokens_. A prefetch token is an identifier in a prefetch template that is replaced by a value from the hook context to construct the FHIR URL used to request the prefetch data.
176
+
177
+
The `prefetch` field of a CDS Service description defines the set of prefetch templates for that service, providing a prefetch key for each one that is used to provide the prefetch data in the CDS request.
177
178
178
179
Prefetch tokens MUST be delimited by `{{` and `}}`, MUST be named based upon the field they correspond to, and MUST have a primitive value.
0 commit comments