description: This resource represents a department movement during an encounter, starting with the first location. package_name: il.laniado.fhir.r4 derivation: constraint name: EncounterDepartment type: Encounter elements: meta: elements: source: pattern: {type: Uri, value: 'http://emr.laniado.org.il'} index: 0 identifier: index: 1 elements: system: {index: 2} value: {short: The value that is unique within the system., index: 3} 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 movement ID mustSupport: true _required: true index: 4 elements: system: pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/encounter-department'} index: 5 value: short: A Department movement 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: 6 assigner: elements: reference: pattern: {type: String, value: Organization/01604} index: 7 identifier: index: 8 elements: system: pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'} index: 9 value: pattern: {type: String, value: '01604'} index: 10 display: pattern: {type: String, value: בית חולים לניאדו} index: 11 required: [identifier] type: index: 12 slicing: slices: care-management: match: {} schema: binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/encounter-department-type'} index: 13 elements: coding: index: 14 slicing: rules: open discriminator: - {path: code, type: value} min: 1 slices: inpatient: match: {code: '737481003'} schema: index: 15 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 16 code: pattern: {type: Code, value: '737481003'} index: 17 display: pattern: {type: String, value: Inpatient care management} index: 18 required: [code] outpatient: match: {code: '737492002'} schema: index: 19 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 20 code: pattern: {type: Code, value: '737492002'} index: 21 display: pattern: {type: String, value: Outpatient care management} index: 22 required: [code] required: [coding] subject: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient'] index: 23 diagnosis: elements: condition: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-condition'] index: 24 use: elements: coding: index: 25 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: sugRec: match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-sug-rec'} schema: index: 26 elements: system: pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-sug-rec'} index: 27 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: 28 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} index: 29 required: [system] rank: {index: 30} required: [rank] location: elements: location: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-location'] index: 31 physicalType: elements: coding: index: 32 slicing: rules: open discriminator: - {path: code, type: value} min: null slices: dep: match: {code: wa} schema: index: 33 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} index: 34 code: pattern: {type: Code, value: wa} index: 35 display: pattern: {type: String, value: Ward} index: 36 required: [code] room: match: {code: ro} schema: index: 37 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} index: 38 code: pattern: {type: Code, value: ro} index: 39 display: pattern: {type: String, value: Room} index: 40 required: [code] bed: match: {code: bd} schema: index: 41 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'} index: 42 code: pattern: {type: Code, value: bd} index: 43 display: pattern: {type: String, value: Bed} index: 44 required: [code] serviceProvider: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-organization'] index: 45 partOf: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/encounter-admission'] index: 46 package_version: 0.2.6 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, type]