description: An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. package_name: ca.on.ehr.r4 derivation: constraint name: EncounterEHR type: Encounter elements: diagnosis: mustSupport: true index: 28 elements: condition: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-condition'] index: 29 elements: reference: {mustSupport: true, index: 30} use: {type: CodeableConcept, mustSupport: true, index: 31} reasonCode: type: CodeableConcept mustSupport: true index: 26 elements: coding: {index: 27} type: type: CodeableConcept binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/local-PV1-4values'} mustSupport: true index: 10 elements: coding: {index: 11} required: [coding] participant: mustSupport: true index: 17 elements: type: type: CodeableConcept binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-encounter-participant-type'} mustSupport: true index: 18 elements: coding: {index: 19} required: [coding] individual: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner'] index: 20 elements: reference: {mustSupport: true, index: 21} required: [reference] required: [individual, type] serviceType: type: CodeableConcept binding: {strength: extensible, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-hospital-service'} mustSupport: true index: 12 priority: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/canadiantriageacuityscale'} mustSupport: true index: 13 elements: coding: {index: 14} required: [coding] status: {mustSupport: true, index: 8} class: type: Coding binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/encounter-class'} mustSupport: true index: 9 length: {mustSupport: true, index: 25} identifier: mustSupport: true index: 0 elements: type: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'} mustSupport: true index: 1 elements: coding: mustSupport: true index: 2 elements: system: {mustSupport: true, index: 3} code: {mustSupport: true, index: 4} display: {mustSupport: true, index: 5} required: [display, system, code] required: [coding] system: {mustSupport: true, index: 6} value: {mustSupport: true, index: 7} required: [value, type, system] hospitalization: mustSupport: true index: 32 elements: admitSource: type: CodeableConcept binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-admit-source'} mustSupport: true index: 33 elements: coding: index: 34 elements: system: pattern: {type: Uri, value: 'http://cihi.ca/fhir/CodeSystem/aac-admit-source'} index: 35 required: [coding] dischargeDisposition: type: CodeableConcept binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-discharge-disposition'} mustSupport: true index: 36 period: mustSupport: true index: 22 elements: start: {mustSupport: true, index: 23} end: {mustSupport: true, index: 24} location: mustSupport: true index: 37 elements: location: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-location'] index: 38 elements: reference: {mustSupport: true, index: 39} display: mustSupport: true index: 40 extensions: bed-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-encounter-bed-type', min: 0, max: 1, type: Extension, mustSupport: true, index: 42} elements: extension: index: 41 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: bed-type: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-encounter-bed-type', index: 42} min: 0 max: 1 required: [reference] status: {mustSupport: true, index: 43} physicalType: type: CodeableConcept mustSupport: true index: 44 elements: coding: {index: 45} required: [coding] required: [physicalType] subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient'] index: 15 elements: reference: {mustSupport: true, index: 16} required: [reference] package_version: 1.0.0-snapshot4 class: profile kind: resource url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter base: http://hl7.org/fhir/StructureDefinition/Encounter version: 1.0.0 required: [identifier, subject]