FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagemyhealth.eu.fhir.epd
Resource TypeStructureDefinition
IdStructureDefinition-MyHealthEuPrescription.json
FHIR VersionR4
Sourcehttp://fhir.ehdsi.eu/epd/1.0.0-poc/StructureDefinition-MyHealthEuPrescription.html
URLhttp://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription
Version1.0.0-poc
Statusdraft
Date2026-07-16T21:33:18+02:00
NameMyHealthEuPrescription
TitleMedication Prescription model
Realmeu
DescriptionMyHealth@EU refined model for ePrescription information
CopyrightCopyright European Union, represented by the European Commission - DG SANTE. Licenced under CC-BY-4.0.
Typehttp://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
myhealth.eu.fhir.core#1.0.0MyHealthEuOrganisationOrganisation model
myhealth.eu.fhir.core#1.0.0MyHealthEuPatientPatient model
myhealth.eu.fhir.epd#1.0.0-pocMyHealthEuDosagingEpdDosage Instructions model
myhealth.eu.fhir.epd#1.0.0-pocMyHealthEuHealthProfessionalEpdPrescriber model
myhealth.eu.fhir.epd#1.0.0-pocMyHealthEuMedicationEpdPrescribed Medication model
xtehr.eu.ehds.models#currentEHDSMedicationPrescriptionMedication prescription model

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition MyHealthEuPrescription

NameFlagsCard.TypeDescription & Constraintsdoco
.. MyHealthEuPrescription 0..*EHDSMedicationPrescriptionMedication Prescription model

