Skip to content

Commit 2a92931

Browse files
lmckenzivadi2
authored andcommitted
Updated to allow use on order revision
1 parent 15c5931 commit 2a92931

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

old-docs/hooks/order-sign.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ The context contains all order details, such as dose, quantity, route, etc,
1414
although the order has not yet been signed and therefore still exists in a draft status.
1515
Use this hook when your service requires all order details, and the clinician will accept recommended changes.
1616

17+
This hook can also be used when an order or set of orders is being 're-signed' after revision (e.g. change
18+
to status, extending dates, or other changes allowed to signed orders within the system's workflow). In this
19+
case, the orders would typically have a status other than 'draft'. In some cases, the hook might fire with a
20+
mixture of new and revised orderes.
21+
1722
This hook is intended to replace (deprecate) the `medication-prescribe` and `order-review` hooks.
1823

1924
## Context
@@ -23,7 +28,7 @@ Field | Optionality | Prefetch Token | Type | Description
2328
`userId` | REQUIRED | Yes | *string* | The id of the current user.<br />For this hook, the user is expected to be of type [Practitioner](https://www.hl7.org/fhir/practitioner.html) or [PractitionerRole](https://www.hl7.org/fhir/practitionerrole.html).<br />For example, `PractitionerRole/123` or `Practitioner/abc`.
2429
`patientId` | REQUIRED | Yes | *string* | The FHIR `Patient.id` of the current patient in context
2530
`encounterId` | OPTIONAL | Yes | *string* | The FHIR `Encounter.id` of the current encounter in context
26-
`draftOrders` | 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 <br/> R4 - FHIR Bundle of DeviceRequest, MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with _draft_ status
31+
`draftOrders` | 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 <br/> R4 - FHIR Bundle of DeviceRequest, MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription (typically with _draft_ status)
2732

2833

2934

@@ -543,3 +548,4 @@ Version | Description
543548
---- | ----
544549
1.0 | Initial Release
545550
1.0.1 | Add DeviceRequest to list of order resources for R4.
551+
1.1.0 | Updated hook to all for use in order-revision situations

0 commit comments

Comments
 (0)