FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/EHDSMedicationPrescription

Packagehl7.fhir.eu.imaging-manifest-r5
TypeStructureDefinition
IdEHDSMedicationPrescription
FHIR VersionR5
Sourcehttp://hl7.eu/fhir/imaging-manifest-r5/https://build.fhir.org/ig/hl7-eu/imaging-manifest/StructureDefinition-EHDSMedicationPrescription.html
URLhttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription
Version0.1.0
Statusdraft
Date2025-03-21T08:17:12+00:00
NameEHDSMedicationPrescription
TitleMedication prescription model
Realmeu
Authorityhl7
DescriptionLogical model for medication prescription body. A prescription contains one or more prescription items.
CopyrightUsed by permission of HL7 Europe, all rights reserved Creative Commons License
Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription
Kindlogical

Resources that use this resource

StructureDefinition
EHDSCarePlanCare plan model
EHDSDispenseDeclineDispense decline
EHDSCarePlanCare plan model
EHDSDispenseDeclineDispense decline

Resources that this resource uses

StructureDefinition
EHDSAttachmentAttachment model
EHDSDosagingDosaging model
EHDSMedicationMedicinal product model
EHDSMedicationPrescriptionHeaderMedication prescription header model
EHDSAttachmentAttachment model
EHDSDosagingDosaging model
EHDSMedicationMedicinal product model
EHDSMedicationPrescriptionHeaderMedication prescription header model

Narrative

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

Generated Narrative: StructureDefinition EHDSMedicationPrescription

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSMedicationPrescription 0..*BaseMedication prescription model
Instances of this logical model can be the target of a Reference
... header 1..1EHDSMedicationPrescriptionHeaderPrescription header
... presentedForm 0..*EHDSAttachmentPresented Form
... comment 0..*stringAdditional information or comments
... prescriptionItem 1..*BasePresription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together.
.... identifier 0..1IdentifierIdentifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier.
.... medication 1..1EHDSMedicationPrescribed product, branded, generic, virtual, extemporal, etc
.... indication 0..*CodeableConceptReason for the prescription (typically diagnosis, or a procedure)
Binding Description: (preferred): shall we have a preferred binding here?
.... indicationText 0..1stringReason for the prescription in textual form. This might not be allowed by some implementations.
.... prescriptionIntent 0..1CodeableConceptIntent of the prescription - prophylaxis, treatment, anesthesia, etc
.... treatmentPeriod 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).
.... dosageInstructions 0..*EHDSDosagingDosaging and administration instructions
.... preparationInstructions 0..1stringAdditional instructions about preparation or dispense
.... substitution 0..1BaseWhether and which type of substitution is allowed for this medication treatment line
..... allowed[x] 0..1Whether and to what extent substitution is allowed.
...... allowedBooleanboolean
...... allowedCodeableConceptCodeableConcept
..... reason[x] 0..1Reason for the substitution requirement
...... reasonCodeableConceptCodeableConcept
...... reasonStringstring
.... status 1..1CodeableConceptStatus of the prescription, this should not be status of treatment
.... 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
.... repeatsAllowed 0..1integerNumber of refills authorized
.... minimumDispenseInterval 0..1DurationMinimum Dispense Interval
.... 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
.... comment 0..*stringAdditional information or comments

doco Documentation for this format

Source

