description: Asuta Ashdod inpatient care segment encounter profile for the CML interface package_name: il.fhir.r4.ashmc derivation: constraint name: AsutaAshdodEncounterSubCml 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', display: Strong Identifier} - {code: adm-strong, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Strong Admission Identifier} 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', display: Strong Identifier} - {code: adm-strong, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Strong Admission Identifier} index: 2 elements: coding: {index: 3} system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/medical-record-cml'} index: 4 required: [type] adm-local: match: {type: null} schema: {_required: true, index: 5} min: 1 max: 1 followup: match: type: coding: - {code: followup, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Followup} schema: index: 6 elements: type: pattern: type: CodeableConcept value: coding: - {code: followup, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Followup} index: 7 elements: coding: {index: 8} system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/medical-record-cml'} index: 9 required: [type] release: match: type: coding: - {code: release, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Release} schema: index: 10 elements: type: pattern: type: CodeableConcept value: coding: - {code: release, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Release} index: 11 elements: coding: {index: 12} system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/medical-record-cml'} index: 13 required: [type] class: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'} index: 14 type: index: 15 slicing: slices: inpatient-care-segment: match: {} schema: index: 15 elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-encounter-type'} index: 16 code: pattern: {type: Code, value: inpatient-care-segment-hdp} index: 17 subject: elements: identifier: elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/pat-id-tafnit'} index: 18 value: {index: 19} required: [value, system] participant: index: 20 slicing: slices: primary-performer: match: {} schema: index: 20 elements: type: elements: coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} index: 21 code: pattern: {type: Code, value: PPRF} index: 22 display: pattern: {type: String, value: primary performer} index: 23 location: index: 24 slicing: slices: nursing-unit: match: {} schema: index: 24 elements: physicalType: elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-location-physical-type'} index: 25 code: pattern: {type: Code, value: hospital-nursing-unit} index: 26 display: pattern: {type: String, value: Hospital nursing unit} index: 27 serviceProvider: elements: identifier: elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/cml-unit-id'} index: 28 package_version: 0.6.1 class: profile kind: resource url: http://fhir.ashmc.co.il/StructureDefinition/encounter-sub-cml base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-inpatient-care-segment version: 0.6.1