Profiles & Operations Index > Profile: Encounter

Profile: Encounter

Simplifier project page: Encounter

Derived from: Encounter (R4)

Canonical_URLProfile_StatusProfile_VersionFHIR_Version
http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Encounteractive4.0.14.0.1

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work

Differential View

idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileS Σ1..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
useΣ ?!0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
statusS Σ ?!1..1codeBindingFixed Value
status1..1codeBinding
periodI1..1Period
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
class1..1CodingBinding
periodI1..1Period
systemS Σ1..1uriBinding
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textS Σ0..1string
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
episodeOfCareΣ I0..*Reference(EpisodeOfCare)
basedOnI0..*Reference(ServiceRequest)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
appointmentΣ I0..*Reference(Appointment)
startS Σ I0..1dateTime
endS Σ I0..1dateTime
lengthI0..1Duration
reasonCodeΣ0..*CodeableConceptBinding
reasonReferenceΣ I0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)
conditionΣ I1..1Reference(Condition | Procedure)
use0..1CodeableConceptBinding
rank0..1positiveInt
accountI0..*Reference(Account)
preAdmissionIdentifier0..1Identifier
originI0..1Reference(Location | Organization)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
reAdmission0..1CodeableConcept
dietPreference0..*CodeableConcept
specialCourtesy0..*CodeableConceptBinding
specialArrangement0..*CodeableConceptBinding
destinationI0..1Reference(Location | Organization)
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
locationI1..1Reference(Location)
status0..1codeBinding
physicalType0..1CodeableConcept
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemΣ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
serviceProviderI0..1Reference(Organization)
partOfI0..1Reference(Encounter)

Hybrid View

idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileS Σ1..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
useΣ ?!0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
statusS Σ ?!1..1codeBindingFixed Value
status1..1codeBinding
periodI1..1Period
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
class1..1CodingBinding
periodI1..1Period
systemS Σ1..1uriBinding
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textS Σ0..1string
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
episodeOfCareΣ I0..*Reference(EpisodeOfCare)
basedOnI0..*Reference(ServiceRequest)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
appointmentΣ I0..*Reference(Appointment)
startS Σ I0..1dateTime
endS Σ I0..1dateTime
lengthI0..1Duration
reasonCodeΣ0..*CodeableConceptBinding
reasonReferenceΣ I0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)
conditionΣ I1..1Reference(Condition | Procedure)
use0..1CodeableConceptBinding
rank0..1positiveInt
accountI0..*Reference(Account)
preAdmissionIdentifier0..1Identifier
originI0..1Reference(Location | Organization)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
reAdmission0..1CodeableConcept
dietPreference0..*CodeableConcept
specialCourtesy0..*CodeableConceptBinding
specialArrangement0..*CodeableConceptBinding
destinationI0..1Reference(Location | Organization)
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
locationI1..1Reference(Location)
status0..1codeBinding
physicalType0..1CodeableConcept
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemΣ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
serviceProviderI0..1Reference(Organization)
partOfI0..1Reference(Encounter)

Snapshot View

idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileS Σ1..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
useΣ ?!0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
statusS Σ ?!1..1codeBindingFixed Value
status1..1codeBinding
periodI1..1Period
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
class1..1CodingBinding
periodI1..1Period
systemS Σ1..1uriBinding
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textS Σ0..1string
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
episodeOfCareΣ I0..*Reference(EpisodeOfCare)
basedOnI0..*Reference(ServiceRequest)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
appointmentΣ I0..*Reference(Appointment)
startS Σ I0..1dateTime
endS Σ I0..1dateTime
lengthI0..1Duration
reasonCodeΣ0..*CodeableConceptBinding
reasonReferenceΣ I0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)
conditionΣ I1..1Reference(Condition | Procedure)
use0..1CodeableConceptBinding
rank0..1positiveInt
accountI0..*Reference(Account)
preAdmissionIdentifier0..1Identifier
originI0..1Reference(Location | Organization)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
reAdmission0..1CodeableConcept
dietPreference0..*CodeableConcept
specialCourtesy0..*CodeableConceptBinding
specialArrangement0..*CodeableConceptBinding
destinationI0..1Reference(Location | Organization)
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
locationI1..1Reference(Location)
status0..1codeBinding
physicalType0..1CodeableConcept
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
status0..1codeBinding
systemΣ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeFixed Value
displayS Σ1..1stringFixed Value
userSelectedΣ0..1boolean
textΣ0..1string
periodI0..1Period
serviceProviderI0..1Reference(Organization)
partOfI0..1Reference(Encounter)

