{
"description": "This structure is defined to allow the FHIR Validator to validate a CDSHooks Order-Sign context. TODO: This content will be moved to the CDS Hooks specification in the future",
"_filename": "StructureDefinition-CDSHookOrderSignContext.json",
"package_name": "hl7.fhir.uv.tools.r3",
"date": "2024-04-26T06:44:22+10:00",
"derivation": "specialization",
"publisher": "HL7 International / FHIR Infrastructure",
"fhirVersion": "5.0.0",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
} ]
} ],
"name": "CDSHookOrderSignContext",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": false,
"type": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderSignContext",
"experimental": "true",
"resourceType": "StructureDefinition",
"title": "CDS Hook Specific Context for order-sign (Logical Definition)",
"package_version": "0.2.0",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 2
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
} ],
"snapshot": {
"element": [ {
"path": "CDSHookOrderSignContext",
"min": 0,
"definition": "The context (hook specific)",
"isModifier": false,
"short": "The context for the order-sign hook",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"max": "*",
"id": "CDSHookOrderSignContext",
"base": {
"max": "*",
"min": 0,
"path": "Base"
}
}, {
"id": "CDSHookOrderSignContext.userId",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "CDSHookOrderSignContext.userId"
},
"path": "CDSHookOrderSignContext.userId",
"type": [ {
"code": "url"
} ],
"short": "The id of the current user. Must be in the format [ResourceType]/[id].",
"definition": "For this hook, the user is expected to be of type Practitioner, PractitionerRole, Patient, or RelatedPerson. Patient or RelatedPerson are appropriate when a patient or their proxy are viewing the record. For example, Practitioner/abc or Patient/123."
}, {
"id": "CDSHookOrderSignContext.patientId",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "CDSHookOrderSignContext.patientId"
},
"path": "CDSHookOrderSignContext.patientId",
"type": [ {
"code": "id"
} ],
"short": "The FHIR Patient.id of the current patient in context",
"definition": "The FHIR Patient.id of the current patient in context"
}, {
"id": "CDSHookOrderSignContext.encounterId",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "CDSHookOrderSignContext.encounterId"
},
"path": "CDSHookOrderSignContext.encounterId",
"type": [ {
"code": "id"
} ],
"short": "The FHIR Encounter.id of the current encounter in context",
"definition": "The FHIR Encounter.id of the current encounter in context"
}, {
"path": "CDSHookOrderSignContext.draftOrders",
"min": 1,
"definition": "FHIR Bundle of MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with draft status",
"short": "FHIR Bundle of MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with draft status",
"type": [ {
"code": "Bundle"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
"valueCode": "optional"
} ],
"max": "1",
"id": "CDSHookOrderSignContext.draftOrders",
"base": {
"max": "1",
"min": 1,
"path": "CDSHookOrderSignContext.draftOrders"
}
} ]
},
"status": "draft",
"id": "10603fe9-920d-437e-b306-76299b4ea497",
"kind": "logical",
"url": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderSignContext",
"identifier": [ {
"value": "urn:oid:2.16.840.1.113883.4.642.40.1.42.3",
"system": "urn:ietf:rfc:3986"
} ],
"version": "0.2.0",
"differential": {
"element": [ {
"id": "CDSHookOrderSignContext",
"path": "CDSHookOrderSignContext",
"short": "The context for the order-sign hook"
}, {
"id": "CDSHookOrderSignContext.userId",
"max": "1",
"min": 1,
"path": "CDSHookOrderSignContext.userId",
"type": [ {
"code": "url"
} ],
"short": "The id of the current user. Must be in the format [ResourceType]/[id].",
"definition": "For this hook, the user is expected to be of type Practitioner, PractitionerRole, Patient, or RelatedPerson. Patient or RelatedPerson are appropriate when a patient or their proxy are viewing the record. For example, Practitioner/abc or Patient/123."
}, {
"id": "CDSHookOrderSignContext.patientId",
"max": "1",
"min": 1,
"path": "CDSHookOrderSignContext.patientId",
"type": [ {
"code": "id"
} ],
"short": "The FHIR Patient.id of the current patient in context",
"definition": "The FHIR Patient.id of the current patient in context"
}, {
"id": "CDSHookOrderSignContext.encounterId",
"max": "1",
"min": 0,
"path": "CDSHookOrderSignContext.encounterId",
"type": [ {
"code": "id"
} ],
"short": "The FHIR Encounter.id of the current encounter in context",
"definition": "The FHIR Encounter.id of the current encounter in context"
}, {
"id": "CDSHookOrderSignContext.draftOrders",
"max": "1",
"min": 1,
"path": "CDSHookOrderSignContext.draftOrders",
"type": [ {
"code": "Bundle"
} ],
"short": "FHIR Bundle of MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with draft status",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/id-expectation",
"valueCode": "optional"
} ],
"definition": "FHIR Bundle of MedicationRequest, NutritionOrder, ServiceRequest, VisionPrescription with draft status"
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/fiwg",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookContext"
}