CDS Hooks Library
2.0.0-cibuild - ci-build International flag

CDS Hooks Library, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 2.0.0-cibuild built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cds-hooks-library/ and changes regularly. See the Directory of published versions

Logical Model: CDS Hooks Specific Context for order-dispatch (Logical Definition) - Detailed Descriptions

Page standards status: Informative

Definitions for the CDSHookOrderDispatchContext logical model

Guidance on how to interpret the contents of this table can be foundhere

0. CDSHookOrderDispatchContext
Definition

This structure is defined to allow the FHIR Validator to validate a CDSHooks order-dispatch context.

ShortThe context for the order-dispatch hook
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. CDSHookOrderDispatchContext.patientId
Definition

The FHIR Patient.id of the current patient in context

ShortThe FHIR Patient.id of the current patient in context
Control1..1
Typeid
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. CDSHookOrderDispatchContext.dispatchedOrders
Definition

Collection of the FHIR local references for the Request resource(s) for which fulfillment is sought E.g. ServiceRequest/123

ShortArray of FHIR references
Control1..*
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
ID ExpectationId may or not be present (this is the default for elements but not resources)
6. CDSHookOrderDispatchContext.performer
Definition

The FHIR local reference for the Practitioner, PractitionerRole, Organization, CareTeam, etc. who is being asked to execute the order. E.g. Practitioner/456

ShortWho orders are dispatched to in form [ResourceType]/[ResourceId]
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Invariantsord-1: Must be in the format {type}/{id} ($this.matches('^[\\d\\w]+\\/[\\d\\w-.]+$'))
8. CDSHookOrderDispatchContext.fulfillmentTasks
Definition

Collection of Task resources

ShortArray of Task resources
Control0..*
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
ID ExpectationId may or not be present (this is the default for elements but not resources)

Guidance on how to interpret the contents of this table can be foundhere

0. CDSHookOrderDispatchContext
Definition

This structure is defined to allow the FHIR Validator to validate a CDSHooks order-dispatch context.

ShortThe context for the order-dispatch hook
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. CDSHookOrderDispatchContext.patientId
Definition

The FHIR Patient.id of the current patient in context

ShortThe FHIR Patient.id of the current patient in context
Control1..1
Typeid
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. CDSHookOrderDispatchContext.dispatchedOrders
Definition

Collection of the FHIR local references for the Request resource(s) for which fulfillment is sought E.g. ServiceRequest/123

ShortArray of FHIR references
Control1..*
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
ID ExpectationId may or not be present (this is the default for elements but not resources)
6. CDSHookOrderDispatchContext.performer
Definition

The FHIR local reference for the Practitioner, PractitionerRole, Organization, CareTeam, etc. who is being asked to execute the order. E.g. Practitioner/456

ShortWho orders are dispatched to in form [ResourceType]/[ResourceId]
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Invariantsord-1: Must be in the format {type}/{id} ($this.matches('^[\\d\\w]+\\/[\\d\\w-.]+$'))
8. CDSHookOrderDispatchContext.fulfillmentTasks
Definition

Collection of Task resources

ShortArray of Task resources
Control0..*
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
ID ExpectationId may or not be present (this is the default for elements but not resources)

Guidance on how to interpret the contents of this table can be foundhere

0. CDSHookOrderDispatchContext
Definition

This structure is defined to allow the FHIR Validator to validate a CDSHooks order-dispatch context.

ShortThe context for the order-dispatch hook
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. CDSHookOrderDispatchContext.patientId
Definition

The FHIR Patient.id of the current patient in context

ShortThe FHIR Patient.id of the current patient in context
Control1..1
Typeid
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. CDSHookOrderDispatchContext.dispatchedOrders
Definition

Collection of the FHIR local references for the Request resource(s) for which fulfillment is sought E.g. ServiceRequest/123

ShortArray of FHIR references
Control1..*
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
ID ExpectationId may or not be present (this is the default for elements but not resources)
6. CDSHookOrderDispatchContext.performer
Definition

The FHIR local reference for the Practitioner, PractitionerRole, Organization, CareTeam, etc. who is being asked to execute the order. E.g. Practitioner/456

ShortWho orders are dispatched to in form [ResourceType]/[ResourceId]
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Invariantsord-1: Must be in the format {type}/{id} ($this.matches('^[\\d\\w]+\\/[\\d\\w-.]+$'))
8. CDSHookOrderDispatchContext.fulfillmentTasks
Definition

Collection of Task resources

ShortArray of Task resources
Control0..*
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
ID ExpectationId may or not be present (this is the default for elements but not resources)