description: Child encounter representing a clinically coherent care segment or significant event within a hospitalization. In most cases it represents care by a specific clinical unit (e.g., ER, internal medicine, orthopedics), but it MAY also represent a significant event such as an emergency intervention, resuscitation, specialist consultation, or imaging procedure. When representing care by a clinical unit, this encounter SHALL reference the top-level ILHDPEncounterHospitalization via partOf. When representing a significant event, this encounter SHALL reference either the top-level ILHDPEncounterHospitalization or the relevant ILHDPEncounterInpatientCareSegment via partOf. It is recommended to link significant-event encounters to the segment representing the responsible clinical unit. This profile distinguishes the responsible clinical unit (serviceProvider) from nursing-unit and physical location context (location). A new segment encounter SHALL be created when clinical responsibility changes. If only the nursing unit, room, or bed changes, a new encounter SHALL NOT be created; location history SHOULD be updated instead. The choice of what constitutes a 'significant event' is left to the organization; however, to avoid overwhelming consumers, create event segments only for clinically meaningful events where associating participants and artifacts (Conditions, Observations, Medications, Procedures, etc.) to that event is important. package_name: il.hdp.fhir.r4 derivation: constraint name: ILHDPEncounterInpatientCareSegment type: Encounter elements: diagnosis: index: 34 elements: condition: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-condition', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-condition'] index: 35 use: {index: 36} rank: {index: 37} slicing: rules: open discriminator: - {path: use, type: pattern} min: null slices: admission: match: use: coding: - {code: AD, system: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} schema: short: Admission diagnosis array: true index: 38 elements: condition: {index: 39} use: pattern: type: CodeableConcept value: coding: - {code: AD, system: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} index: 40 required: [use] comorbidity: match: use: coding: - {code: CM, system: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} schema: short: Comorbidity diagnosis array: true index: 41 elements: condition: {index: 42} use: pattern: type: CodeableConcept value: coding: - {code: CM, system: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} index: 43 required: [use] discharge: match: use: coding: - {code: DD, system: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} schema: short: Discharge diagnosis array: true index: 44 elements: condition: {index: 45} use: pattern: type: CodeableConcept value: coding: - {code: DD, system: 'http://terminology.hl7.org/CodeSystem/diagnosis-role'} index: 46 required: [use] meta: type: Meta index: 0 elements: security: index: 1 slicing: slices: HDP: match: {} schema: index: 1 elements: code: pattern: {type: Code, value: encounterInformation} index: 2 display: pattern: {type: String, value: ביקורים} index: 3 serviceProvider: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-organization'] index: 61 episodeOfCare: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-episode-of-care', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-episode-of-care'] index: 17 reasonCode: index: 30 slicing: slices: moh-reason-code: match: {} schema: {index: 31} max: 0 type: index: 9 slicing: slices: face-to-face: match: {} schema: {short: Face-to-face encounter type, index: 10} doctor-to-doctor-consultation: match: {} schema: {index: 11} max: 1 hospitalization: match: {} schema: short: Hospitalization encounter type pattern: type: CodeableConcept value: coding: - {code: hospitalization-hdp, system: 'http://fhir.health.gov.il/cs/il-core-encounter-type'} index: 12 min: 0 max: 0 inpatient-care-segment: match: {} schema: short: Inpatient care segment encounter type pattern: type: CodeableConcept value: coding: - {code: inpatient-care-segment-hdp, system: 'http://fhir.health.gov.il/cs/il-core-encounter-type'} _required: true index: 13 min: 1 max: 1 community-hmo-ambulatory: match: {} schema: short: Community/HMO ambulatory encounter type pattern: type: CodeableConcept value: coding: - {code: community-hmo-ambulatory-hdp, system: 'http://fhir.health.gov.il/cs/il-core-encounter-type'} index: 14 min: 0 max: 0 participant: index: 19 elements: individual: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role', 'http://fhir.health.gov.il/StructureDefinition/il-core-related-person', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner-role', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-related-person'] index: 20 required: [individual] slicing: slices: primary-performer: match: {} schema: index: 21 elements: individual: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role', 'http://fhir.health.gov.il/StructureDefinition/il-core-related-person', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner-role', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-related-person'] index: 22 consultant: match: {} schema: index: 23 elements: individual: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role', 'http://fhir.health.gov.il/StructureDefinition/il-core-related-person', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner-role', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-related-person'] index: 24 required: [individual] reffering-practitioner: match: {} schema: index: 25 elements: individual: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role', 'http://fhir.health.gov.il/StructureDefinition/il-core-related-person', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-practitioner-role', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-related-person'] index: 26 required: [individual] serviceType: {index: 15} classHistory: {index: 8} status: {index: 5} class: {index: 7} length: {index: 29} identifier: {index: 4} hospitalization: index: 47 elements: origin: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-organization'] index: 48 specialArrangement: {index: 49} destination: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-organization'] index: 50 dischargeDisposition: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/patient-release-type-moh'} index: 51 period: index: 27 elements: start: {index: 28} basedOn: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-service-request', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-service-request'] index: 18 partOf: type: Reference refers: ['http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-hospitalization', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-inpatient-care-segment'] index: 62 location: index: 52 elements: location: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location'] index: 53 status: {index: 54} physicalType: {index: 55} slicing: rules: open discriminator: - {path: physicalType, type: pattern} min: 1 slices: nursing-unit: match: physicalType: coding: - {code: hospital-nursing-unit, system: 'http://fhir.health.gov.il/cs/il-core-location-physical-type'} schema: min: 1 short: Nursing unit location array: true _required: true index: 56 elements: location: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location-nursing-unit', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location-nursing-unit'] index: 57 status: {index: 58} physicalType: pattern: type: CodeableConcept value: coding: - {code: hospital-nursing-unit, system: 'http://fhir.health.gov.il/cs/il-core-location-physical-type'} index: 59 period: {index: 60} subject: type: Reference refers: ['http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-patient'] index: 16 statusHistory: {index: 6} reasonReference: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-condition', 'http://fhir.health.gov.il/StructureDefinition/il-core-immunization-recommendation', 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', 'http://fhir.health.gov.il/StructureDefinition/il-core-procedure', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-condition', 'http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-observation'] index: 32 slicing: rules: open discriminator: - {path: $this.resolve(), type: profile} min: null slices: patient-reported-chief-complaint: match: {} schema: short: Patient-reported chief complaint refers: ['http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-patient-reported-chief-complaint'] type: Reference index: 33 min: 0 max: 1 package_version: 0.5.0 class: profile kind: resource url: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-inpatient-care-segment base: http://fhir.health.gov.il/StructureDefinition/il-core-encounter version: 0.5.0 required: [serviceType, serviceProvider, location, partOf, identifier, type, period]