# Medication (Core) - MyHealth@EU Core v1.0.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Medication (Core)**

## Resource Profile: Medication (Core) 

| | | |
| :--- | :--- | :--- |
| *Official URL*:http://fhir.ehdsi.eu/core/StructureDefinition/medication-myhealtheu-core | *Version*:1.0.0 | |
| * Standards status: *[Trial-use](http://hl7.org/fhir/R4/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 2 | *Computable Name*:MedicationMyHealthCore |

 
This profile sets minimum expectations for the Medication resource common to most of the use cases. This profile is adapted from the MPD work. 

**Usages:**

* Refer to this Profile: [Immunization (Core)](StructureDefinition-immunization-myhealtheu-core.md), [Medication (Core)](StructureDefinition-medication-myhealtheu-core.md), [MedicationRequest (Core)](StructureDefinition-medicationRequest-myhealtheu-core.md), [MedicationStatement (Core)](StructureDefinition-medicationStatement-myhealtheu-core.md) and [Procedure (Core)](StructureDefinition-procedure-myhealtheu-core.md)
* Examples for this Profile: [Medication/d4e5f6a7-b8c9-0123-defa-234567890123](Medication-d4e5f6a7-b8c9-0123-defa-234567890123.md)

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

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



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "medication-myhealtheu-core",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  }],
  "url" : "http://fhir.ehdsi.eu/core/StructureDefinition/medication-myhealtheu-core",
  "version" : "1.0.0",
  "name" : "MedicationMyHealthCore",
  "title" : "Medication (Core)",
  "status" : "active",
  "date" : "2026-05-05T10:01:52+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 sets minimum expectations for the Medication resource common to most of the use cases.\nThis profile is adapted from the MPD work.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "150",
      "display" : "Europe"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "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" : "Medication",
  "baseDefinition" : "http://hl7.eu/fhir/base/StructureDefinition/medication-eu-core",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Medication",
      "path" : "Medication"
    },
    {
      "id" : "Medication.language",
      "path" : "Medication.language",
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSILanguage"
      }
    },
    {
      "id" : "Medication.extension:productName",
      "path" : "Medication.extension",
      "sliceName" : "productName",
      "short" : "Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant."
    },
    {
      "id" : "Medication.extension:classification",
      "path" : "Medication.extension",
      "sliceName" : "classification"
    },
    {
      "id" : "Medication.extension:classification.extension",
      "path" : "Medication.extension.extension",
      "max" : "0"
    },
    {
      "id" : "Medication.extension:classification.value[x]",
      "path" : "Medication.extension.value[x]",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "$this"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "Medication.extension:classification.value[x]:valueCodeableConcept",
      "path" : "Medication.extension.value[x]",
      "sliceName" : "valueCodeableConcept",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient"
      }
    },
    {
      "id" : "Medication.extension:unitOfPresentation",
      "path" : "Medication.extension",
      "sliceName" : "unitOfPresentation"
    },
    {
      "id" : "Medication.extension:unitOfPresentation.extension",
      "path" : "Medication.extension.extension",
      "max" : "0"
    },
    {
      "id" : "Medication.extension:unitOfPresentation.value[x]",
      "path" : "Medication.extension.value[x]",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "$this"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "Medication.extension:unitOfPresentation.value[x]:valueCodeableConcept",
      "path" : "Medication.extension.value[x]",
      "sliceName" : "valueCodeableConcept",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSIQuantityUnit"
      }
    },
    {
      "id" : "Medication.extension:packageType",
      "path" : "Medication.extension",
      "sliceName" : "packageType"
    },
    {
      "id" : "Medication.extension:packageType.value[x]",
      "path" : "Medication.extension.value[x]",
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSIPackage"
      }
    },
    {
      "id" : "Medication.extension:device",
      "path" : "Medication.extension",
      "sliceName" : "device"
    },
    {
      "id" : "Medication.extension:device.extension:device",
      "path" : "Medication.extension.extension",
      "sliceName" : "device"
    },
    {
      "id" : "Medication.extension:device.extension:device.value[x]",
      "path" : "Medication.extension.extension.value[x]",
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSIPackage"
      }
    },
    {
      "id" : "Medication.code",
      "path" : "Medication.code",
      "short" : "National product code"
    },
    {
      "id" : "Medication.manufacturer",
      "path" : "Medication.manufacturer",
      "short" : "Manufacturer"
    },
    {
      "id" : "Medication.form",
      "path" : "Medication.form",
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm"
      }
    },
    {
      "id" : "Medication.amount",
      "path" : "Medication.amount",
      "type" : [{
        "code" : "Ratio",
        "profile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/Ratio-myhealth"]
      }]
    },
    {
      "id" : "Medication.ingredient",
      "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" : "Medication.ingredient"
    },
    {
      "id" : "Medication.ingredient.item[x]:itemReference",
      "path" : "Medication.ingredient.item[x]",
      "sliceName" : "itemReference",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/medication-myhealtheu-core"]
      }]
    },
    {
      "id" : "Medication.ingredient.item[x]:itemCodeableConcept",
      "path" : "Medication.ingredient.item[x]",
      "sliceName" : "itemCodeableConcept",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://fhir.ehdsi.eu/core/ValueSet/eHDSISubstanceWithExceptions"
      }
    },
    {
      "id" : "Medication.ingredient.strength",
      "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" : "Medication.ingredient.strength",
      "type" : [{
        "code" : "Ratio",
        "profile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/Ratio-myhealth"]
      }]
    },
    {
      "id" : "Medication.ingredient.strength.extension:basisOfStrengthSubstance",
      "path" : "Medication.ingredient.strength.extension",
      "sliceName" : "basisOfStrengthSubstance"
    },
    {
      "id" : "Medication.ingredient.strength.extension:basisOfStrengthSubstance.extension",
      "path" : "Medication.ingredient.strength.extension.extension",
      "max" : "0"
    },
    {
      "id" : "Medication.ingredient.strength.extension:basisOfStrengthSubstance.value[x]",
      "path" : "Medication.ingredient.strength.extension.value[x]",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "$this"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "Medication.ingredient.strength.extension:basisOfStrengthSubstance.value[x]:valueCodeableConcept",
      "path" : "Medication.ingredient.strength.extension.value[x]",
      "sliceName" : "valueCodeableConcept",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://fhir.ehdsi.eu/core/ValueSet/eHDSISubstanceWithExceptions"
      }
    }]
  }
}

```
