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: {mustSupport: true, index: 1} value: {short: The value that is unique within the system., mustSupport: true, 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 array: true min: 1 _required: true index: 3 elements: use: pattern: {type: Code, value: official} index: 4 system: pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/encounter-department'} index: 5 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: 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] subject: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient'] index: 12 serviceProvider: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-organization'] index: 13 partOf: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/encounter-admission'] index: 14 package_version: 0.1.17 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]