{ "description": null, "_filename": "Encounter.json", "package_name": "ca.on.dhdr.r4.v4", "date": "2023-04-17T14:49:02.7032158+00:00", "derivation": "constraint", "meta": { "lastUpdated": "2023-09-19T19:28:21.1802421+00:00" }, "publisher": null, "fhirVersion": "4.0.1", "name": "Encounter", "mapping": [ { "uri": "http://ehealthontario.ca", "identity": "cdr-v2-data-in" }, { "name": "Virtual Visit Mapping", "identity": "virtual-visit" } ], "abstract": false, "type": "Encounter", "experimental": null, "resourceType": "StructureDefinition", "title": "Encounter", "package_version": "0.0.5-beta", "status": "draft", "id": "1e7e27b7-e97d-4d3f-b197-b35d82d2e535", "kind": "resource", "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Encounter", "version": "4.0.1", "differential": { "element": [ { "id": "Encounter.meta", "min": 1, "path": "Encounter.meta", "mustSupport": true }, { "id": "Encounter.meta.profile", "min": 1, "path": "Encounter.meta.profile", "mustSupport": true }, { "id": "Encounter.identifier", "max": "1", "min": 1, "path": "Encounter.identifier", "mapping": [ { "map": "PV1.19 (visit number)", "identity": "cdr-v2-data-in" }, { "map": "Event ID", "comment": "Unique identifier for the Event to a single patient", "identity": "virtual-visit" } ], "mustSupport": true }, { "id": "Encounter.identifier.type", "min": 1, "path": "Encounter.identifier.type", "mustSupport": true }, { "id": "Encounter.identifier.type.coding", "max": "1", "min": 1, "path": "Encounter.identifier.type.coding", "mustSupport": true }, { "id": "Encounter.identifier.type.coding.system", "min": 1, "path": "Encounter.identifier.type.coding.system", "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203", "mustSupport": true }, { "id": "Encounter.identifier.type.coding.code", "min": 1, "path": "Encounter.identifier.type.coding.code", "fixedCode": "VN", "mustSupport": true }, { "id": "Encounter.identifier.type.coding.display", "min": 1, "path": "Encounter.identifier.type.coding.display", "fixedString": "Visit Number", "mustSupport": true }, { "id": "Encounter.identifier.system", "min": 1, "path": "Encounter.identifier.system", "comment": "Contains an OID in the urn format (urn:oid:xxxx)", "mapping": [ { "map": "PV1.19.4", "identity": "cdr-v2-data-in" } ], "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.\r\n\r\nIn this implementation, this will be the visit OID.", "mustSupport": true }, { "id": "Encounter.identifier.value", "min": 1, "path": "Encounter.identifier.value", "mapping": [ { "map": "PV1.19.1", "identity": "cdr-v2-data-in" } ], "mustSupport": true }, { "id": "Encounter.status", "path": "Encounter.status", "fixedCode": "in-progress", "mustSupport": true }, { "id": "Encounter.class", "path": "Encounter.class", "binding": { "strength": "required", "valueSet": "http://ontariohealth.ca/fhir/ValueSet/acCDR-encounter-class" }, "mapping": [ { "map": "PV1.2", "identity": "cdr-v2-data-in" }, { "map": "Modality", "comment": "Primary modality or channel of the virtual care event as either Video, Secure Messaging, or both", "identity": "virtual-visit" } ], "constraint": [ { "key": "elem-2", "human": "Virtual Encounter class must have modality value", "severity": "error" } ], "mustSupport": true }, { "id": "Encounter.type", "max": "1", "path": "Encounter.type", "mapping": [ { "map": "PV1.4", "identity": "cdr-v2-data-in" }, { "map": "Event Type", "comment": "Describes the nature of the communication between participants", "identity": "virtual-visit" } ], "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Encounter.type:slice-local-Encounter-Type", "max": "1", "path": "Encounter.type", "binding": { "strength": "required", "valueSet": "http://ontariohealth.ca/fhir/ValueSet/local-PV1-4values" }, "sliceName": "slice-local-Encounter-Type", "mustSupport": true }, { "id": "Encounter.type:slice-local-Encounter-Type.coding", "max": "1", "min": 1, "path": "Encounter.type.coding", "mustSupport": true }, { "id": "Encounter.type:slice-local-Encounter-Type.coding.system", "min": 1, "path": "Encounter.type.coding.system", "mustSupport": true }, { "id": "Encounter.type:slice-local-Encounter-Type.coding.code", "min": 1, "path": "Encounter.type.coding.code", "mustSupport": true }, { "id": "Encounter.type:slice-local-Encounter-Type.coding.display", "min": 1, "path": "Encounter.type.coding.display", "mustSupport": true }, { "id": "Encounter.type:slice-virtual-visit-modality", "max": "1", "path": "Encounter.type", "binding": { "strength": "required", "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/encountertypecode", "description": "A description of the type of contact between the Provider and the Client for a registered Encounter or visit." }, "sliceName": "slice-virtual-visit-modality", "mustSupport": true }, { "id": "Encounter.type:slice-virtual-visit-modality.coding", "max": "1", "min": 1, "path": "Encounter.type.coding", "mustSupport": true }, { "id": "Encounter.type:slice-virtual-visit-modality.coding.system", "min": 1, "path": "Encounter.type.coding.system", "mustSupport": true }, { "id": "Encounter.type:slice-virtual-visit-modality.coding.code", "min": 1, "path": "Encounter.type.coding.code", "mustSupport": true }, { "id": "Encounter.type:slice-virtual-visit-modality.coding.display", "min": 1, "path": "Encounter.type.coding.display", "mustSupport": true }, { "id": "Encounter.serviceType", "path": "Encounter.serviceType", "binding": { "strength": "required", "valueSet": "http://cihi.ca/fhir/ValueSet/aac-hospital-service", "description": "description of the Hospital Service" }, "comment": "If hospitals send MOH defined codes, those codes will be returned in coding. If hospitals only support free text, only text field will be returned.", "mapping": [ { "map": "PV1.10", "comment": "coding will be mapped to MOH codes in v2.6. Pre 2.6 will only support text", "identity": "cdr-v2-data-in" } ], "mustSupport": true }, { "id": "Encounter.serviceType.coding", "path": "Encounter.serviceType.coding", "mustSupport": true }, { "id": "Encounter.serviceType.coding.system", "min": 1, "path": "Encounter.serviceType.coding.system", "mustSupport": true }, { "id": "Encounter.serviceType.coding.code", "min": 1, "path": "Encounter.serviceType.coding.code", "mustSupport": true }, { "id": "Encounter.serviceType.coding.display", "min": 1, "path": "Encounter.serviceType.coding.display", "mustSupport": true }, { "id": "Encounter.serviceType.text", "path": "Encounter.serviceType.text", "mustSupport": true }, { "id": "Encounter.priority", "path": "Encounter.priority", "binding": { "strength": "required", "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/canadiantriageacuityscale" }, "mustSupport": true }, { "id": "Encounter.priority.coding", "max": "1", "min": 1, "path": "Encounter.priority.coding", "mustSupport": true }, { "id": "Encounter.priority.coding.system", "min": 1, "path": "Encounter.priority.coding.system", "fixedUri": "http://ctas-phctas.ca/CodeSystem/canadian-triage-acuity-scale", "mustSupport": true }, { "id": "Encounter.priority.coding.code", "min": 1, "path": "Encounter.priority.coding.code", "mustSupport": true }, { "id": "Encounter.priority.coding.display", "min": 1, "path": "Encounter.priority.coding.display", "mustSupport": true }, { "id": "Encounter.subject", "min": 1, "path": "Encounter.subject", "type": [ { "code": "Reference", "targetProfile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient" ] } ], "mustSupport": true }, { "id": "Encounter.subject.reference", "min": 1, "path": "Encounter.subject.reference", "mustSupport": true }, { "id": "Encounter.participant", "path": "Encounter.participant", "mustSupport": true }, { "id": "Encounter.participant.type", "max": "1", "min": 1, "path": "Encounter.participant.type", "binding": { "strength": "required", "valueSet": "http://ontariohealth.ca/fhir/ValueSet/acCDR-encounter-participant-type" }, "definition": "Role of participant in encounter. For virtual visit encounter, use type \"ATND\" (attender) to indicate Host Practitioner", "mustSupport": true }, { "id": "Encounter.participant.type.coding", "max": "1", "min": 1, "path": "Encounter.participant.type.coding", "mustSupport": true }, { "id": "Encounter.participant.type.coding.system", "min": 1, "path": "Encounter.participant.type.coding.system", "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", "mustSupport": true }, { "id": "Encounter.participant.type.coding.code", "min": 1, "path": "Encounter.participant.type.coding.code", "mustSupport": true }, { "id": "Encounter.participant.type.coding.display", "min": 1, "path": "Encounter.participant.type.coding.display", "mustSupport": true }, { "id": "Encounter.participant.individual", "min": 1, "path": "Encounter.participant.individual", "type": [ { "code": "Reference", "targetProfile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner" ] } ], "mustSupport": true }, { "id": "Encounter.participant.individual.reference", "min": 1, "path": "Encounter.participant.individual.reference", "mustSupport": true }, { "id": "Encounter.period", "path": "Encounter.period", "mustSupport": true }, { "id": "Encounter.period.start", "path": "Encounter.period.start", "mapping": [ { "map": "PV1.44", "identity": "cdr-v2-data-in" } ], "mustSupport": true }, { "id": "Encounter.period.end", "path": "Encounter.period.end", "mapping": [ { "map": "PV1.45", "identity": "cdr-v2-data-in" } ], "mustSupport": true }, { "id": "Encounter.hospitalization", "path": "Encounter.hospitalization", "mustSupport": true }, { "id": "Encounter.hospitalization.admitSource", "path": "Encounter.hospitalization.admitSource", "binding": { "strength": "required", "valueSet": "http://cihi.ca/fhir/ValueSet/aac-admit-source", "description": "indicates the last point of entry prior to being admitted as an inpatient to the reporting facility" }, "mapping": [ { "map": "PV1.14", "comment": "Only supported post 2.6", "identity": "cdr-v2-data-in" } ], "mustSupport": true }, { "id": "Encounter.hospitalization.admitSource.coding", "max": "1", "min": 1, "path": "Encounter.hospitalization.admitSource.coding", "mustSupport": true }, { "id": "Encounter.hospitalization.admitSource.coding.system", "min": 1, "path": "Encounter.hospitalization.admitSource.coding.system", "fixedUri": "http://cihi.ca/fhir/CodeSystem/aac-admit-source", "mustSupport": true }, { "id": "Encounter.hospitalization.admitSource.coding.code", "min": 1, "path": "Encounter.hospitalization.admitSource.coding.code", "mustSupport": true }, { "id": "Encounter.hospitalization.admitSource.coding.display", "min": 1, "path": "Encounter.hospitalization.admitSource.coding.display", "mustSupport": true }, { "id": "Encounter.hospitalization.dischargeDisposition", "path": "Encounter.hospitalization.dischargeDisposition", "binding": { "strength": "required", "valueSet": "http://cihi.ca/fhir/ValueSet/aac-discharge-disposition", "description": "disposition of the patient at time of discharge (i.e., discharged to home, expired, etc.)." }, "mustSupport": true }, { "id": "Encounter.hospitalization.dischargeDisposition.coding", "max": "1", "min": 1, "path": "Encounter.hospitalization.dischargeDisposition.coding", "mapping": [ { "map": "PV1.36", "comment": "This field is added in v2.6", "identity": "cdr-v2-data-in" } ] }, { "id": "Encounter.hospitalization.dischargeDisposition.coding.system", "min": 1, "path": "Encounter.hospitalization.dischargeDisposition.coding.system", "fixedUri": "http://cihi.ca/fhir/CodeSystem/aac-discharge-disposition" }, { "id": "Encounter.hospitalization.dischargeDisposition.coding.code", "min": 1, "path": "Encounter.hospitalization.dischargeDisposition.coding.code" }, { "id": "Encounter.hospitalization.dischargeDisposition.coding.display", "min": 1, "path": "Encounter.hospitalization.dischargeDisposition.coding.display" }, { "id": "Encounter.location", "path": "Encounter.location", "mapping": [ { "map": "PV1.3", "identity": "cdr-v2-data-in" } ], "slicing": { "rules": "open", "discriminator": [ { "path": "physicalType.coding.code", "type": "value" } ] }, "mustSupport": true }, { "id": "Encounter.location:slice-location-bed", "max": "1", "path": "Encounter.location", "sliceName": "slice-location-bed", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.location", "path": "Encounter.location.location", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.location.display", "min": 1, "path": "Encounter.location.location.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType", "min": 1, "path": "Encounter.location.physicalType", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding", "min": 1, "path": "Encounter.location.physicalType.coding", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding:slice-location-type-bed", "max": "1", "min": 1, "path": "Encounter.location.physicalType.coding", "binding": { "strength": "required", "valueSet": "http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type", "description": "The physical type of the location" }, "sliceName": "slice-location-type-bed", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding:slice-location-type-bed.system", "min": 1, "path": "Encounter.location.physicalType.coding.system", "fixedUri": "http://terminology.hl7.org/CodeSystem/location-physical-type", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding:slice-location-type-bed.code", "min": 1, "path": "Encounter.location.physicalType.coding.code", "fixedCode": "bd", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding:slice-location-type-bed.display", "min": 1, "path": "Encounter.location.physicalType.coding.display", "fixedString": "Bed", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding:slice-bed-type", "max": "1", "path": "Encounter.location.physicalType.coding", "binding": { "strength": "required", "valueSet": "http://cihi.ca/fhir/ValueSet/aac-bed-type", "description": "type of bed" }, "sliceName": "slice-bed-type", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding:slice-bed-type.system", "min": 1, "path": "Encounter.location.physicalType.coding.system", "fixedUri": "http://cihi.ca/fhir/CodeSystem/aac-bed-type", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding:slice-bed-type.code", "min": 1, "path": "Encounter.location.physicalType.coding.code", "mustSupport": true }, { "id": "Encounter.location:slice-location-bed.physicalType.coding:slice-bed-type.display", "min": 1, "path": "Encounter.location.physicalType.coding.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-room", "max": "1", "path": "Encounter.location", "sliceName": "slice-location-room", "mustSupport": true }, { "id": "Encounter.location:slice-location-room.location", "path": "Encounter.location.location", "mustSupport": true }, { "id": "Encounter.location:slice-location-room.location.display", "min": 1, "path": "Encounter.location.location.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-room.physicalType", "min": 1, "path": "Encounter.location.physicalType", "binding": { "strength": "required" }, "mustSupport": true }, { "id": "Encounter.location:slice-location-room.physicalType.coding", "max": "1", "min": 1, "path": "Encounter.location.physicalType.coding", "mustSupport": true }, { "id": "Encounter.location:slice-location-room.physicalType.coding.system", "min": 1, "path": "Encounter.location.physicalType.coding.system", "fixedUri": "http://terminology.hl7.org/CodeSystem/location-physical-type", "mustSupport": true }, { "id": "Encounter.location:slice-location-room.physicalType.coding.code", "min": 1, "path": "Encounter.location.physicalType.coding.code", "fixedCode": "ro", "mustSupport": true }, { "id": "Encounter.location:slice-location-room.physicalType.coding.display", "min": 1, "path": "Encounter.location.physicalType.coding.display", "fixedString": "Room", "mustSupport": true }, { "id": "Encounter.location:slice-location-facility", "max": "1", "min": 1, "path": "Encounter.location", "sliceName": "slice-location-facility", "mustSupport": true }, { "id": "Encounter.location:slice-location-facility.location", "path": "Encounter.location.location", "type": [ { "code": "Reference", "targetProfile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Location" ] } ], "mustSupport": true }, { "id": "Encounter.location:slice-location-facility.location.reference", "min": 1, "path": "Encounter.location.location.reference", "mustSupport": true }, { "id": "Encounter.location:slice-location-facility.physicalType", "min": 1, "path": "Encounter.location.physicalType", "binding": { "strength": "required", "valueSet": "http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type" }, "mustSupport": true }, { "id": "Encounter.location:slice-location-facility.physicalType.coding", "max": "1", "min": 1, "path": "Encounter.location.physicalType.coding", "mustSupport": true }, { "id": "Encounter.location:slice-location-facility.physicalType.coding.system", "min": 1, "path": "Encounter.location.physicalType.coding.system", "fixedUri": "http://terminology.hl7.org/CodeSystem/location-physical-type", "mustSupport": true }, { "id": "Encounter.location:slice-location-facility.physicalType.coding.code", "min": 1, "path": "Encounter.location.physicalType.coding.code", "fixedCode": "si", "mustSupport": true }, { "id": "Encounter.location:slice-location-facility.physicalType.coding.display", "min": 1, "path": "Encounter.location.physicalType.coding.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-building", "max": "1", "path": "Encounter.location", "sliceName": "slice-location-building", "mustSupport": true }, { "id": "Encounter.location:slice-location-building.location", "path": "Encounter.location.location", "mustSupport": true }, { "id": "Encounter.location:slice-location-building.location.display", "min": 1, "path": "Encounter.location.location.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-building.physicalType", "min": 1, "path": "Encounter.location.physicalType", "binding": { "strength": "required" }, "mustSupport": true }, { "id": "Encounter.location:slice-location-building.physicalType.coding", "max": "1", "min": 1, "path": "Encounter.location.physicalType.coding", "mustSupport": true }, { "id": "Encounter.location:slice-location-building.physicalType.coding.system", "min": 1, "path": "Encounter.location.physicalType.coding.system", "fixedUri": "http://terminology.hl7.org/CodeSystem/location-physical-type", "mustSupport": true }, { "id": "Encounter.location:slice-location-building.physicalType.coding.code", "min": 1, "path": "Encounter.location.physicalType.coding.code", "fixedCode": "bu", "mustSupport": true }, { "id": "Encounter.location:slice-location-building.physicalType.coding.display", "min": 1, "path": "Encounter.location.physicalType.coding.display", "fixedString": "Building", "mustSupport": true }, { "id": "Encounter.location:slice-location-floor", "max": "1", "path": "Encounter.location", "sliceName": "slice-location-floor", "mustSupport": true }, { "id": "Encounter.location:slice-location-floor.location", "path": "Encounter.location.location", "mustSupport": true }, { "id": "Encounter.location:slice-location-floor.location.display", "min": 1, "path": "Encounter.location.location.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-floor.physicalType", "min": 1, "path": "Encounter.location.physicalType", "binding": { "strength": "required" }, "mustSupport": true }, { "id": "Encounter.location:slice-location-floor.physicalType.coding", "max": "1", "min": 1, "path": "Encounter.location.physicalType.coding", "mustSupport": true }, { "id": "Encounter.location:slice-location-floor.physicalType.coding.system", "min": 1, "path": "Encounter.location.physicalType.coding.system", "fixedUri": "http://cihi.ca/fhir/CodeSystem/aac-discharge-disposition", "mustSupport": true }, { "id": "Encounter.location:slice-location-floor.physicalType.coding.code", "min": 1, "path": "Encounter.location.physicalType.coding.code", "fixedCode": "lvl", "mustSupport": true }, { "id": "Encounter.location:slice-location-floor.physicalType.coding.display", "min": 1, "path": "Encounter.location.physicalType.coding.display", "fixedString": "Level", "mustSupport": true }, { "id": "Encounter.location:slice-location-point-of-care", "max": "1", "path": "Encounter.location", "sliceName": "slice-location-point-of-care", "mustSupport": true }, { "id": "Encounter.location:slice-location-point-of-care.location", "path": "Encounter.location.location", "mustSupport": true }, { "id": "Encounter.location:slice-location-point-of-care.location.display", "min": 1, "path": "Encounter.location.location.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-point-of-care.physicalType", "min": 1, "path": "Encounter.location.physicalType", "binding": { "strength": "required", "valueSet": "http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type" }, "mustSupport": true }, { "id": "Encounter.location:slice-location-point-of-care.physicalType.coding", "max": "1", "min": 1, "path": "Encounter.location.physicalType.coding", "mustSupport": true }, { "id": "Encounter.location:slice-location-point-of-care.physicalType.coding.system", "min": 1, "path": "Encounter.location.physicalType.coding.system", "fixedUri": "http://terminology.hl7.org/CodeSystem/location-physical-type", "mustSupport": true }, { "id": "Encounter.location:slice-location-point-of-care.physicalType.coding.code", "min": 1, "path": "Encounter.location.physicalType.coding.code", "fixedCode": "wi", "mustSupport": true }, { "id": "Encounter.location:slice-location-point-of-care.physicalType.coding.display", "min": 1, "path": "Encounter.location.physicalType.coding.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-description", "max": "1", "path": "Encounter.location", "sliceName": "slice-location-description", "mustSupport": true }, { "id": "Encounter.location:slice-location-description.location", "path": "Encounter.location.location", "mustSupport": true }, { "id": "Encounter.location:slice-location-description.location.display", "min": 1, "path": "Encounter.location.location.display", "mustSupport": true }, { "id": "Encounter.location:slice-location-description.physicalType", "min": 1, "path": "Encounter.location.physicalType", "binding": { "strength": "required", "valueSet": "http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type" }, "mustSupport": true }, { "id": "Encounter.location:slice-location-description.physicalType.coding", "max": "1", "min": 1, "path": "Encounter.location.physicalType.coding", "mustSupport": true }, { "id": "Encounter.location:slice-location-description.physicalType.coding.system", "min": 1, "path": "Encounter.location.physicalType.coding.system", "fixedUri": "http://ontariohealth.ca/fhir/CodeSystem/accdr-bed-desc-code" }, { "id": "Encounter.location:slice-location-description.physicalType.coding.code", "min": 1, "path": "Encounter.location.physicalType.coding.code", "fixedCode": "Id", "mustSupport": true }, { "id": "Encounter.location:slice-location-description.physicalType.coding.display", "min": 1, "path": "Encounter.location.physicalType.coding.display", "fixedString": "location or bed description", "mustSupport": true } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter" }