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