{
  "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": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription",
  "version": "0.1.0",
  "name": "EHDSMedicationPrescription",
  "title": "Medication prescription model",
  "status": "draft",
  "date": "2025-03-21T08:17:12+00:00",
  "publisher": "HL7 Europe",
  "contact": [
    {
      "name": "Xt-EHR",
      "telecom": [
        {
          "system": "url",
          "value": "http://Xt-EHR.eu"
        }
      ]
    }
  ],
  "description": "Logical model for medication prescription body. A prescription contains one or more prescription items.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "150",
          "display": "Europe"
        }
      ]
    }
  ],
  "copyright": "Used by permission of HL7 Europe, all rights reserved Creative Commons License",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "EHDSMedicationPrescription",
        "path": "EHDSMedicationPrescription",
        "short": "Medication prescription model",
        "definition": "Logical model for medication prescription body. 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 data elements",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescriptionHeader"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.presentedForm",
        "path": "EHDSMedicationPrescription.presentedForm",
        "short": "Presented Form",
        "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": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.comment",
        "path": "EHDSMedicationPrescription.comment",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.comment",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem",
        "path": "EHDSMedicationPrescription.prescriptionItem",
        "short": "Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together.",
        "definition": "Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines 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 line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier.",
        "definition": "Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.medication",
        "path": "EHDSMedicationPrescription.prescriptionItem.medication",
        "short": "Prescribed product, branded, generic, virtual, extemporal, etc",
        "definition": "Prescribed product, branded, generic, virtual, extemporal, etc",
        "comment": "Medication model changed - described within that model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.medication",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.indication",
        "path": "EHDSMedicationPrescription.prescriptionItem.indication",
        "short": "Reason for the prescription (typically diagnosis, or a procedure)",
        "definition": "Reason for the prescription (typically diagnosis, or a procedure)",
        "comment": "No change (A.1.5.10)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.indication",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "shall we have a preferred binding here?"
        }
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.indicationText",
        "path": "EHDSMedicationPrescription.prescriptionItem.indicationText",
        "short": "Reason for the prescription in textual form. This might not be allowed by some implementations.",
        "definition": "Reason for the prescription in textual form. This might not be allowed by some implementations.",
        "comment": "No change (code not required) A1.5.10",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.indicationText",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent",
        "path": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent",
        "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.prescriptionIntent",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod",
        "path": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod",
        "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.)",
        "comment": "Starting Date of Therapy A1.5.6. End date added.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod",
          "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).",
        "comment": "No change",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "short": "Dosaging and administration instructions",
        "definition": "Dosaging and administration instructions",
        "comment": "Dosage model significantly changed towards more granularity. A.1.5.3-A.1.5.7",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
        "path": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
        "short": "Additional instructions about preparation or dispense",
        "definition": "Additional instructions about preparation or dispense",
        "comment": "Added.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.substitution",
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution",
        "short": "Whether and which type of substitution is allowed for this medication treatment line",
        "definition": "Whether and which type of substitution is allowed for this medication treatment line",
        "comment": "No change but subelements added. A 1.5.11",
        "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",
        "definition": "Reason for the substitution requirement",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.status",
        "path": "EHDSMedicationPrescription.prescriptionItem.status",
        "short": "Status of the prescription, this should not be status of treatment",
        "definition": "Status of the prescription, this should not be status of treatment",
        "comment": "Added.",
        "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",
        "comment": "Added.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
        "path": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
        "short": "Number of refills authorized",
        "definition": "How many times the prescription item can be dispensed in addition to the original dispense.",
        "comment": "Added. A.1.5.9 Repeats",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
        "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
        "short": "Minimum Dispense Interval",
        "definition": "If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.",
        "comment": "Added, based on ISO 17532:2024 A.7.3 Minimum dispensing interval",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ]
      },
      {
        "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.comment",
        "path": "EHDSMedicationPrescription.prescriptionItem.comment",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "comment": "Added.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.comment",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSMedicationPrescription",
        "path": "EHDSMedicationPrescription",
        "short": "Medication prescription model",
        "definition": "Logical model for medication prescription body. A prescription contains one or more prescription items."
      },
      {
        "id": "EHDSMedicationPrescription.header",
        "path": "EHDSMedicationPrescription.header",
        "short": "Prescription header",
        "definition": "Prescription header data elements",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescriptionHeader"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.presentedForm",
        "path": "EHDSMedicationPrescription.presentedForm",
        "short": "Presented Form",
        "definition": "Entire prescription as issued. Various formats could be provided, pdf format is recommended.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.comment",
        "path": "EHDSMedicationPrescription.comment",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem",
        "path": "EHDSMedicationPrescription.prescriptionItem",
        "short": "Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together.",
        "definition": "Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together.",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.identifier",
        "path": "EHDSMedicationPrescription.prescriptionItem.identifier",
        "short": "Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier.",
        "definition": "Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.medication",
        "path": "EHDSMedicationPrescription.prescriptionItem.medication",
        "short": "Prescribed product, branded, generic, virtual, extemporal, etc",
        "definition": "Prescribed product, branded, generic, virtual, extemporal, etc",
        "comment": "Medication model changed - described within that model",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.indication",
        "path": "EHDSMedicationPrescription.prescriptionItem.indication",
        "short": "Reason for the prescription (typically diagnosis, or a procedure)",
        "definition": "Reason for the prescription (typically diagnosis, or a procedure)",
        "comment": "No change (A.1.5.10)",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "shall we have a preferred binding here?"
        }
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.indicationText",
        "path": "EHDSMedicationPrescription.prescriptionItem.indicationText",
        "short": "Reason for the prescription in textual form. This might not be allowed by some implementations.",
        "definition": "Reason for the prescription in textual form. This might not be allowed by some implementations.",
        "comment": "No change (code not required) A1.5.10",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent",
        "path": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent",
        "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.treatmentPeriod",
        "path": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod",
        "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.)",
        "comment": "Starting Date of Therapy A1.5.6. End date added.",
        "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).",
        "comment": "No change",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "short": "Dosaging and administration instructions",
        "definition": "Dosaging and administration instructions",
        "comment": "Dosage model significantly changed towards more granularity. A.1.5.3-A.1.5.7",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
        "path": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
        "short": "Additional instructions about preparation or dispense",
        "definition": "Additional instructions about preparation or dispense",
        "comment": "Added.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.substitution",
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution",
        "short": "Whether and which type of substitution is allowed for this medication treatment line",
        "definition": "Whether and which type of substitution is allowed for this medication treatment line",
        "comment": "No change but subelements added. A 1.5.11",
        "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",
        "definition": "Reason for the substitution requirement",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.status",
        "path": "EHDSMedicationPrescription.prescriptionItem.status",
        "short": "Status of the prescription, this should not be status of treatment",
        "definition": "Status of the prescription, this should not be status of treatment",
        "comment": "Added.",
        "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",
        "comment": "Added.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
        "path": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
        "short": "Number of refills authorized",
        "definition": "How many times the prescription item can be dispensed in addition to the original dispense.",
        "comment": "Added. A.1.5.9 Repeats",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
        "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
        "short": "Minimum Dispense Interval",
        "definition": "If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.",
        "comment": "Added, based on ISO 17532:2024 A.7.3 Minimum dispensing interval",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Duration"
          }
        ]
      },
      {
        "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.comment",
        "path": "EHDSMedicationPrescription.prescriptionItem.comment",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "comment": "Added.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}