Skip to content

Commit 3322561

Browse files
committed
#313: Clarified definitions of prefetch template, prefetch token, and prefetch key.
1 parent 7169175 commit 3322561

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/specification/1.0.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ Similarly, each EHR will decide what FHIR resources to authorize and to prefetch
172172

173173
### Prefetch Template
174174

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.
177178

178179
Prefetch tokens MUST be delimited by `{{` and `}}`, MUST be named based upon the field they correspond to, and MUST have a primitive value.
179180

0 commit comments

Comments
 (0)