Skip to content

Commit c869b0e

Browse files
authored
Merge branch 'master' into iss308-fix-link-to-MedRequest
2 parents d947a78 + 39322bc commit c869b0e

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

docs/hooks/medication-prescribe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ The user is in the process of prescribing one or more new medications.
1111

1212
## Context
1313

14-
The set of medications proposed or in progress of being prescribed. All FHIR resources in this context MUST be based on the same FHIR version.
14+
The set of medications proposed or in progress of being prescribed. All FHIR resources in this context MUST be based on the same FHIR version. All FHIR resources in the medications object MUST have a status of _draft_.
1515

1616
Field | Optionality | Prefetch Token | Type | Description
1717
----- | -------- | ---- | ---- | ----
1818
`patientId` | REQUIRED | Yes | *string* | The FHIR `Patient.id` of the current patient in context
1919
`encounterId` | OPTIONAL | Yes | *string* | The FHIR `Encounter.id` of the current encounter in context
20-
`medications` | REQUIRED | No | *object* | DSTU2 - FHIR Bundle of MedicationOrder resources <br/> STU3 - FHIR Bundle of MedicationOrder
20+
`medications` | REQUIRED | No | *object* | DSTU2 - FHIR Bundle of _draft_ MedicationOrder resources <br/> STU3 - FHIR Bundle of _draft_ MedicationRequest resources
2121

2222
### Example (DSTU2)
2323

docs/hooks/order-review.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ The user is in the process of reviewing a set of orders to sign.
1111

1212
## Context
1313

14-
The set of orders being reviewed for signature on-screen. All FHIR resources in this _context_ MUST be based on the same FHIR version.
14+
The set of orders being reviewed for signature on-screen. All FHIR resources in this _context_ MUST be based on the same FHIR version. All FHIR resources in the medications object MUST have a status of _draft_.
1515

1616
Field | Optionality | Prefetch Token | Type | Description
1717
----- | -------- | ---- | ---- | ----
1818
`patientId` | REQUIRED | Yes | *string* | The FHIR `Patient.id` of the current patient in context
1919
`encounterId` | OPTIONAL | Yes | *string* | The FHIR `Encounter.id` of the current encounter in context
20-
`orders` | REQUIRED | No | *object* | DSTU2 - FHIR Bundle of MedicationOrder, DiagnosticOrder, DeviceUseRequest, ReferralRequest, ProcedureRequest, NutritionOrder, VisionPrescription <br/> STU3 - FHIR Bundle of MedicationRequest, ReferralRequest, ProcedureRequest, NutritionOrder, VisionPrescription
20+
`orders` | REQUIRED | No | *object* | DSTU2 - FHIR Bundle of MedicationOrder, DiagnosticOrder, DeviceUseRequest, ReferralRequest, ProcedureRequest, NutritionOrder, VisionPrescription with _draft_ status <br/> STU3 - FHIR Bundle of MedicationRequest, ReferralRequest, ProcedureRequest, NutritionOrder, VisionPrescription with _draft_ status
2121

2222
### Example (DSTU2)
2323

docs/specification/1.0.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ CDS Hooks implementers are not required to use the Open API Specification interf
2525

2626
## Discovery
2727

28-
Developers of CDS Services SHALL provide a stable endpoint for allowing EHRs to discover available CDS Services, including information such as the purpose of the CDS Service, when it should be invoked, and any data that is requested to be prefetched.
28+
Developers of CDS Services SHALL provide a stable endpoint for allowing EHRs to discover available CDS Services, including information such as a description of the CDS Service, when it should be invoked, and any data that is requested to be prefetched.
2929

3030
A CDS Service provider SHALL expose its Discovery endpoint at"
3131

@@ -373,19 +373,9 @@ Each **Suggestion** is described by the following attributes.
373373
Field | Optionality | Type | Description
374374
----- | ----- | ----- | --------
375375
`label` | REQUIRED | *string* | Human-readable label to display for this suggestion (e.g. the EHR might render this as the text on a button tied to this suggestion).
376-
`uuid` | OPTIONAL | *string* | Unique identifier for this suggestion. For details see [Suggestion Tracking Analytics](#suggestion-tracking-analytics)
376+
`uuid` | OPTIONAL | *string* | Unique identifier, used for auditing and logging suggestions.
377377
`actions` | OPTIONAL | *array* | Array of objects, each defining a suggested action. Within a suggestion, all actions are logically AND'd together, such that a user selecting a suggestion selects all of the actions within it.
378378

379-
##### Suggestion Tracking Analytics
380-
381-
Whenever a user clicks a displayed label (e.g., button) from a "suggestion" card, the EHR uses the
382-
suggestion `uuid` to notify the CDS Service's analytics endpoint via a `POST`
383-
with an empty body:
384-
385-
`POST {baseUrl}/cds-services/{serviceId}/analytics/{uuid}`
386-
387-
If a suggestion has no `uuid`, the EHR does not send a notification.
388-
389379
##### Action
390380

391381
Each **Action** is described by the following attributes.

0 commit comments

Comments
 (0)