description: Sourasky (TASMC) inpatient care segment encounter profile with local constraints package_name: il.tasmc.fhir.r4 derivation: constraint name: TasmcEncounterInpatientCareSegment type: Encounter elements: identifier: array: true min: 2 index: 0 slicing: rules: open discriminator: - {path: type, type: pattern} min: 2 slices: adm: match: type: coding: - {code: strong-id, system: 'http://fhir.health.gov.il/cs/il-core-identifier-type'} schema: _required: true index: 1 elements: type: pattern: type: CodeableConcept value: coding: - {code: strong-id, system: 'http://fhir.health.gov.il/cs/il-core-identifier-type'} index: 2 elements: coding: index: 3 elements: display: pattern: {type: String, value: Strong Identifier} index: 4 required: [display] required: [coding] system: pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-medical-record'} index: 5 required: [type, system] adm-local: match: type: coding: - {code: adm, system: 'http://fhir.tasmc.org.il/cs/local-identifier-type'} schema: _required: true index: 6 elements: type: pattern: type: CodeableConcept value: coding: - {code: adm, system: 'http://fhir.tasmc.org.il/cs/local-identifier-type'} index: 7 elements: coding: index: 8 elements: display: pattern: {type: String, value: admission} index: 9 required: [display] required: [coding] system: pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-medical-record'} index: 10 required: [type, system] followup: match: type: coding: - {code: followup, system: 'http://fhir.tasmc.org.il/cs/local-identifier-type'} schema: index: 11 elements: type: pattern: type: CodeableConcept value: coding: - {code: followup, system: 'http://fhir.tasmc.org.il/cs/local-identifier-type'} index: 12 elements: coding: index: 13 elements: display: pattern: {type: String, value: Followup} index: 14 required: [display] required: [coding] system: pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-medical-record'} index: 15 required: [type, system] release: match: type: coding: - {code: release, system: 'http://fhir.tasmc.org.il/cs/local-identifier-type'} schema: index: 16 elements: type: pattern: type: CodeableConcept value: coding: - {code: release, system: 'http://fhir.tasmc.org.il/cs/local-identifier-type'} index: 17 elements: coding: index: 18 elements: display: pattern: {type: String, value: Release} index: 19 required: [display] required: [coding] system: pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-medical-record'} index: 20 required: [type, system] class: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'} index: 21 serviceType: elements: coding: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 22 subject: elements: identifier: elements: system: pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-pat-num'} index: 23 value: {index: 24} required: [value, system] participant: index: 25 slicing: slices: primary-performer: match: {} schema: index: 25 elements: type: elements: coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} index: 26 code: pattern: {type: Code, value: PPRF} index: 27 display: pattern: {type: String, value: primary performer} index: 28 location: index: 29 slicing: slices: nursing-unit: match: {} schema: index: 29 elements: physicalType: elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-location-physical-type'} index: 30 code: pattern: {type: Code, value: hospital-nursing-unit} index: 31 display: pattern: {type: String, value: Hospital nursing unit} index: 32 serviceProvider: elements: identifier: elements: system: pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/unit_id'} index: 33 package_version: 0.9.8 class: profile kind: resource url: http://fhir.tasmc.org.il/StructureDefinition/tasmc-encounter-inpatient-care-segment base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-inpatient-care-segment version: 0.9.8