Skip to content

Commit

Permalink
Merge branch 'master' into order-dispatch-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacvetter authored Aug 15, 2023
2 parents 84fdd39 + 5563247 commit 80bf313
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GOVERNANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

- [Overview](#overview)
- [Roles](#roles)
- [Project Management Committee](#project-management-committee)
- [Committers](#committers)
- [Project Management Committee](#project-management-committee)
- [PMC Chair](#pmc-chair)
- [Contributors](#contributors)
- [Implementers](#implementers)
Expand Down
8 changes: 7 additions & 1 deletion docs/hooks/order-sign.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ The context contains all order details, such as dose, quantity, route, etc,
although the order has not yet been signed and therefore still exists in a draft status.
Use this hook when your service requires all order details, and the clinician will accept recommended changes.

This hook can also be used when an order or set of orders is being 're-signed' after revision (e.g. change
to status, extending dates, or other changes allowed to signed orders within the system's workflow). In this
case, the orders would typically have a status other than 'draft'. In some cases, the hook might fire with a
mixture of new and revised orders.

This hook is intended to replace (deprecate) the `medication-prescribe` and `order-review` hooks.

## Context
Expand All @@ -23,7 +28,7 @@ Field | Optionality | Prefetch Token | Type | Description
`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`.
`patientId` | REQUIRED | Yes | *string* | The FHIR `Patient.id` of the current patient in context
`encounterId` | OPTIONAL | Yes | *string* | The FHIR `Encounter.id` of the current encounter in context
`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
`draftOrders` | REQUIRED | No | *object* | DSTU2 - FHIR Bundle of MedicationOrder, DiagnosticOrder, DeviceUseRequest, ReferralRequest, ProcedureRequest, NutritionOrder, VisionPrescription (typically with _draft_ status) <br/> STU3 - FHIR Bundle of MedicationRequest, ReferralRequest, ProcedureRequest, NutritionOrder, VisionPrescription (typically with _draft_ status) <br/> R4 - FHIR Bundle of DeviceRequest, MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription (typically with _draft_ status)



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

0 comments on commit 80bf313

Please sign in to comment.