FHIR Tooling Extensions IG
0.2.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 0.2.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: 0.2.0
Draft as of 2024-05-17 Maturity Level: 2 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

Usage:

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

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from CDSHookContext

NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
Instances of this logical model are not marked to be the target of a Reference
... 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

IdGradePath(s)DetailsRequirements
ord-1errorCDSHookOrderSelectContext.selectionsMust be in the format {type}/{id}
: value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')
NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
Instances of this logical model are not marked to be the target of a Reference
... 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

IdGradePath(s)DetailsRequirements
ord-1errorCDSHookOrderSelectContext.selectionsMust be in the format {type}/{id}
: value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')
NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
Instances of this logical model are not marked to be the target of a Reference
... 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

IdGradePath(s)DetailsRequirements
ord-1errorCDSHookOrderSelectContext.selectionsMust be in the format {type}/{id}
: value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')

This structure is derived from CDSHookContext

Summary

Mandatory: 0 element(3 nested mandatory elements)

Maturity: 2

Differential View

This structure is derived from CDSHookContext

NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
Instances of this logical model are not marked to be the target of a Reference
... 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

IdGradePath(s)DetailsRequirements
ord-1errorCDSHookOrderSelectContext.selectionsMust be in the format {type}/{id}
: value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
Instances of this logical model are not marked to be the target of a Reference
... 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

IdGradePath(s)DetailsRequirements
ord-1errorCDSHookOrderSelectContext.selectionsMust be in the format {type}/{id}
: value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHookOrderSelectContext 0..* CDSHookContext The context for the order-select hook
Instances of this logical model are not marked to be the target of a Reference
... 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

IdGradePath(s)DetailsRequirements
ord-1errorCDSHookOrderSelectContext.selectionsMust be in the format {type}/{id}
: value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$')

This structure is derived from CDSHookContext

Summary

Mandatory: 0 element(3 nested mandatory elements)

Maturity: 2

 

Other representations of profile: CSV, Excel