# EHDSMedicationDispense to FHIR MedicationDispenseEuMpd Mapping - HL7 Europe Medication Prescription and Dispense v1.0.0

* [**Table of Contents**](toc.md)
* **EHDSMedicationDispense to FHIR MedicationDispenseEuMpd Mapping**

## EHDSMedicationDispense to FHIR MedicationDispenseEuMpd Mapping

# EHDSMedicationDispense to MedicationDispenseEuMpd

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

### EHDSMedicationDispense to MedicationDispenseEuMpd

 This page explains how conceptual elements from the EHDS medication dispense logical model are expressed in the corresponding FHIR MedicationDispenseEuMpd profile used by this Implementation Guide. 

**Mapping Context**
*  **Source logical model:** [EHDSMedicationDispense](https://www.xt-ehr.eu/fhir/models/1.0.0/StructureDefinition-EHDSMedicationDispense.html) 
*  **Target FHIR profile:** [MedicationDispenseEuMpd](StructureDefinition-MedicationDispense-eu-mpd.md) 

| | | | | |
| :--- | :--- | :--- | :--- | :--- |
| Element | Relation | Resource | Element | Notes |
| EHDSMedicationDispense | equivalent | MedicationDispense | . | Create one MedicationDispense resource per dispense record. |
| header | related-to | MedicationDispense | . | Backbone element. |
| header.subject | equivalent | MedicationDispense | subject | Reference to the patient. |
| header.identifier | equivalent | MedicationDispense | identifier |  |
| header.author[x] | equivalent | MedicationDispense | performer.actor | The guide requires one performer actor for traceability of the dispense. |
| header.date | equivalent | MedicationDispense | extension:recorded[R4]recorded[R5] |  |
| header.status | equivalent | MedicationDispense | status |  |
| header.language | equivalent | MedicationDispense | language |  |
| dispenseLocation | equivalent | MedicationDispense | location |  |
| receiver[x] | equivalent | MedicationDispense | receiver | When absent, the EHDS model assumes the patient is the receiver. |
| relatedRequest | equivalent | MedicationDispense | authorizingPrescription |  |
| medication | equivalent | MedicationDispense | medication[x][R4]medication[R5] |  |
| dispensedQuantity | equivalent | MedicationDispense | quantity |  |
| timeOfDispensation | equivalent | MedicationDispense | whenHandedOver | When not present, the EHDS model assumes the time of issuing the dispense record. |
| substitutionOccurred | equivalent | MedicationDispense | substitution.wasSubstituted |  |
| dosageInstructions | equivalent | MedicationDispense | dosageInstruction |  |
| note | equivalent | MedicationDispense | note |  |

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

