You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) fix misspelling of quantity
2) Clarify that hooks is agnostic of the type of order.
3) Clarify that this hooks "replaces" order-review.
4) Rename context `orders` field to `draftOrders`
Copy file name to clipboardExpand all lines: docs/hooks/order-sign.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@
7
7
8
8
## Workflow
9
9
10
-
The `order-sign` hook fires when a clinician signs one or more orders for a patient.
10
+
The `order-sign` hook fires when a clinician signs one or more orders for a patient, (including orders for medications, procedures, labs and other orders).
11
11
This hook is among the last workflow events before an order is promoted out of a draft status.
12
-
The context contains all order details, such as dose, quanity, route, etc,
12
+
The context contains all order details, such as dose, quantity, route, etc,
13
13
although the order has not yet been signed and therefore still exists in a draft status.
14
14
Use this hook when your service requires all order details, and the clinician will accept recommended changes.
15
15
16
-
This hook is intended to deprecate the `order-review` hook.
16
+
This hook is intended to replace (deprecate) the `order-review` hook.
17
17
18
18
## Context
19
19
@@ -22,7 +22,7 @@ Field | Optionality | Prefetch Token | Type | Description
22
22
`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).<br />For example, `Practitioner/123`
23
23
`patientId` | REQUIRED | Yes | *string* | The FHIR `Patient.id` of the current patient in context
24
24
`encounterId` | OPTIONAL | Yes | *string* | The FHIR `Encounter.id` of the current encounter in context
25
-
`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
25
+
`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
26
26
27
27
28
28
@@ -36,7 +36,7 @@ Field | Optionality | Prefetch Token | Type | Description
36
36
"userId":"Practitioner/123",
37
37
"patientId":"1288992",
38
38
"encounterId":"89284",
39
-
"orders":{
39
+
"draftOrders":{
40
40
"resourceType":"Bundle",
41
41
"entry":[
42
42
{
@@ -215,7 +215,7 @@ Field | Optionality | Prefetch Token | Type | Description
0 commit comments