description: null package_name: accdr.fhir.ig.pkg derivation: constraint name: CDREncounter type: Encounter elements: diagnosis: mustSupport: true index: 49 elements: condition: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Condition'] index: 50 elements: reference: {mustSupport: true, index: 51} display: {index: 52} use: {mustSupport: true, index: 53} meta: mustSupport: true index: 0 elements: profile: mustSupport: true pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Encounter'} index: 1 required: [profile] reasonCode: mustSupport: true index: 44 elements: coding: mustSupport: true index: 45 elements: code: {mustSupport: true, index: 46} display: {mustSupport: true, index: 47} required: [display, code] text: {mustSupport: true, index: 48} type: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/local-PV1-4values'} mustSupport: true index: 16 elements: coding: mustSupport: true index: 17 elements: system: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/local-PV1-4values'} mustSupport: true index: 18 code: {mustSupport: true, index: 19} display: {mustSupport: true, index: 20} required: [display, system, code] required: [coding] participant: mustSupport: true index: 33 elements: type: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-encounter-participant-type'} mustSupport: true index: 34 elements: coding: mustSupport: true index: 35 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} mustSupport: true index: 36 code: {mustSupport: true, index: 37} display: {mustSupport: true, index: 38} required: [display, system, code] required: [coding] individual: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Practitioner'] index: 39 elements: reference: {mustSupport: true, index: 40} required: [reference] required: [individual, type] serviceType: binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-hospital-service'} mustSupport: true index: 21 elements: coding: mustSupport: true index: 22 elements: system: {mustSupport: true, index: 23} code: {mustSupport: true, index: 24} display: {mustSupport: true, index: 25} required: [display, system, code] text: {mustSupport: true, index: 26} contained: {mustSupport: true, index: 2} priority: binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/canadiantriageacuityscale'} mustSupport: true index: 27 elements: coding: mustSupport: true index: 28 elements: system: pattern: {type: Uri, value: 'http://ctas-phctas.ca/CodeSystem/canadian-triage-acuity-scale'} mustSupport: true index: 29 code: {mustSupport: true, index: 30} display: {mustSupport: true, index: 31} required: [display, system, code] required: [coding] status: {mustSupport: true, index: 11} class: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-encounter-class'} mustSupport: true index: 12 elements: system: {mustSupport: true, index: 13} code: {mustSupport: true, index: 14} display: {mustSupport: true, index: 15} required: [display, system, code] identifier: mustSupport: true index: 3 elements: type: mustSupport: true index: 4 elements: coding: mustSupport: true index: 5 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'} mustSupport: true index: 6 code: pattern: {type: Code, value: VN} mustSupport: true index: 7 display: {mustSupport: true, index: 8} required: [display, system, code] required: [coding] system: {mustSupport: true, index: 9} value: {mustSupport: true, index: 10} required: [value, type, system] hospitalization: mustSupport: true index: 54 elements: admitSource: binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-admit-source'} mustSupport: true index: 55 elements: coding: mustSupport: true index: 56 elements: system: pattern: {type: Uri, value: 'http://cihi.ca/fhir/CodeSystem/aac-admit-source'} mustSupport: true index: 57 code: {mustSupport: true, index: 58} display: {mustSupport: true, index: 59} required: [display, system, code] required: [coding] dischargeDisposition: binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-discharge-disposition'} mustSupport: true index: 60 elements: coding: index: 61 elements: system: pattern: {type: Uri, value: 'http://cihi.ca/fhir/CodeSystem/aac-discharge-disposition'} index: 62 code: {index: 63} display: {index: 64} required: [display, system, code] required: [coding] period: mustSupport: true index: 41 elements: start: {mustSupport: true, index: 42} end: {mustSupport: true, index: 43} location: mustSupport: true index: 65 slicing: rules: open discriminator: - {path: physicalType.coding.code, type: value} min: null slices: slice-location-bed: match: physicalType: coding: {code: null} schema: mustSupport: true index: 66 elements: location: mustSupport: true index: 67 elements: display: {mustSupport: true, index: 68} required: [display] status: {mustSupport: true, index: 69} physicalType: mustSupport: true index: 70 elements: coding: mustSupport: true index: 71 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: slice-location-type-bed: match: {} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type'} mustSupport: true _required: true index: 72 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 73 code: pattern: {type: Code, value: bd} mustSupport: true index: 74 display: pattern: {type: String, value: Bed} mustSupport: true index: 75 required: [display, system, code] slice-bed-type: match: {} schema: binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-bed-type'} mustSupport: true index: 76 elements: system: pattern: {type: Uri, value: 'http://cihi.ca/fhir/CodeSystem/aac-bed-type'} mustSupport: true index: 77 code: {mustSupport: true, index: 78} display: {mustSupport: true, index: 79} required: [display, system, code] required: [coding] required: [physicalType] slice-location-room: match: physicalType: coding: {code: ro} schema: mustSupport: true index: 80 elements: location: mustSupport: true index: 81 elements: display: {mustSupport: true, index: 82} required: [display] status: {mustSupport: true, index: 83} physicalType: mustSupport: true index: 84 elements: coding: mustSupport: true index: 85 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 86 code: pattern: {type: Code, value: ro} mustSupport: true index: 87 display: pattern: {type: String, value: Room} mustSupport: true index: 88 required: [display, system, code] required: [coding] required: [physicalType] slice-location-facility: match: physicalType: coding: {code: si} schema: mustSupport: true index: 89 elements: location: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Location'] index: 90 elements: reference: {mustSupport: true, index: 91} required: [reference] status: {mustSupport: true, index: 92} physicalType: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type'} mustSupport: true index: 93 elements: coding: mustSupport: true index: 94 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 95 code: pattern: {type: Code, value: si} mustSupport: true index: 96 display: {mustSupport: true, index: 97} required: [display, system, code] required: [coding] required: [physicalType] slice-location-building: match: physicalType: coding: {code: bu} schema: mustSupport: true index: 98 elements: location: mustSupport: true index: 99 elements: display: {mustSupport: true, index: 100} required: [display] status: {mustSupport: true, index: 101} physicalType: mustSupport: true index: 102 elements: coding: mustSupport: true index: 103 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 104 code: pattern: {type: Code, value: bu} mustSupport: true index: 105 display: pattern: {type: String, value: Building} mustSupport: true index: 106 required: [display, system, code] required: [coding] required: [physicalType] slice-location-floor: match: physicalType: coding: {code: lvl} schema: mustSupport: true index: 107 elements: location: mustSupport: true index: 108 elements: display: {mustSupport: true, index: 109} required: [display] status: {mustSupport: true, index: 110} physicalType: mustSupport: true index: 111 elements: coding: mustSupport: true index: 112 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 113 code: pattern: {type: Code, value: lvl} mustSupport: true index: 114 display: pattern: {type: String, value: Level} mustSupport: true index: 115 required: [display, system, code] required: [coding] required: [physicalType] slice-location-point-of-care: match: physicalType: coding: {code: wi} schema: mustSupport: true index: 116 elements: location: mustSupport: true index: 117 elements: display: {mustSupport: true, index: 118} required: [display] status: {mustSupport: true, index: 119} physicalType: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type'} mustSupport: true index: 120 elements: coding: mustSupport: true index: 121 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 122 code: pattern: {type: Code, value: wi} mustSupport: true index: 123 display: {mustSupport: true, index: 124} required: [display, system, code] required: [coding] required: [physicalType] slice-location-description: match: physicalType: coding: {code: Id} schema: mustSupport: true index: 125 elements: location: mustSupport: true index: 126 elements: display: {mustSupport: true, index: 127} required: [display] status: {mustSupport: true, index: 128} physicalType: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type'} mustSupport: true index: 129 elements: coding: mustSupport: true index: 130 elements: system: pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/accdr-bed-desc-code'} index: 131 code: pattern: {type: Code, value: Id} mustSupport: true index: 132 display: pattern: {type: String, value: location or bed description} mustSupport: true index: 133 required: [display, system, code] required: [coding] required: [physicalType] subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Patient'] index: 32 package_version: 0.9.0-alpha-0.9.14 class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Encounter base: http://hl7.org/fhir/StructureDefinition/Encounter version: null required: [identifier, subject, meta]