Skip to content

Commit 02a7a1f

Browse files
isaacvetterkpshek
authored andcommitted
Specify context resources are in draft status for the medication-prescribe and order-review hooks (#380)
Fixes #329
1 parent d738dbd commit 02a7a1f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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

0 commit comments

Comments
 (0)