# MedicationDispense (EPD) - MyHealth@Eu Electronic Prescription and Dispense v1.0.0-poc

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **MedicationDispense (EPD)**

## Resource Profile: MedicationDispense (EPD) 

| | |
| :--- | :--- |
| *Official URL*:http://fhir.ehdsi.eu/epd/StructureDefinition/MedicationDispense-myhealtheu-epd | *Version*:1.0.0-poc |
| Draft as of 2026-07-16 | *Computable Name*:MedicationDispenseMyHealthEuEpd |
| **Copyright/Legal**: Copyright European Union, represented by the European Commission - DG SANTE. Licenced under CC-BY-4.0. | |

 
This profile defines how to represent the supply and the associated administration instructions in HL7 FHIR for the purpose of this guide. 

**Usages:**

* Examples for this Profile: [MedicationDispense/300D-dispense-for-2-requests](MedicationDispense-300D-dispense-for-2-requests.md), [MedicationDispense/400D-dispense-1](MedicationDispense-400D-dispense-1.md), [MedicationDispense/400D-dispense-2](MedicationDispense-400D-dispense-2.md) and [MedicationDispense/400E-refused-dispense](MedicationDispense-400E-refused-dispense.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/resource/myhealth.eu.fhir.epd|current/StructureDefinition/StructureDefinition-MedicationDispense-myhealtheu-epd.json)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-MedicationDispense-myhealtheu-epd.csv), [Excel](StructureDefinition-MedicationDispense-myhealtheu-epd.xlsx), [Schematron](StructureDefinition-MedicationDispense-myhealtheu-epd.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "MedicationDispense-myhealtheu-epd",
  "url" : "http://fhir.ehdsi.eu/epd/StructureDefinition/MedicationDispense-myhealtheu-epd",
  "version" : "1.0.0-poc",
  "name" : "MedicationDispenseMyHealthEuEpd",
  "title" : "MedicationDispense (EPD)",
  "status" : "draft",
  "date" : "2026-07-16T21:33:18+02:00",
  "publisher" : "MyHealth@Eu",
  "contact" : [{
    "name" : "MyHealth@Eu",
    "telecom" : [{
      "system" : "url",
      "value" : "https://health.ec.europa.eu/other-pages/basic-page/myhealtheu-flyer-addressed-patients-and-health-professionals_en"
    }]
  }],
  "description" : "This profile defines how to represent the supply and the associated administration instructions in HL7 FHIR for the purpose of this guide.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "150",
      "display" : "Europe"
    }]
  }],
  "copyright" : "Copyright European Union, represented by the European Commission - DG SANTE. Licenced under CC-BY-4.0.",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "rx-dispense-rmim",
    "uri" : "http://www.hl7.org/v3/PORX_RM020070UV",
    "name" : "V3 Pharmacy Dispense RMIM"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "MedicationDispense",
  "baseDefinition" : "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationDispense-eu-mpd",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "MedicationDispense",
      "path" : "MedicationDispense"
    },
    {
      "id" : "MedicationDispense.language",
      "path" : "MedicationDispense.language",
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSILanguage"
      }
    },
    {
      "id" : "MedicationDispense.extension:recorded",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical" : "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationDispense-eu-mpd|1.0.0"
        },
        {
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.extension",
      "sliceName" : "recorded"
    },
    {
      "id" : "MedicationDispense.identifier",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.identifier"
    },
    {
      "id" : "MedicationDispense.medication[x]:medicationReference",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.medication[x]",
      "sliceName" : "medicationReference",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/epd/StructureDefinition/medication-myhealtheu-epd"]
      }]
    },
    {
      "id" : "MedicationDispense.subject",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical" : "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationDispense-eu-mpd|1.0.0"
        },
        {
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.subject",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core"]
      }]
    },
    {
      "id" : "MedicationDispense.performer.actor",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical" : "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationDispense-eu-mpd|1.0.0"
        },
        {
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.performer.actor",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core"]
      }]
    },
    {
      "id" : "MedicationDispense.location",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHOULD:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.location"
    },
    {
      "id" : "MedicationDispense.authorizingPrescription",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical" : "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationDispense-eu-mpd|1.0.0"
        },
        {
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.authorizingPrescription",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/epd/StructureDefinition/MedicationRequest-myhealtheu-epd"]
      }]
    },
    {
      "id" : "MedicationDispense.quantity",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical" : "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationDispense-eu-mpd|1.0.0"
        },
        {
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.quantity",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/SimpleQuantity-myhealth"]
      }]
    },
    {
      "id" : "MedicationDispense.daysSupply",
      "path" : "MedicationDispense.daysSupply",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/SimpleQuantity-myhealth"]
      }]
    },
    {
      "id" : "MedicationDispense.whenHandedOver",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.whenHandedOver",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.receiver",
      "path" : "MedicationDispense.receiver",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core"]
      }]
    },
    {
      "id" : "MedicationDispense.dosageInstruction",
      "path" : "MedicationDispense.dosageInstruction",
      "short" : "How the medication is to be used by the patient"
    },
    {
      "id" : "MedicationDispense.substitution.wasSubstituted",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationDispense.substitution.wasSubstituted"
    },
    {
      "id" : "MedicationDispense.substitution.type",
      "path" : "MedicationDispense.substitution.type",
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSISubstitutionCode"
      }
    },
    {
      "id" : "MedicationDispense.substitution.responsibleParty",
      "path" : "MedicationDispense.substitution.responsibleParty",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core"]
      }]
    }]
  }
}

```
