# Medication prescription model - EHDS Logical Information Models v0.4.0

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

## Logical Model: Medication prescription model 

| | |
| :--- | :--- |
| *Official URL*:http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription | *Version*:0.4.0 |
| Draft as of 2026-03-03 | *Computable Name*:EHDSMedicationPrescription |

 
Logical model for medication prescription. A prescription contains one or more prescription items (medications). 

**Usages:**

* Derived from this Logical Model: [Medication prescription model obligations](StructureDefinition-EHDSMedicationPrescriptionObligations.md)
* Use this Logical Model: [Medication use model](StructureDefinition-EHDSMedicationUse.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/xtehr.eu.ehds.models|current/StructureDefinition/EHDSMedicationPrescription)

### 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-EHDSMedicationPrescription.csv), [Excel](StructureDefinition-EHDSMedicationPrescription.xlsx) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "EHDSMedicationPrescription",
  "url" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription",
  "version" : "0.4.0",
  "name" : "EHDSMedicationPrescription",
  "title" : "Medication prescription model",
  "status" : "draft",
  "date" : "2026-03-03T22:34:02+00:00",
  "publisher" : "Xt-EHR",
  "contact" : [{
    "name" : "Xt-EHR",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.xt-ehr.eu/"
    }]
  }],
  "description" : "Logical model for medication prescription. A prescription contains one or more prescription items (medications).",
  "fhirVersion" : "5.0.0",
  "mapping" : [{
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "logical",
  "abstract" : false,
  "type" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription",
  "baseDefinition" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet",
  "derivation" : "specialization",
  "differential" : {
    "element" : [{
      "id" : "EHDSMedicationPrescription",
      "path" : "EHDSMedicationPrescription",
      "short" : "Medication prescription model",
      "definition" : "Logical model for medication prescription. A prescription contains one or more prescription items (medications)."
    },
    {
      "id" : "EHDSMedicationPrescription.header",
      "path" : "EHDSMedicationPrescription.header",
      "short" : "Prescription header",
      "definition" : "Prescription header"
    },
    {
      "id" : "EHDSMedicationPrescription.header.subject",
      "path" : "EHDSMedicationPrescription.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]"
    },
    {
      "id" : "EHDSMedicationPrescription.header.identifier",
      "path" : "EHDSMedicationPrescription.header.identifier",
      "short" : "Business identifier(s) for the prescription. [Used for searching]",
      "definition" : "Business identifier(s) for the prescription. [Used for searching]",
      "min" : 1
    },
    {
      "id" : "EHDSMedicationPrescription.header.author[x]",
      "path" : "EHDSMedicationPrescription.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,
      "type" : [{
        "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
      },
      {
        "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.header.date",
      "path" : "EHDSMedicationPrescription.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
    },
    {
      "id" : "EHDSMedicationPrescription.header.status",
      "path" : "EHDSMedicationPrescription.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]"
    },
    {
      "id" : "EHDSMedicationPrescription.header.source",
      "path" : "EHDSMedicationPrescription.header.source",
      "max" : "0"
    },
    {
      "id" : "EHDSMedicationPrescription.header.statusReason[x]",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.presentedForm",
      "path" : "EHDSMedicationPrescription.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" : "*",
      "type" : [{
        "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem",
      "path" : "EHDSMedicationPrescription.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" : "*",
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.identifier",
      "path" : "EHDSMedicationPrescription.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" : "*",
      "type" : [{
        "code" : "Identifier"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.status",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.medication",
      "path" : "EHDSMedicationPrescription.prescriptionItem.medication",
      "short" : "Prescribed product, branded, generic, virtual, extemporal, etc",
      "definition" : "Prescribed product, branded, generic, virtual, extemporal, etc",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.indication[x]",
      "path" : "EHDSMedicationPrescription.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" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      }],
      "binding" : {
        "strength" : "preferred",
        "description" : "ICD-10, SNOMED CT, Orphacode"
      }
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.intendedUseType",
      "path" : "EHDSMedicationPrescription.prescriptionItem.intendedUseType",
      "short" : "Intent of the prescription - prophylaxis, treatment, anesthesia, etc",
      "definition" : "Intent of the prescription - prophylaxis, treatment, anesthesia, etc",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.periodOfUse",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "Period"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "Quantity"
      }],
      "binding" : {
        "strength" : "preferred",
        "description" : "UCUM, EDQM Standard Terms"
      }
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
      "path" : "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
      "short" : "Dosage and administration instructions",
      "definition" : "Dosage and administration instructions",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.validityPeriod",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "Period"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.substitution",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "boolean"
      },
      {
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.numberOfRepeats",
      "path" : "EHDSMedicationPrescription.prescriptionItem.numberOfRepeats",
      "short" : "Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense. The default value is 0 (no repeats).",
      "definition" : "Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense. The default value is 0 (no repeats).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "Quantity"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.offLabel",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "boolean"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
      "path" : "EHDSMedicationPrescription.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" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      }]
    },
    {
      "id" : "EHDSMedicationPrescription.prescriptionItem.note",
      "path" : "EHDSMedicationPrescription.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",
      "type" : [{
        "code" : "string"
      }]
    }]
  }
}

```