Table View

Encounter..
Encounter.id..
Encounter.meta1..
Encounter.meta.profile1..
Encounter.identifier1..1
Encounter.identifier.type1..
Encounter.identifier.type.coding1..1
Encounter.identifier.type.coding.system1..
Encounter.identifier.type.coding.code1..
Encounter.identifier.type.coding.display1..
Encounter.identifier.system1..
Encounter.identifier.value1..
Encounter.status..
Encounter.class..
Encounter.class.system1..
Encounter.class.code1..
Encounter.class.display1..
Encounter.type..1
Encounter.type.coding1..
Encounter.type.coding.system1..
Encounter.type.coding.code1..
Encounter.type.coding.display1..
Encounter.serviceType..
Encounter.serviceType.coding..
Encounter.serviceType.coding.system1..
Encounter.serviceType.coding.code1..
Encounter.serviceType.coding.display1..
Encounter.serviceType.text..
Encounter.priority..
Encounter.priority.coding1..1
Encounter.priority.coding.system1..
Encounter.priority.coding.code1..
Encounter.priority.coding.display1..
Encounter.subjectReference(Patient | Patient (Submission))1..
Encounter.subject.reference1..
Encounter.participant..
Encounter.participant.type1..1
Encounter.participant.type.coding1..1
Encounter.participant.type.coding.system1..
Encounter.participant.type.coding.code1..
Encounter.participant.type.coding.display1..
Encounter.participant.individualReference(Practitioner | Practitioner (Submission))1..
Encounter.participant.individual.reference1..
Encounter.period..
Encounter.period.start..
Encounter.period.end..
Encounter.hospitalization..
Encounter.hospitalization.admitSource..
Encounter.hospitalization.admitSource.coding1..1
Encounter.hospitalization.admitSource.coding.system1..
Encounter.hospitalization.admitSource.coding.code1..
Encounter.hospitalization.admitSource.coding.display1..
Encounter.hospitalization.dischargeDisposition..
Encounter.hospitalization.dischargeDisposition.coding1..1
Encounter.hospitalization.dischargeDisposition.coding.system1..
Encounter.hospitalization.dischargeDisposition.coding.code1..
Encounter.hospitalization.dischargeDisposition.coding.display1..
Encounter.location..
Encounter.location..1
Encounter.location.location..
Encounter.location.location.display1..
Encounter.location.physicalType1..
Encounter.location.physicalType.coding1..
Encounter.location.physicalType.coding1..1
Encounter.location.physicalType.coding.system1..
Encounter.location.physicalType.coding.code1..
Encounter.location.physicalType.coding.display1..
Encounter.location.physicalType.coding..1
Encounter.location.physicalType.coding.system1..
Encounter.location.physicalType.coding.code1..
Encounter.location.physicalType.coding.display1..
Encounter.location..1
Encounter.location.location..
Encounter.location.location.display1..
Encounter.location.physicalType1..
Encounter.location.physicalType.coding1..1
Encounter.location.physicalType.coding.system1..
Encounter.location.physicalType.coding.code1..
Encounter.location.physicalType.coding.display1..
Encounter.location..1
Encounter.location.locationReference(Location)..
Encounter.location.location.reference1..
Encounter.location.physicalType1..
Encounter.location.physicalType.coding1..1
Encounter.location.physicalType.coding.system1..
Encounter.location.physicalType.coding.code1..
Encounter.location.physicalType.coding.display1..
Encounter.location..1
Encounter.location.location..
Encounter.location.location.display1..
Encounter.location.physicalType1..
Encounter.location.physicalType.coding1..1
Encounter.location.physicalType.coding.system1..
Encounter.location.physicalType.coding.code1..
Encounter.location.physicalType.coding.display1..
Encounter.location..1
Encounter.location.location..
Encounter.location.location.display1..
Encounter.location.physicalType1..
Encounter.location.physicalType.coding1..1
Encounter.location.physicalType.coding.system1..
Encounter.location.physicalType.coding.code1..
Encounter.location.physicalType.coding.display1..
Encounter.location..1
Encounter.location.location..
Encounter.location.location.display1..
Encounter.location.physicalType1..
Encounter.location.physicalType.coding1..1
Encounter.location.physicalType.coding.system1..
Encounter.location.physicalType.coding.code1..
Encounter.location.physicalType.coding.display1..
Encounter.location..1
Encounter.location.location..
Encounter.location.location.display1..
Encounter.location.physicalType1..
Encounter.location.physicalType.coding1..1
Encounter.location.physicalType.coding.system1..
Encounter.location.physicalType.coding.code1..
Encounter.location.physicalType.coding.display1..


