{
"description": "This structure is defined to allow the FHIR Validator to validate a CDSHooks Patient-View context. TODO: This content will be moved to the CDS Hooks specification in the future",
"_filename": "StructureDefinition-CDSHookPatientViewContext.json",
"package_name": "hl7.fhir.uv.tools.r3",
"date": "2023-12-19T11:34:35+11: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": "CDSHookPatientViewContext",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": false,
"type": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookPatientViewContext",
"experimental": "true",
"resourceType": "StructureDefinition",
"title": "CDS Hook Specific Context for patient-view (Logical Definition)",
"package_version": "0.1.0",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 2
} ],
"snapshot": {
"element": [ {
"path": "CDSHookPatientViewContext",
"min": 0,
"definition": "The context (hook specific)",
"isModifier": false,
"short": "The context for the patient-view hook",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"max": "*",
"id": "CDSHookPatientViewContext",
"base": {
"max": "*",
"min": 0,
"path": "Base"
}
}, {
"id": "CDSHookPatientViewContext.userId",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "CDSHookPatientViewContext.userId"
},
"path": "CDSHookPatientViewContext.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": "CDSHookPatientViewContext.patientId",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "CDSHookPatientViewContext.patientId"
},
"path": "CDSHookPatientViewContext.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": "CDSHookPatientViewContext.encounterId",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "CDSHookPatientViewContext.encounterId"
},
"path": "CDSHookPatientViewContext.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"
} ]
},
"status": "draft",
"id": "00ed6272-de1f-42bc-ae5d-216b009a87cc",
"kind": "logical",
"url": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookPatientViewContext",
"version": "0.1.0",
"differential": {
"element": [ {
"id": "CDSHookPatientViewContext",
"path": "CDSHookPatientViewContext",
"short": "The context for the patient-view hook"
}, {
"id": "CDSHookPatientViewContext.userId",
"max": "1",
"min": 1,
"path": "CDSHookPatientViewContext.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": "CDSHookPatientViewContext.patientId",
"max": "1",
"min": 1,
"path": "CDSHookPatientViewContext.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": "CDSHookPatientViewContext.encounterId",
"max": "1",
"min": 0,
"path": "CDSHookPatientViewContext.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"
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://hl7.org/Special/committees/fhir-i",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/tools/StructureDefinition/CDSHookContext"
}