# MedicationRequest (EPD) - MyHealth@Eu Electronic Prescription and Dispense v0.1.0

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

## Resource Profile: MedicationRequest (EPD) 

| | | |
| :--- | :--- | :--- |
| *Official URL*:http://fhir.ehdsi.eu/epd/StructureDefinition/MedicationRequest-myhealtheu-epd | *Version*:0.1.0 | |
| * Standards status: *[Draft](http://hl7.org/fhir/R4/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 1 | *Computable Name*:MedicationRequestMyHealthEuEpd |
| **Copyright/Legal**: Used by permission of HL7 Europe, all rights reserved Creative Commons License | | |

 
This profile defines how to represent MedicationRequest in HL7 FHIR for the purpose of this guide. 

**Usages:**

* Refer to this Profile: [MedicationDispense (EPD)](StructureDefinition-MedicationDispense-myhealtheu-epd.md)
* Examples for this Profile: [MedicationRequest/300C-2-medication-prescription-request1](MedicationRequest-300C-2-medication-prescription-request1.md), [MedicationRequest/300C-2-medication-prescription-request2](MedicationRequest-300C-2-medication-prescription-request2.md) and [MedicationRequest/400C-prescription-cefuroxime-singleline](MedicationRequest-400C-prescription-cefuroxime-singleline.md)

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

### 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-MedicationRequest-myhealtheu-epd.csv), [Excel](StructureDefinition-MedicationRequest-myhealtheu-epd.xlsx), [Schematron](StructureDefinition-MedicationRequest-myhealtheu-epd.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "MedicationRequest-myhealtheu-epd",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 1
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "draft"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile",
    "valueCanonical" : "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd"
  }],
  "url" : "http://fhir.ehdsi.eu/epd/StructureDefinition/MedicationRequest-myhealtheu-epd",
  "version" : "0.1.0",
  "name" : "MedicationRequestMyHealthEuEpd",
  "title" : "MedicationRequest (EPD)",
  "status" : "draft",
  "date" : "2026-05-22T13:07:09+00: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 MedicationRequest 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" : "Used by permission of HL7 Europe, all rights reserved Creative Commons License",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "script10.6",
    "uri" : "http://ncpdp.org/SCRIPT10_6",
    "name" : "Mapping to NCPDP SCRIPT 10.6"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "MedicationRequest",
  "baseDefinition" : "http://fhir.ehdsi.eu/core/StructureDefinition/medicationRequest-myhealtheu-core",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "MedicationRequest",
      "path" : "MedicationRequest"
    },
    {
      "id" : "MedicationRequest.extension:effectiveDosePeriod",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "MAY:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.extension",
      "sliceName" : "effectiveDosePeriod"
    },
    {
      "id" : "MedicationRequest.extension:renderedDosageInstruction",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "MAY:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.extension",
      "sliceName" : "renderedDosageInstruction"
    },
    {
      "id" : "MedicationRequest.identifier",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.identifier",
      "short" : "Prescription/prescribed item ID",
      "comment" : "It is the prescription ID if the presciption includes only one prescribed item"
    },
    {
      "id" : "MedicationRequest.status",
      "path" : "MedicationRequest.status",
      "short" : "Current state of the order."
    },
    {
      "id" : "MedicationRequest.medication[x]",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.medication[x]",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/epd/StructureDefinition/medication-myhealtheu-epd"]
      }]
    },
    {
      "id" : "MedicationRequest.subject",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.subject"
    },
    {
      "id" : "MedicationRequest.authoredOn",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.authoredOn",
      "min" : 1
    },
    {
      "id" : "MedicationRequest.requester",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.requester",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core"]
      }]
    },
    {
      "id" : "MedicationRequest.reasonCode",
      "path" : "MedicationRequest.reasonCode",
      "binding" : {
        "extension" : [{
          "extension" : [{
            "url" : "purpose",
            "valueCode" : "candidate"
          },
          {
            "url" : "valueSet",
            "valueCanonical" : "http://terminology.ehdsi.eu/ValueSet/eHDSIIllnessandDisorder"
          },
          {
            "url" : "documentation",
            "valueMarkdown" : "MyHealth@EU crossborder value set for diagnoses. Based on WHO ICD 10."
          }],
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
        }],
        "strength" : "required",
        "valueSet" : "http://fhir.ehdsi.eu/core/ValueSet/eHDSIMedicationReasonWithExceptions"
      }
    },
    {
      "id" : "MedicationRequest.groupIdentifier",
      "path" : "MedicationRequest.groupIdentifier",
      "short" : "Prescription this is part of. Not needed if a presciption includes only one prescribed item"
    },
    {
      "id" : "MedicationRequest.note",
      "path" : "MedicationRequest.note",
      "short" : "Additional information or comments."
    },
    {
      "id" : "MedicationRequest.dosageInstruction",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "MAY:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.dosageInstruction"
    },
    {
      "id" : "MedicationRequest.dosageInstruction.timing.repeat.duration",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "MAY:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.dosageInstruction.timing.repeat.duration"
    },
    {
      "id" : "MedicationRequest.dispenseRequest.extension",
      "path" : "MedicationRequest.dispenseRequest.extension",
      "min" : 1
    },
    {
      "id" : "MedicationRequest.dispenseRequest.extension:prescribedQuantity",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.dispenseRequest.extension",
      "sliceName" : "prescribedQuantity",
      "min" : 1
    },
    {
      "id" : "MedicationRequest.substitution.allowed[x]",
      "path" : "MedicationRequest.substitution.allowed[x]",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "$this"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "MedicationRequest.substitution.allowed[x]:allowedBoolean",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "MAY:able-to-populate"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "MedicationRequest.substitution.allowed[x]",
      "sliceName" : "allowedBoolean",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }]
    }]
  }
}

```