Elements defined in Ancestors:header, header, presentedForm, prescriptionItem
... header O1..1BasePrescription header
ObligationsActor
SHALL:handleMyHealth@EU Handler
.... subject O1..1MyHealthEuPatientThe person for whom the medication is prescribed/ordered. [Used for searching]
ObligationsActor
SHALL:handleMyHealth@EU Handler
.... identifier O1..*IdentifierBusiness identifier(s) for the prescription. [Used for searching]
ObligationsActor
SHOULD:handleMyHealth@EU Handler
.... author[x] O1..*The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]
ObligationsActor
SHALL:handleMyHealth@EU Handler
..... authorMyHealthEuHealthProfessionalEpdMyHealthEuHealthProfessionalEpd
..... authorMyHealthEuOrganisationMyHealthEuOrganisation
.... date O1..1dateTimeTime of issuing (signing) the prescription by health care professional. [Used for searching]
ObligationsActor
SHALL:handleMyHealth@EU Handler
... presentedForm O0..*EHDSAttachmentEntire prescription as issued. Various formats could be provided, PDF format is recommended.
ObligationsActor
SHALL:handleMyHealth@EU Handler
... prescriptionItem O1..*BasePrescription line for one medication. In many countries, only one item is allowed and there shall be no expectation to be able to manage multiple items. In case multiple medications are allowed, all items need to be authored together.
ObligationsActor
SHALL:handleMyHealth@EU Handler
.... identifier O1..*IdentifierIdentifier for a single item on prescription, if exists. In case of single-item prescription, this identifier is typically the same as prescription identifier. [Used for searching]
ObligationsActor
SHALL:handleMyHealth@EU Handler
.... medication O1..1MyHealthEuMedicationEpdPrescribed product, branded, generic, virtual, extemporal, etc
ObligationsActor
SHALL:handleMyHealth@EU Handler
.... indication[x] O0..*CodeableConcept, stringReason for the prescription (typically diagnosis, or a procedure)
ObligationsActor
MAY:able-to-populateMyHealth@EU Handler
.... periodOfUse O0..1PeriodPeriod over which the medication is to be taken (in case of multiple dosage schemes, this would be the overall period of all dosages.)
ObligationsActor
SHALL:handleMyHealth@EU Handler
.... quantityPrescribed O0..1QuantityOverall quantity of prescribed product (e.g number of packages or number of tablets).
ObligationsActor
SHALL:handleMyHealth@EU Handler
.... dosageInstructions O1..1MyHealthEuDosagingEpdDosage and administration instructions
ObligationsActor
SHALL:handleMyHealth@EU Handler
.... validityPeriod O0..1PeriodThe period over which the prescription is considered valid and dispensable. validityPeriod.start is, if missing, is assumed to be the date of issuing the prescription.
ObligationsActor
SHOULD:handleMyHealth@EU Handler
.... substitution O0..1BaseWhether and which type of substitution is allowed for this prescription. The legislation in the country of dispense applies, e.g. if this information is missing.
ObligationsActor
MAY:able-to-populateMyHealth@EU Handler
.... note O0..1stringAdditional information or comments, e.g. message to the dispenser
ObligationsActor
MAY:able-to-populateMyHealth@EU Handler

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "MyHealthEuPrescription",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription",
  "version": "1.0.0-poc",
  "name": "MyHealthEuPrescription",
  "title": "Medication Prescription model",
  "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": "MyHealth@EU refined model for ePrescription information",
  "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": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription",
  "baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.3.0"
      }
    ],
    "element": [
      {
        "id": "MyHealthEuPrescription",
        "path": "MyHealthEuPrescription",
        "short": "Medication Prescription model",
        "definition": "MyHealth@EU refined model for ePrescription information",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.header",
        "short": "Prescription header",
        "definition": "Prescription header",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.subject",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.header.subject",
        "short": "The person for whom the medication is prescribed/ordered. [Used for searching]",
        "definition": "The person for whom the medication is prescribed/ordered. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuPatient"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.identifier",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.header.identifier",
        "short": "Business identifier(s) for the prescription. [Used for searching]",
        "definition": "Business identifier(s) for the prescription. [Used for searching]",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.author[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.header.author[x]",
        "short": "The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]",
        "definition": "The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.author[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuHealthProfessionalEpd"
          },
          {
            "code": "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuOrganisation"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.date",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.header.date",
        "short": "Time of issuing (signing) the prescription by health care professional. [Used for searching]",
        "definition": "Time of issuing (signing) the prescription by health care professional. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.status",
        "path": "MyHealthEuPrescription.header.status",
        "short": "Status of authorisation for dispensing the prescription items. This should not be the status of treatment. For a multiple-item prescription, this conveys the aggregate status of the entire prescription. In case of a single-item prescription, prescriptionItem.status shall be the same as EHDSMedicationPrescription.header.status. [Used for searching]",
        "definition": "Status of authorisation for dispensing the prescription items. This should not be the status of treatment. For a multiple-item prescription, this conveys the aggregate status of the entire prescription. In case of a single-item prescription, prescriptionItem.status shall be the same as EHDSMedicationPrescription.header.status. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.source",
        "path": "MyHealthEuPrescription.header.source",
        "short": "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
        "definition": "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "EHDSDataSet.header.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.language",
        "path": "MyHealthEuPrescription.header.language",
        "short": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "BCP 47"
        }
      },
      {
        "id": "MyHealthEuPrescription.header.statusReason[x]",
        "path": "MyHealthEuPrescription.header.statusReason[x]",
        "short": "Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.",
        "definition": "Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.header.statusReason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.presentedForm",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.presentedForm",
        "short": "Entire prescription as issued. Various formats could be provided, PDF format is recommended.",
        "definition": "Entire prescription as issued. Various formats could be provided, PDF format is recommended.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.presentedForm",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem",
        "short": "Prescription line for one medication. In many countries, only one item is allowed and there shall be no expectation to be able to manage multiple items. In case multiple medications are allowed, all items need to be authored together.",
        "definition": "Prescription line for one medication. In many countries, only one item is allowed and there shall be no expectation to be able to manage multiple items. In case multiple medications are allowed, all items need to be authored together.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.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/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.identifier",
        "short": "Identifier for a single item on prescription, if exists. In case of single-item prescription, this identifier is typically the same as prescription identifier. [Used for searching]",
        "definition": "Identifier for a single item on prescription, if exists. In case of single-item prescription, this identifier is typically the same as prescription identifier. [Used for searching]",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.identifier",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.status",
        "path": "MyHealthEuPrescription.prescriptionItem.status",
        "short": "Status of a single item of a multi-item prescription. In case of single-item prescriptions, the status of prescription has the same meaning as the status of the item. [Used for searching]",
        "definition": "Status of a single item of a multi-item prescription. In case of single-item prescriptions, the status of prescription has the same meaning as the status of the item. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.statusReason[x]",
        "path": "MyHealthEuPrescription.prescriptionItem.statusReason[x]",
        "short": "Reason for the current status of prescription, for example the reason why the prescription was made invalid or why the prescription was changed from previous",
        "definition": "Reason for the current status of prescription, for example the reason why the prescription was made invalid or why the prescription was changed from previous",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.medication",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.medication",
        "short": "Prescribed product, branded, generic, virtual, extemporal, etc",
        "definition": "Prescribed product, branded, generic, virtual, extemporal, etc",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.medication",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.indication[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "MAY:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.indication[x]",
        "short": "Reason for the prescription (typically diagnosis, or a procedure)",
        "definition": "Reason for the prescription (typically diagnosis, or a procedure)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.indication[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "ICD-10, SNOMED CT, Orphacode"
        }
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.intendedUseType",
        "path": "MyHealthEuPrescription.prescriptionItem.intendedUseType",
        "short": "Intent of the prescription - prophylaxis, treatment, anesthesia, etc",
        "definition": "Intent of the prescription - prophylaxis, treatment, anesthesia, etc",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.intendedUseType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.periodOfUse",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.periodOfUse",
        "short": "Period over which the medication is to be taken (in case of multiple dosage schemes, this would be the overall period of all dosages.)",
        "definition": "Period over which the medication is to be taken (in case of multiple dosage schemes, this would be the overall period of all dosages.)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.periodOfUse",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.quantityPrescribed",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.quantityPrescribed",
        "short": "Overall quantity of prescribed product (e.g number of packages or number of tablets).",
        "definition": "Overall quantity of prescribed product (e.g number of packages or number of tablets).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM, EDQM Standard Terms"
        }
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.dosageInstructions",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.dosageInstructions",
        "short": "Dosage and administration instructions",
        "definition": "Dosage and administration instructions",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuDosagingEpd"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.validityPeriod",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:handle"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.validityPeriod",
        "short": "The period over which the prescription is considered valid and dispensable. validityPeriod.start is, if missing, is assumed to be the date of issuing the prescription.",
        "definition": "The period over which the prescription is considered valid and dispensable. validityPeriod.start is, if missing, is assumed to be the date of issuing the prescription.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.validityPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.substitution",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "MAY:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.substitution",
        "short": "Whether and which type of substitution is allowed for this prescription. The legislation in the country of dispense applies, e.g. if this information is missing.",
        "definition": "Whether and which type of substitution is allowed for this prescription. The legislation in the country of dispense applies, e.g. if this information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.substitution.allowed[x]",
        "path": "MyHealthEuPrescription.prescriptionItem.substitution.allowed[x]",
        "short": "Whether and to what extent substitution is allowed.",
        "definition": "Whether and to what extent substitution is allowed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.substitution.reason[x]",
        "path": "MyHealthEuPrescription.prescriptionItem.substitution.reason[x]",
        "short": "Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)",
        "definition": "Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.numberOfRepeats",
        "path": "MyHealthEuPrescription.prescriptionItem.numberOfRepeats",
        "short": "Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense.",
        "definition": "Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.numberOfRepeats",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.minimumDispenseInterval",
        "path": "MyHealthEuPrescription.prescriptionItem.minimumDispenseInterval",
        "short": "Minimum dispense interval. If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.",
        "definition": "Minimum dispense interval. If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.offLabel",
        "path": "MyHealthEuPrescription.prescriptionItem.offLabel",
        "short": "Indicates that the prescriber has knowingly prescribed the medication for an indication, age group, dosage, or route of administration that is not approved by the regulatory agencies and is not mentioned in the prescribing information for the drug",
        "definition": "Indicates that the prescriber has knowingly prescribed the medication for an indication, age group, dosage, or route of administration that is not approved by the regulatory agencies and is not mentioned in the prescribing information for the drug",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.offLabel.isOffLabelUse",
        "path": "MyHealthEuPrescription.prescriptionItem.offLabel.isOffLabelUse",
        "short": "Indicates off-label use. Must be 'true' when .reason is provided.",
        "definition": "Indicates off-label use. Must be 'true' when .reason is provided.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.offLabel.reason[x]",
        "path": "MyHealthEuPrescription.prescriptionItem.offLabel.reason[x]",
        "short": "Reason or related clarification for off-label use",
        "definition": "Reason or related clarification for off-label use",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.note",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "MAY:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuPrescription|1.0.0-poc"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.note",
        "short": "Additional information or comments, e.g. message to the dispenser",
        "definition": "Additional information or comments, e.g. message to the dispenser",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "MyHealthEuPrescription",
        "path": "MyHealthEuPrescription",
        "short": "Medication Prescription model",
        "definition": "MyHealth@EU refined model for ePrescription information"
      },
      {
        "id": "MyHealthEuPrescription.header",
        "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": "MyHealthEuPrescription.header"
      },
      {
        "id": "MyHealthEuPrescription.header.subject",
        "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": "MyHealthEuPrescription.header.subject",
        "type": [
          {
            "code": "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuPatient"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.identifier",
        "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": "MyHealthEuPrescription.header.identifier"
      },
      {
        "id": "MyHealthEuPrescription.header.author[x]",
        "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": "MyHealthEuPrescription.header.author[x]",
        "type": [
          {
            "code": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuHealthProfessionalEpd"
          },
          {
            "code": "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuOrganisation"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.header.date",
        "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": "MyHealthEuPrescription.header.date"
      },
      {
        "id": "MyHealthEuPrescription.presentedForm",
        "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": "MyHealthEuPrescription.presentedForm"
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem",
        "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": "MyHealthEuPrescription.prescriptionItem"
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.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": "MyHealthEuPrescription.prescriptionItem.identifier"
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.medication",
        "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": "MyHealthEuPrescription.prescriptionItem.medication",
        "type": [
          {
            "code": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.indication[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "MAY:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.indication[x]"
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.periodOfUse",
        "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": "MyHealthEuPrescription.prescriptionItem.periodOfUse"
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.quantityPrescribed",
        "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": "MyHealthEuPrescription.prescriptionItem.quantityPrescribed"
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.dosageInstructions",
        "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": "MyHealthEuPrescription.prescriptionItem.dosageInstructions",
        "type": [
          {
            "code": "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuDosagingEpd"
          }
        ]
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.validityPeriod",
        "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": "MyHealthEuPrescription.prescriptionItem.validityPeriod"
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.substitution",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "MAY:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.substitution"
      },
      {
        "id": "MyHealthEuPrescription.prescriptionItem.note",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "MAY:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "MyHealthEuPrescription.prescriptionItem.note"
      }
    ]
  }
}