This page is part of the HL7 Tools Extension IG (v0.1.0: Releases - Informative) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderSelectContext | Version: 0.1.0 | |||
Draft as of 2023-12-19 | Maturity Level: 2 | Computable Name: CDSHookOrderSelectContext |
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CDSHookContext
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
selections | C | 0..* | uri | The FHIR ids of the newly selected order(s) ord-1: Must be in the format {type}/{id} |
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) | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ord-1 | error | CDSHookOrderSelectContext.selections | Must be in the format {type}/{id} : value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$') |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
selections | C | 0..* | uri | The FHIR ids of the newly selected order(s) ord-1: Must be in the format {type}/{id} |
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) | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ord-1 | error | CDSHookOrderSelectContext.selections | Must be in the format {type}/{id} : value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$') |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
selections | C | 0..* | uri | The FHIR ids of the newly selected order(s) ord-1: Must be in the format {type}/{id} |
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) | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ord-1 | error | CDSHookOrderSelectContext.selections | Must be in the format {type}/{id} : value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$') |
This structure is derived from CDSHookContext
Differential View
This structure is derived from CDSHookContext
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
selections | C | 0..* | uri | The FHIR ids of the newly selected order(s) ord-1: Must be in the format {type}/{id} |
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) | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ord-1 | error | CDSHookOrderSelectContext.selections | Must be in the format {type}/{id} : value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$') |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
selections | C | 0..* | uri | The FHIR ids of the newly selected order(s) ord-1: Must be in the format {type}/{id} |
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) | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ord-1 | error | CDSHookOrderSelectContext.selections | Must be in the format {type}/{id} : value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$') |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
selections | C | 0..* | uri | The FHIR ids of the newly selected order(s) ord-1: Must be in the format {type}/{id} |
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) | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ord-1 | error | CDSHookOrderSelectContext.selections | Must be in the format {type}/{id} : value.matches('^[\\d\\w]+\\/[\\d\\w-.]+$') |
This structure is derived from CDSHookContext