JSON View

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

Usage

The Encounter resource captures information about a patient visit. This could be acute related or virtual visit. Some elements use different values for acute and virtual visits. Pelase see notes below.

Notes

.meta.profile

  • used to declare conformance to this profile
  • populate with a fixed value: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Encounter|4.0.1

.contained

  • if populated, this contains the resources referenced by the Encounter resource

.identifier

  • SHALL contain a visit number assigned by the source system. For hospital visits, this typically comes from hospital's HIS. For virtual visits, this will be the event ID generated by the source system.

.status

  • SHALL specify the status of the encounter (e.g "in-progress", "finished", "cancelled")

.type

  • May be present. If present, it specifies the visit type defined by local HIS.

.class

  • indicate the classification of the patient encounter
  • virtual visits SHALL use value "virtual"

.type

  • indicates the general type of the visit
  • for virtual visit, this captures the modalities defined by Infoway
  • for hospital visits, this contains the CIHI defined AAC category values

.serviceType

  • for inpatient visits, this captures the hospital service of the visit identified by MOH code
  • for virtual visits, this captures "therapeutic are of care/service" information defined by OTN

.subject

  • SHALL contains a reference to the patient resource

.participant

  • SHOULD contain the attending provider, admitting provider, and referring providers.
  • participant.type contains the code indicating the type of physician (attending, admitting). For virtual visit, use code "ATND" (attending) which represents the host
  • participant.individual contains the reference to the practitioner resource in the bundle

.period

  • SHOULD contain the start and end (if exists) of the visit. This applies for hospital and virtual visits.

Note: start and end fields SHALL use the same dateTime format (both with a timestamp or just dates).

.length

  • SHOULD contain the length of the visit. If present, will contain the value and unit.

.reasonCode

  • SHOULD contain the code or free text of the reason for the visit. If code exists, use code. If only free text is available, use "text" field.

.diagnosis.condition

  • SHOULD contain the diagnosis related to the visit. If a standardized code is available, the reference will contain an identifier for the code. If only free text is available, the reference display will contain the text value.

.hospitalization.admitSource

  • SHOULD contain the admit source information for inpatient visit. This element supports the CIHI admitSource values.

.hospitalization.dischargeDisposition

  • SHOULD contain the discharge disposition information, if applicable. This element supports the CIHI dischargeDisposition values.

.location

  • SHOULD contain the locations of the visit
  • if present, must at least support a location reference that identifies the hospital facility of the visit
  • in addition, There could be multiple locations associated identifying addtional information such as bed, room, floor. If they are available, they will be provided as "display" of the location reference with physicalType element populated.