description: This resource represents a department movement during an encounter, starting with the first location. package_name: laniado.test.fhir.r4 derivation: constraint name: EncounterDepartment type: Encounter elements: identifier: index: 0 elements: system: {index: 1} value: {short: The value that is unique within the system., index: 2} required: [value, system] slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: department: match: {system: 'http://fhir.laniado.org.il/Identifier/encounter-department'} schema: short: Department transitions ID mustSupport: true _required: true index: 3 elements: system: pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/encounter-department'} index: 4 value: short: A Department transitions ID constraint: enc-dep-id: {human: The department transitions id must meet the specified requirements, source: 'http://fhir.laniado.org.il/StructureDefinition/encounter-department', severity: error, expression: 'matches(''^20[0-9]{8}-[0-9]{8}-[0-9]{6}$'')'} index: 5 assigner: elements: reference: pattern: {type: String, value: Organization/01604} index: 6 identifier: index: 7 elements: system: pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'} index: 8 value: pattern: {type: String, value: '01604'} index: 9 display: pattern: {type: String, value: בית חולים לניאדו} index: 10 required: [identifier] subject: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient'] index: 11 diagnosis: elements: condition: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-condition'] index: 12 use: elements: coding: index: 13 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: sugRec: match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-sug-rec'} schema: binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/k-sug-rec'} index: 14 elements: system: pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-sug-rec'} index: 15 required: [system] role: match: {system: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} schema: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/diagnosis-role'} index: 16 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} index: 17 required: [system] rank: {index: 18} required: [rank] location: elements: location: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-location'] index: 19 physicalType: elements: coding: index: 20 slicing: rules: open discriminator: - {path: code, type: value} min: null slices: dep: match: {code: wa} schema: index: 21 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} index: 22 code: pattern: {type: Code, value: wa} index: 23 display: pattern: {type: String, value: Ward} index: 24 required: [code] room: match: {code: ro} schema: index: 25 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} index: 26 code: pattern: {type: Code, value: ro} index: 27 display: pattern: {type: String, value: Room} index: 28 required: [code] bed: match: {code: bd} schema: index: 29 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} index: 30 code: pattern: {type: Code, value: bd} index: 31 display: pattern: {type: String, value: Bed} index: 32 required: [code] serviceProvider: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-organization'] index: 33 partOf: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/encounter-admission'] index: 34 package_version: 0.1.27 class: profile kind: resource url: http://fhir.laniado.org.il/StructureDefinition/encounter-department base: http://fhir.health.gov.il/StructureDefinition/il-core-encounter version: null required: [identifier]