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

FHIR IG analytics

Packagextehr.eu.ehds.models
Resource TypeStructureDefinition
IdStructureDefinition-EHDSMedicationPrescription.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationPrescription.html
URLhttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription
Version0.2.1
Statusdraft
Date2026-02-04T19:00:50+00:00
NameEHDSMedicationPrescription
TitleMedication prescription model
DescriptionLogical model for medication prescription. A prescription contains one or more prescription items.
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
EHDSAttachmentAttachment model
EHDSConditionCondition model
EHDSDataSetDataSet model
EHDSDosagingDosaging model
EHDSHealthProfessionalHealth professional model
EHDSMedicationMedication model
EHDSOrganisationOrganisation model

Narrative

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

Generated Narrative: StructureDefinition EHDSMedicationPrescription

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSMedicationPrescription 0..*EHDSDataSetMedication prescription model

Elements defined in Ancestors:header
Instances of this logical model can be the target of a Reference
... header 1..1BasePrescription header
.... subject 1..1EHDSPatientThe person for whom the medication is prescribed/ordered. [Used for searching]
.... identifier 1..*IdentifierBusiness identifier(s) for the prescription. [Used for searching]
.... author[x] 1..*The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]
..... authorEHDSHealthProfessionalEHDSHealthProfessional
..... authorEHDSOrganisationEHDSOrganisation
.... date 1..1dateTimeTime of issuing (signing) the prescription by health care professional. [Used for searching]
.... status 1..1CodeableConceptStatus 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]
.... statusReason[x] 0..1Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.
..... statusReasonCodeableConceptCodeableConcept
..... statusReasonStringstring
... presentedForm 0..*EHDSAttachmentEntire prescription as issued. Various formats could be provided, PDF format is recommended.
... prescriptionItem 1..*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.
.... identifier 1..1IdentifierIdentifier 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]
.... status 1..1CodeableConceptStatus 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.
.... statusReason[x] 0..1Reason for the current status of prescription, for example the reason why the prescription was made invalid or why the prescription was changed from previous
..... statusReasonCodeableConceptCodeableConcept
..... statusReasonStringstring
.... medication 1..1EHDSMedicationPrescribed product, branded, generic, virtual, extemporal, etc
.... indication[x] 0..*Reason for the prescription (typically diagnosis, or a procedure)
Binding Description: (preferred): ICD-10, SNOMED CT, Orphacode
..... indicationCodeableConceptCodeableConcept
..... indicationEHDSConditionEHDSCondition
..... indicationStringstring
.... intendedUseType 0..1CodeableConceptIntent of the prescription - prophylaxis, treatment, anesthesia, etc
.... periodOfUse 0..1PeriodPeriod over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)
.... quantityPrescribed 0..1QuantityOverall quantity of prescribed product (e.g number of packages or number of tablets).
Binding Description: (preferred): UCUM, EDQM Standard Terms
.... dosageInstructions 1..*EHDSDosagingDosaging and administration instructions
.... validityPeriod 0..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.
.... substitution 0..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.
..... allowed[x] 0..1Whether and to what extent substitution is allowed.
...... allowedBooleanboolean
...... allowedCodeableConceptCodeableConcept
..... reason[x] 0..1Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)
...... reasonCodeableConceptCodeableConcept
...... reasonStringstring
.... numberOfRepeats 0..1integerNumber of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense.
.... minimumDispenseInterval 0..1QuantityMinimum dispense interval. If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.
.... offLabel 0..1BaseIndicates 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
..... isOffLabelUse 1..1booleanIndicates off-label use. Must be 'true' when .reason is provided.
..... reason[x] 0..*Reason or related clarification for off-label use
...... reasonCodeableConceptCodeableConcept
...... reasonStringstring
.... note 0..1stringAdditional information or comments, e.g. message to the dispenser

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EHDSMedicationPrescription",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    }
  ],
  "url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription",
  "version": "0.2.1",
  "name": "EHDSMedicationPrescription",
  "title": "Medication prescription model",
  "status": "draft",
  "date": "2026-02-04T19:00:50+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.",
  "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",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.2.1"
      }
    ],
    "element": [
      {
        "id": "EHDSMedicationPrescription",
        "path": "EHDSMedicationPrescription",
        "short": "Medication prescription model",
        "definition": "Logical model for medication prescription. A prescription contains one or more prescription items.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header",
        "path": "EHDSMedicationPrescription.header",
        "short": "Prescription header",
        "definition": "Prescription header",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "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]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          }
        ]
      },
      {
        "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,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "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,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.author[x]",
          "min": 0,
          "max": "*"
        },
        "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,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "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]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.source",
        "path": "EHDSMedicationPrescription.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": "1",
        "base": {
          "path": "EHDSDataSet.header.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.language",
        "path": "EHDSMedicationPrescription.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": "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",
        "base": {
          "path": "EHDSMedicationPrescription.header.statusReason[x]",
          "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": "*",
        "base": {
          "path": "EHDSMedicationPrescription.presentedForm",
          "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": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem",
          "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": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.identifier",
          "min": 1,
          "max": "1"
        },
        "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.",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.status",
          "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
          "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.medication",
          "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": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.indication[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition"
          },
          {
            "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.intendedUseType",
          "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 dosaging schemes, this would be the overall period of all dosages.)",
        "definition": "Period over which the medication is to be taken (in case of multiple dosaging 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": "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM, EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "short": "Dosaging and administration instructions",
        "definition": "Dosaging and administration instructions",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosaging"
          }
        ]
      },
      {
        "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.validityPeriod",
          "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution",
          "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
          "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
          "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.",
        "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": "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
          "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel",
          "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
          "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": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
          "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",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSMedicationPrescription",
        "path": "EHDSMedicationPrescription",
        "short": "Medication prescription model",
        "definition": "Logical model for medication prescription. A prescription contains one or more prescription items."
      },
      {
        "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.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": "1",
        "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.",
        "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.",
        "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": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition"
          },
          {
            "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 dosaging schemes, this would be the overall period of all dosages.)",
        "definition": "Period over which the medication is to be taken (in case of multiple dosaging 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": "Dosaging and administration instructions",
        "definition": "Dosaging and administration instructions",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosaging"
          }
        ]
      },
      {
        "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.",
        "definition": "Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense.",
        "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"
          }
        ]
      }
    ]
  }
}