From cf8bdebcb811a489d0daf4173067d04f47b48d98 Mon Sep 17 00:00:00 2001 From: Isaac Vetter Date: Fri, 5 Jan 2024 17:05:02 -0600 Subject: [PATCH 1/2] fingers crossed - svg in ghmd --- docs/hooks/order-select.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/hooks/order-select.md b/docs/hooks/order-select.md index 29ac1c89..e72ee6b7 100644 --- a/docs/hooks/order-select.md +++ b/docs/hooks/order-select.md @@ -17,6 +17,9 @@ The `order-select` hook occurs after the clinician selects the order and before This hook is intended to replace (deprecate) the `medication-prescribe` hook. +![CDS Hooks Overview](images/orderingflow.svg) + + ## Context Decision support should focus on the 'selected' orders - those that are newly selected or actively being authored. The non-selected orders are included in the context to provide context and to allow decision support to take into account other pending actions that might not yet be stored in the system (and therefore not queryable). From 58866dd05018aeab9f4f7db45333fefdd265fdcf Mon Sep 17 00:00:00 2001 From: Isaac Vetter Date: Wed, 31 Jan 2024 11:25:11 -0600 Subject: [PATCH 2/2] actively -> currently per https://jira.hl7.org/browse/FHIR-42142 --- docs/hooks/order-select.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hooks/order-select.md b/docs/hooks/order-select.md index e72ee6b7..5c4891bd 100644 --- a/docs/hooks/order-select.md +++ b/docs/hooks/order-select.md @@ -22,7 +22,7 @@ This hook is intended to replace (deprecate) the `medication-prescribe` hook. ## Context -Decision support should focus on the 'selected' orders - those that are newly selected or actively being authored. The non-selected orders are included in the context to provide context and to allow decision support to take into account other pending actions that might not yet be stored in the system (and therefore not queryable). +Decision support should focus on the 'selected' orders - those that are newly selected or currently being authored. The non-selected orders are included in the context to provide context and to allow decision support to take into account other pending actions that might not yet be stored in the system (and therefore not queryable). The context of this hook distinguishes between the list of unsigned orders from the clinician's ordering session, and the one or more orders just added to this list. The `selections` field contains a list of ids of these newly selected orders; the `draftOrders` Bundle contains an entry for all unsigned orders from this session, including newly selected orders. Field | Optionality | Prefetch Token | Type | Description