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} 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} 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: coding: - {code: adm-strong, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: admission} schema: _required: true index: 5 elements: type: pattern: type: CodeableConcept value: coding: - {code: adm-strong, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: admission} index: 6 system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/medical-record-cml'} index: 7 required: [type] followup: match: type: coding: - {code: followup, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Followup} schema: index: 8 elements: type: pattern: type: CodeableConcept value: coding: - {code: followup, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Followup} index: 9 elements: coding: {index: 10} system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/medical-record-cml'} index: 11 required: [type] release: match: type: coding: - {code: release, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Release} schema: index: 12 elements: type: pattern: type: CodeableConcept value: coding: - {code: release, system: 'http://fhir.ashmc.co.il/cs/encounter-local-identifier-type', display: Release} index: 13 elements: coding: {index: 14} system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/medical-record-cml'} index: 15 required: [type] class: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'} index: 16 type: index: 17 slicing: slices: inpatient-care-segment: match: {} schema: index: 17 elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-encounter-type'} index: 18 code: pattern: {type: Code, value: inpatient-care-segment-hdp} index: 19 subject: elements: identifier: elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/pat-id-tafnit'} index: 20 value: {index: 21} required: [value, system] participant: index: 22 slicing: slices: primary-performer: match: {} schema: index: 22 elements: type: elements: coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} index: 23 code: pattern: {type: Code, value: PPRF} index: 24 display: pattern: {type: String, value: primary performer} index: 25 location: index: 26 slicing: slices: nursing-unit: match: {} schema: index: 26 elements: physicalType: elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-location-physical-type'} index: 27 code: pattern: {type: Code, value: hospital-nursing-unit} index: 28 display: pattern: {type: String, value: Hospital nursing unit} index: 29 serviceProvider: elements: identifier: elements: system: pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/cml-unit-id'} index: 30 package_version: 0.7.0 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.7.0