description: This is the base Encounter. Each session has at least one Department movement. package_name: laniado.test.fhir.r4 derivation: constraint name: EncounterAdmission type: Encounter elements: extension: type: Extension url: http://fhir.laniado.org.il/StructureDefinition/ext-administrative-encounter-note index: 0 slicing: slices: hearot: match: {} schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-administrative-encounter-note', index: 0} min: 0 payingEntity: match: {} schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-paying-entity', index: 1} min: 0 max: 1 entryType: match: {} schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-encounter-entry-type', index: 2} min: 0 max: 1 modeOfArrival: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival index: 3 elements: value: choices: [] index: 5 identifier: index: 6 elements: system: {mustSupport: true, index: 7} value: {short: The value that is unique within the system., mustSupport: true, index: 8} required: [value, system] slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: mispar-ishpuz: match: {system: 'http://fhir.laniado.org.il/Identifier/mispar-ishpuz'} schema: short: Hospitalization number (מספר אשפוז) mustSupport: true array: true min: 1 _required: true index: 9 elements: use: pattern: {type: Code, value: official} index: 10 system: pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/mispar-ishpuz'} index: 11 value: short: An Hospitalization number constraint: mispar-ishpuz: {human: The hospitalization number must meet the specified requirements, source: 'http://fhir.laniado.org.il/StructureDefinition/encounter-admission', severity: error, expression: 'matches(''^20[0-9]{8}$'')'} index: 12 assigner: elements: reference: pattern: {type: String, value: Organization/01604} index: 13 identifier: index: 14 elements: system: pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'} index: 15 value: pattern: {type: String, value: '01604'} index: 16 display: pattern: {type: String, value: בית חולים לניאדו} index: 17 required: [identifier] status: extensions: note: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-status-cancelled-note', min: 0, max: 1, type: Extension, index: 18} elements: extension: type: Extension url: http://fhir.laniado.org.il/StructureDefinition/ext-status-cancelled-note index: 18 slicing: slices: note: match: {} schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-status-cancelled-note', index: 18} min: 0 max: 1 type: index: 19 slicing: slices: s-yechida: match: {} schema: binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/s-yechida'} _required: true index: 20 elements: coding: index: 21 elements: system: pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/s-yechida'} index: 22 code: {index: 23} required: [code] required: [coding] subject: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient'] index: 24 reasonCode: binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/k-teluna'} index: 25 slicing: slices: laniado: match: {} schema: binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/k-teluna'} index: 25 elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-teluna'} index: 26 serviceProvider: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-organization'] index: 27 partOf: type: Reference refers: ['http://fhir.laniado.org.il/StructureDefinition/encounter-admission'] index: 28 package_version: 0.1.14 extensions: hearot: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-administrative-encounter-note', min: 0, type: Extension, index: 0} payingEntity: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-paying-entity', min: 0, max: 1, type: Extension, index: 1} entryType: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-encounter-entry-type', min: 0, max: 1, type: Extension, index: 2} modeOfArrival: url: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival type: Extension index: 3 elements: value: choices: [] index: 5 class: profile kind: resource url: http://fhir.laniado.org.il/StructureDefinition/encounter-admission base: http://fhir.health.gov.il/StructureDefinition/il-core-encounter version: null required: [identifier, type]