FHIR Tooling Extensions IG
1.1.0 - Release 0.2.0 International flag

FHIR Tooling Extensions IG, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/fhir-tools-ig/ and changes regularly. See the Directory of published versions

Logical Model: CDS Hook Specific Context for order-select (Logical Definition) ( Experimental )

Official URL: http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderSelectContext Version: 1.1.0
Standards status: Informative Draft as of 2026-03-04 Maturity Level: 1 Computable Name: CDSHookOrderSelectContext
Other Identifiers: OID:2.16.840.1.113883.4.642.40.1.42.2

This structure is defined to allow the FHIR Validator to validate a CDSHooks order-select context. TODO: This content will be moved to the CDS Hooks specification in the future

Usages:

  • This Logical Model is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
... userId 1..1 url The id of the current user. Must be in the format [ResourceType]/[id].
... patientId 1..1 id The FHIR Patient.id of the current patient in context
... encounterId 0..1 id The FHIR Encounter.id of the current encounter in context
... draftOrders 1..1 Bundle FHIR Bundle of MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with draft status
Id may or not be present (this is the default for elements but not resources)

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ord-1 error CDSHookOrderSelectContext.selections Must be in the format {type}/{id} value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
... userId 1..1 url The id of the current user. Must be in the format [ResourceType]/[id].
... patientId 1..1 id The FHIR Patient.id of the current patient in context
... encounterId 0..1 id The FHIR Encounter.id of the current encounter in context
... draftOrders 1..1 Bundle FHIR Bundle of MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with draft status
Id may or not be present (this is the default for elements but not resources)

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ord-1 error CDSHookOrderSelectContext.selections Must be in the format {type}/{id} value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')

Summary

Mandatory: 0 element(3 nested mandatory elements)

Maturity: 1

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
... userId 1..1 url The id of the current user. Must be in the format [ResourceType]/[id].
... patientId 1..1 id The FHIR Patient.id of the current patient in context
... encounterId 0..1 id The FHIR Encounter.id of the current encounter in context
... draftOrders 1..1 Bundle FHIR Bundle of MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with draft status
Id may or not be present (this is the default for elements but not resources)

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ord-1 error CDSHookOrderSelectContext.selections Must be in the format {type}/{id} value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
... userId 1..1 url The id of the current user. Must be in the format [ResourceType]/[id].
... patientId 1..1 id The FHIR Patient.id of the current patient in context
... encounterId 0..1 id The FHIR Encounter.id of the current encounter in context
... draftOrders 1..1 Bundle FHIR Bundle of MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with draft status
Id may or not be present (this is the default for elements but not resources)

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ord-1 error CDSHookOrderSelectContext.selections Must be in the format {type}/{id} value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')

Summary

Mandatory: 0 element(3 nested mandatory elements)

Maturity: 1

 

Other representations of profile: CSV, Excel