Skip to content

Commit bbaa279

Browse files
authored
Merge pull request #33 from mcode/dev
Dev
2 parents 0799792 + 8a25612 commit bbaa279

2 files changed

Lines changed: 34 additions & 2 deletions

File tree

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,35 @@ This folder contains all of the types needed to implement CDS Hooks with TypeScr
1515
* [encounter-start](https://cds-hooks.org/hooks/encounter-start/) - fires when the clinician starts a new encounter with a patient, this could be as early as the time of admission
1616

1717
### prefetch
18-
This folder contains a TypeScript implementation of the prefetch logic needed for CDS Hooks. Prefetch will query the FHIR server for resources needed by the CDS Hook server (REMS Administrator). These resources are specified in a prefetch template provided by the server. The prefetch data is optionally provided by the client. If not provided, the server must fetch the data it needs. This implementation can be used by the client or the server to use the prefetch templates to retrieve the necessary resources. More can be read about prefetch in the [CDS Hooks Specification](https://cds-hooks.org/specification/current/#providing-fhir-resources-to-a-cds-service).
18+
This folder contains a TypeScript implementation of the prefetch logic needed for CDS Hooks. Prefetch will query the FHIR server for resources needed by the CDS Hook server (REMS Administrator). These resources are specified in a prefetch template provided by the server. The prefetch data is optionally provided by the client. If not provided, the server must fetch the data it needs. This implementation can be used by the client or the server to use the prefetch templates to retrieve the necessary resources. More can be read about prefetch in the [CDS Hooks Specification](https://cds-hooks.org/specification/current/#providing-fhir-resources-to-a-cds-service).
19+
20+
# Data Rights
21+
22+
<div style="text-align:center">
23+
<b>NOTICE</b>
24+
</div>
25+
26+
This (software/technical data) was produced for the U. S. Government under Contract Number 75FCMC18D0047/75FCMC23D0004, and is subject to Federal Acquisition Regulation Clause 52.227-14, Rights in Data-General.
27+
28+
29+
No other use other than that granted to the U. S. Government, or to those acting on behalf of the U. S. Government under that Clause is authorized without the express written permission of The MITRE Corporation.
30+
31+
32+
For further information, please contact The MITRE Corporation, Contracts Management Office, 7515 Colshire Drive, McLean, VA 22102-7539, (703) 983-6000.
33+
34+
<div style="text-align:center">
35+
<b>&copy;2025 The MITRE Corporation.</b>
36+
</div>
37+
38+
<br />
39+
40+
Licensed under the Apache License, Version 2.0 (the "License"); use of this repository is permitted in compliance with the License.
41+
You may obtain a copy of the License at
42+
43+
http://www.apache.org/licenses/LICENSE-2.0
44+
45+
Unless required by applicable law or agreed to in writing, software
46+
distributed under the License is distributed on an "AS IS" BASIS,
47+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
48+
See the License for the specific language governing permissions and
49+
limitations under the License.

prefetch/exampleHookService.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "REMS Requirement Lookup",
66
"prefetch": {
77
"patient": "Patient/{{context.patientId}}",
8-
"practitioner": "Practitioner/{{context.userId}}"
8+
"practitioner": "Practitioner/{{context.userId}}",
9+
"pharmacy": "HealthcareService/pharm0111"
910
}
1011
}

0 commit comments

Comments
 (0)