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