# EHDSPatientSummary to Composition (EPS) - HL7 Europe Patient Summary v1.0.0-ballot

* [**Table of Contents**](toc.md)
* **EHDSPatientSummary to Composition (EPS)**

## EHDSPatientSummary to Composition (EPS)

# EHDSPatientSummary → Composition (EPS)

**Ongoing alignment:**The models are expected to continue evolving, with updates incorporated into this Implementation Guide to maintain alignment with the EHDS Implementing Acts.

**Yellow row/cells:**In this ballot publication, some row/cells of the mapping table have been left in yellow to indicate areas requiring further review or refinement; including feedback from the Xt-EHR joint action (see note above). These highlights will be addressed in subsequent updates to ensure accuracy and completeness of the mappings.

### EHDSPatientSummary → Composition, Bundle (EPS)

 This page explains how conceptual elements from the EHDSPatientSummary logical model are expressed in the corresponding FHIR CompositionEuEps and BundleEuEps profiles used by this Implementation Guide. 

**Mapping Context**
*  **Source logical model:** [ EHDSPatientSummary ](https://www.xt-ehr.eu/fhir/models/StructureDefinition-EHDSPatientSummary.html) 
*  **Target FHIR profile:** [ CompositionEuEps ](StructureDefinition-composition-eu-eps.md) 
*  **Target FHIR profile:** [ BundleEuEps ](StructureDefinition-bundle-eu-eps.md) 

| | | | | |
| :--- | :--- | :--- | :--- | :--- |
| Element | Relation | Resource | Element | Notes |
| header | related-to | Composition | . |  |
| header.subject | equivalent | Composition | subject |  |
| header.identifier | equivalent | Composition | identifier |  |
| header.identifier | equivalent | Bundle | identifier | Represents a specific rendition/version of the document. |
| header.author[x] | equivalent | Composition | author |  |
| header.date | equivalent | Composition | date |  |
| header.status | equivalent | Composition | status |  |
| header.language | equivalent | Composition | language |  |
| header.documentType | equivalent | Composition | type |  |
| header.documentTitle | equivalent | Composition | title |  |
| header.period | related-to | Composition | event.period | Map to the primary Composition.event entry. |
| header.version | related-to | Composition | extension:version |  |
| header.attestation | related-to | Composition | attester |  |
| header.attestation.attester | equivalent | Composition | attester.party |  |
| header.attestation.datetime | equivalent | Composition | attester.time |  |
| header.legalAuthentication | related-to | Composition | attester |  |
| header.legalAuthentication.legalAuthenticator | related-to | Composition | attester.party |  |
| header.legalAuthentication.datetime | equivalent | Composition | attester.time |  |
| header.eventType | related-to | Composition | event.code | Not clear if it is a type of event - PCPR for Patient Summary - or a classification of the document. |
| header.serviceSpecialty | source-is-narrower-than-target | Composition | category | Do not apply to Patient Summary. |
| header.custodian | equivalent | Composition | custodian |  |
| alerts | equivalent | Composition | section:sectionAlerts | Use LOINC 104605-1 |
| alerts.generatedNarrative | equivalent | Composition | section:sectionAlerts.text |  |
| alerts.emptyReason | equivalent | Composition | section:sectionAlerts.emptyReason |  |
| alerts.medicalAlert | equivalent | Composition | section:sectionAlerts.entry:flag | Reference to`FlagPatientEuCore.` |
| alerts.note | related-to | Composition | section:sectionAlerts.text |  |
| allergiesAndIntolerances | equivalent | Composition | section:sectionAllergies | Mandatory slice in CompositionEuEps. |
| allergiesAndIntolerances.generatedNarrative | equivalent | Composition | section:sectionAllergies.text |  |
| allergiesAndIntolerances.allergyIntolerance | equivalent | Composition | section:sectionAllergies.entry:allergyOrIntolerance | Reference to AllergyIntoleranceEuCore. |
| allergiesAndIntolerances.emptyReason | equivalent | Composition | section:sectionAllergies.emptyReason |  |
| allergiesAndIntolerances.note | related-to | Composition | section:sectionAllergies.text |  |
| problems | equivalent | Composition | section:sectionProblems | Use LOINC 11450-4 |
| problems.generatedNarrative | equivalent | Composition | section:sectionProblems.text |  |
| problems.emptyReason | equivalent | Composition | section:sectionProblems.emptyReason |  |
| problems.problem | equivalent | Composition | section:sectionProblems.entry:problem | Reference to ConditionEuCore. |
| problems.note | related-to | Composition | section:sectionProblems.text |  |
| medicationSummary | equivalent | Composition | section:sectionMedications | Use LOINC 10160-0 |
| medicationSummary.generatedNarrative | equivalent | Composition | section:sectionMedications.text |  |
| medicationSummary.emptyReason | equivalent | Composition | section:sectionMedications.emptyReason |  |
| medicationSummary.medicationUse | equivalent | Composition | section:sectionMedications.entry:medicationStatementOrRequest | Reference to MedicationStatementEuEps. |
| medicationSummary.note | related-to | Composition | section:sectionMedications.text |  |
| medicalDevicesAndImplants | equivalent | Composition | section:sectionMedicalDevices | Use LOINC 46264-8 |
| medicalDevicesAndImplants.generatedNarrative | equivalent | Composition | section.text |  |
| medicalDevicesAndImplants.emptyReason | equivalent | Composition | section.emptyReason |  |
| medicalDevicesAndImplants.deviceUse | equivalent | Composition | section:sectionMedicalDevices.entry:deviceStatement | Reference to DeviceUseStatementEuEps. |
| medicalDevicesAndImplants.note | related-to | Composition | section:sectionMedicalDevices.text |  |
| procedures | equivalent | Composition | section:sectionProceduresHx | Use LOINC 47519-4 |
| procedures.generatedNarrative | equivalent | Composition | section.text |  |
| procedures.emptyReason | equivalent | Composition | section.emptyReason |  |
| procedures.procedure | equivalent | Composition | section:sectionProceduresHx.entry:procedure | Reference to ProcedureEuCore. |
| procedures.note | related-to | Composition | section:sectionProceduresHx.text |  |
| immunisations | equivalent | Composition | section:sectionImmunizations | Use LOINC 11369-6 |
| immunisations.generatedNarrative | equivalent | Composition | section.text |  |
| immunisations.immunisation | equivalent | Composition | section:sectionImmunizations.entry:immunization | Reference to ImmunizationEuCore. |
| immunisations.note | related-to | Composition | section:sectionImmunizations.text |  |
| functionalStatus | equivalent | Composition | section:sectionFunctionalStatus | Use LOINC 47420-5 |
| functionalStatus.generatedNarrative | equivalent | Composition | section.text |  |
| functionalStatus.condition | related-to | Composition | section:sectionFunctionalStatus.entry | Target slice/profile alignment may need clarification. |
| functionalStatus.assessment | equivalent | Composition | section:sectionFunctionalStatus.entry:functionalStatus | The actual content maps better into an Observation profile, not allowed in this section |
| functionalStatus.note | related-to | Composition | section:sectionFunctionalStatus.text |  |
| socialHistory | equivalent | Composition | section:sectionSocialHistory |  |
| socialHistory.generatedNarrative | equivalent | Composition | section.text |  |
| socialHistory.observation | equivalent | Composition | section:sectionSocialHistory.entry |  |
| socialHistory.note | related-to | Composition | section:sectionSocialHistory.text |  |
| pregnancyHistory | equivalent | Composition | section:sectionPregnancyHx | Use LOINC 10162-6 |
| pregnancyHistory.generatedNarrative | equivalent | Composition | section.text |  |
| pregnancyHistory.currentPregnancyStatus | equivalent | Composition | section:sectionPregnancyHx.entry:pregnancyStatus |  |
| pregnancyHistory.note | related-to | Composition | section:sectionPregnancyHx.text | Narrative text used when no structured mapping is needed. |
| pregnancyHistory.previousPregnancies | equivalent | Composition | section:sectionPregnancyHx.entry:pregnancyOutcome |  |
| travelHistory | equivalent | Composition | section:sectionTravelHx | Uses LOINC 10182-4. |
| travelHistory.generatedNarrative | equivalent | Composition | section.text |  |
| travelHistory.travelHistory | equivalent | Composition | section:sectionTravelHx.entry | Reference to ObservationTravelEuEps. |
| travelHistory.note | related-to | Composition | section:sectionTravelHx.text |  |
| patientStory | equivalent | Composition | section:sectionPatientHx | check if the propoer loinc code is used and the patient history section is added. |
| patientStory.note | equivalent | Composition | section:sectionPatientHx.text |  |
| advanceDirectives | equivalent | Composition | section:sectionAdvanceDirectives | Use LOINC 42348-3 |
| advanceDirectives.generatedNarrative | equivalent | Composition | section.text |  |
| advanceDirectives.advanceDirective | equivalent | Composition | section:sectionAdvanceDirectives.entry | Reference to ConsentEuEps or DocumentReference. |
| advanceDirectives.note | related-to | Composition | section:sectionAdvanceDirectives.text |  |
| observationResults | source-is-broader-than-target | Composition | section:sectionResults | When the result is a diagnostic result. |
| observationResults | source-is-broader-than-target | Composition | section:sectionVitalSigns | When the result is a vital sign |
| observationResults.generatedNarrative | equivalent | Composition | section.text |  |
| observationResults.result | equivalent | Composition | section:sectionResults.entry | When the result is a diagnostic result. |
| observationResults.result | equivalent | Composition | section:sectionVitalSigns.entry | When the result is a vital sign, target profile is http://hl7.org/fhir/StructureDefinition/vitalsigns. |
| observationResults.note | related-to | Composition | section.text |  |
| carePlans | equivalent | Composition | section:sectionPlanOfCare |  |
| carePlans.generatedNarrative | equivalent | Composition | section.text |  |
| carePlans.carePlan | equivalent | Composition | section:sectionPlanOfCare.entry |  |
| carePlans.note | related-to | Composition | section:sectionPlanOfCare.text |  |

 Return to overview: [EHDS Logical Models → FHIR Profiles](modelmap.md) 

