description: null package_name: accdr.fhir.ig.pkg derivation: constraint name: CDREncounter type: Encounter elements: diagnosis: mustSupport: true index: 48 elements: condition: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Condition'] index: 49 elements: reference: {mustSupport: true, index: 50} display: {index: 51} use: {mustSupport: true, index: 52} 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] required: [coding] 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: 53 elements: admitSource: binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-admit-source'} mustSupport: true index: 54 elements: coding: mustSupport: true index: 55 elements: system: pattern: {type: Uri, value: 'http://cihi.ca/fhir/CodeSystem/aac-admit-source'} mustSupport: true index: 56 code: {mustSupport: true, index: 57} display: {mustSupport: true, index: 58} required: [display, system, code] required: [coding] dischargeDisposition: binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-discharge-disposition'} mustSupport: true index: 59 elements: coding: index: 60 elements: system: pattern: {type: Uri, value: 'http://cihi.ca/fhir/CodeSystem/aac-discharge-disposition'} index: 61 code: {index: 62} display: {index: 63} 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: 64 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: 65 elements: location: mustSupport: true index: 66 elements: display: {mustSupport: true, index: 67} required: [display] status: {mustSupport: true, index: 68} physicalType: mustSupport: true index: 69 elements: coding: mustSupport: true index: 70 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: 71 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 72 code: pattern: {type: Code, value: bd} mustSupport: true index: 73 display: pattern: {type: String, value: Bed} mustSupport: true index: 74 required: [display, system, code] slice-bed-type: match: {} schema: binding: {strength: required, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-bed-type'} mustSupport: true index: 75 elements: system: pattern: {type: Uri, value: 'http://cihi.ca/fhir/CodeSystem/aac-bed-type'} mustSupport: true index: 76 code: {mustSupport: true, index: 77} display: {mustSupport: true, index: 78} required: [display, system, code] required: [coding] required: [physicalType] slice-location-room: match: physicalType: coding: {code: ro} schema: mustSupport: true index: 79 elements: location: mustSupport: true index: 80 elements: display: {mustSupport: true, index: 81} required: [display] status: {mustSupport: true, index: 82} physicalType: mustSupport: true index: 83 elements: coding: mustSupport: true index: 84 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 85 code: pattern: {type: Code, value: ro} mustSupport: true index: 86 display: pattern: {type: String, value: Room} mustSupport: true index: 87 required: [display, system, code] required: [coding] required: [physicalType] slice-location-facility: match: physicalType: coding: {code: si} schema: mustSupport: true index: 88 elements: location: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Location'] index: 89 elements: reference: {mustSupport: true, index: 90} required: [reference] status: {mustSupport: true, index: 91} physicalType: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type'} mustSupport: true index: 92 elements: coding: mustSupport: true index: 93 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 94 code: pattern: {type: Code, value: si} mustSupport: true index: 95 display: {mustSupport: true, index: 96} required: [display, system, code] required: [coding] required: [physicalType] slice-location-building: match: physicalType: coding: {code: bu} schema: mustSupport: true index: 97 elements: location: mustSupport: true index: 98 elements: display: {mustSupport: true, index: 99} required: [display] status: {mustSupport: true, index: 100} physicalType: mustSupport: true index: 101 elements: coding: mustSupport: true index: 102 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 103 code: pattern: {type: Code, value: bu} mustSupport: true index: 104 display: pattern: {type: String, value: Building} mustSupport: true index: 105 required: [display, system, code] required: [coding] required: [physicalType] slice-location-floor: match: physicalType: coding: {code: lvl} schema: mustSupport: true index: 106 elements: location: mustSupport: true index: 107 elements: display: {mustSupport: true, index: 108} required: [display] status: {mustSupport: true, index: 109} physicalType: mustSupport: true index: 110 elements: coding: mustSupport: true index: 111 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 112 code: pattern: {type: Code, value: lvl} mustSupport: true index: 113 display: pattern: {type: String, value: Level} mustSupport: true index: 114 required: [display, system, code] required: [coding] required: [physicalType] slice-location-point-of-care: match: physicalType: coding: {code: wi} schema: mustSupport: true index: 115 elements: location: mustSupport: true index: 116 elements: display: {mustSupport: true, index: 117} required: [display] status: {mustSupport: true, index: 118} physicalType: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type'} mustSupport: true index: 119 elements: coding: mustSupport: true index: 120 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} mustSupport: true index: 121 code: pattern: {type: Code, value: wi} mustSupport: true index: 122 display: {mustSupport: true, index: 123} required: [display, system, code] required: [coding] required: [physicalType] slice-location-description: match: physicalType: coding: {code: Id} schema: mustSupport: true index: 124 elements: location: mustSupport: true index: 125 elements: display: {mustSupport: true, index: 126} required: [display] status: {mustSupport: true, index: 127} physicalType: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/acCDR-location-physical-type'} mustSupport: true index: 128 elements: coding: mustSupport: true index: 129 elements: system: pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/accdr-bed-desc-code'} index: 130 code: pattern: {type: Code, value: Id} mustSupport: true index: 131 display: pattern: {type: String, value: location or bed description} mustSupport: true index: 132 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.9 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]