PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.imaging-r5@0.1.0-ballot
    https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription
{
  "description": "Logical model for medication prescription body. A prescription contains one or more prescription items.",
  "_filename": "StructureDefinition-EHDSMedicationPrescription.json",
  "package_name": "hl7.fhir.eu.imaging-r5",
  "date": "2025-03-21T08:17:12+00:00",
  "derivation": "specialization",
  "publisher": "HL7 Europe",
  "fhirVersion": "5.0.0",
  "jurisdiction": [ {
    "coding": [ {
      "code": "150",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "display": "Europe"
    } ]
  } ],
  "name": "EHDSMedicationPrescription",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "copyright": "Used by permission of HL7 Europe, all rights reserved Creative Commons License",
  "type": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Medication prescription model",
  "package_version": "0.1.0-ballot",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
    "valueCode": "can-be-target"
  } ],
  "snapshot": {
    "element": [ {
      "path": "EHDSMedicationPrescription",
      "min": 0,
      "definition": "Logical model for medication prescription body. A prescription contains one or more prescription items.",
      "isModifier": false,
      "short": "Medication prescription model",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "max": "*",
      "id": "EHDSMedicationPrescription",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      }
    }, {
      "id": "EHDSMedicationPrescription.header",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSMedicationPrescription.header"
      },
      "path": "EHDSMedicationPrescription.header",
      "type": [ {
        "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescriptionHeader"
      } ],
      "short": "Prescription header",
      "definition": "Prescription header data elements"
    }, {
      "id": "EHDSMedicationPrescription.presentedForm",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSMedicationPrescription.presentedForm"
      },
      "path": "EHDSMedicationPrescription.presentedForm",
      "type": [ {
        "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment"
      } ],
      "short": "Presented Form",
      "definition": "Entire prescription as issued. Various formats could be provided, pdf format is recommended."
    }, {
      "id": "EHDSMedicationPrescription.comment",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSMedicationPrescription.comment"
      },
      "path": "EHDSMedicationPrescription.comment",
      "type": [ {
        "code": "string"
      } ],
      "short": "Additional information or comments",
      "definition": "Additional information or comments"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem",
      "max": "*",
      "min": 1,
      "base": {
        "max": "*",
        "min": 1,
        "path": "EHDSMedicationPrescription.prescriptionItem"
      },
      "path": "EHDSMedicationPrescription.prescriptionItem",
      "type": [ {
        "code": "Base"
      } ],
      "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."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.identifier",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.identifier"
      },
      "path": "EHDSMedicationPrescription.prescriptionItem.identifier",
      "type": [ {
        "code": "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."
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.medication",
      "min": 1,
      "definition": "Prescribed product, branded, generic, virtual, extemporal, etc",
      "short": "Prescribed product, branded, generic, virtual, extemporal, etc",
      "type": [ {
        "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.medication",
      "comment": "Medication model changed - described within that model",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSMedicationPrescription.prescriptionItem.medication"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.indication",
      "min": 0,
      "definition": "Reason for the prescription (typically diagnosis, or a procedure)",
      "short": "Reason for the prescription (typically diagnosis, or a procedure)",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "description": "shall we have a preferred binding here?"
      },
      "max": "*",
      "id": "EHDSMedicationPrescription.prescriptionItem.indication",
      "comment": "No change (A.1.5.10)",
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.indication"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.indicationText",
      "min": 0,
      "definition": "Reason for the prescription in textual form. This might not be allowed by some implementations.",
      "short": "Reason for the prescription in textual form. This might not be allowed by some implementations.",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.indicationText",
      "comment": "No change (code not required) A1.5.10",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.indicationText"
      }
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent"
      },
      "path": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Intent of the prescription - prophylaxis, treatment, anesthesia, etc",
      "definition": "Intent of the prescription - prophylaxis, treatment, anesthesia, etc"
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod",
      "min": 0,
      "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.)",
      "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.)",
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod",
      "comment": "Starting Date of Therapy A1.5.6. End date added.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
      "min": 0,
      "definition": "Overall quantity of prescribed product (e.g number of packages or number of tablets).",
      "short": "Overall quantity of prescribed product (e.g number of packages or number of tablets).",
      "type": [ {
        "code": "Quantity"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
      "comment": "No change",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
      "min": 0,
      "definition": "Dosaging and administration instructions",
      "short": "Dosaging and administration instructions",
      "type": [ {
        "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"
      } ],
      "max": "*",
      "id": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
      "comment": "Dosage model significantly changed towards more granularity. A.1.5.3-A.1.5.7",
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
      "min": 0,
      "definition": "Additional instructions about preparation or dispense",
      "short": "Additional instructions about preparation or dispense",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
      "comment": "Added.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.substitution",
      "min": 0,
      "definition": "Whether and which type of substitution is allowed for this medication treatment line",
      "short": "Whether and which type of substitution is allowed for this medication treatment line",
      "type": [ {
        "code": "Base"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.substitution",
      "comment": "No change but subelements added. A 1.5.11",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution"
      }
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]"
      },
      "path": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
      "type": [ {
        "code": "boolean"
      }, {
        "code": "CodeableConcept"
      } ],
      "short": "Whether and to what extent substitution is allowed.",
      "definition": "Whether and to what extent substitution is allowed."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]"
      },
      "path": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "string"
      } ],
      "short": "Reason for the substitution requirement",
      "definition": "Reason for the substitution requirement"
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.status",
      "min": 1,
      "definition": "Status of the prescription, this should not be status of treatment",
      "short": "Status of the prescription, this should not be status of treatment",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.status",
      "comment": "Added.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSMedicationPrescription.prescriptionItem.status"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
      "min": 0,
      "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",
      "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",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
      "comment": "Added.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
      "min": 0,
      "definition": "How many times the prescription item can be dispensed in addition to the original dispense.",
      "short": "Number of refills authorized",
      "type": [ {
        "code": "integer"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
      "comment": "Added. A.1.5.9 Repeats",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed"
      }
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
      "min": 0,
      "definition": "If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.",
      "short": "Minimum Dispense Interval",
      "type": [ {
        "code": "Duration"
      } ],
      "max": "1",
      "id": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
      "comment": "Added, based on ISO 17532:2024 A.7.3 Minimum dispensing interval",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval"
      }
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.offLabel",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.offLabel"
      },
      "path": "EHDSMedicationPrescription.prescriptionItem.offLabel",
      "type": [ {
        "code": "Base"
      } ],
      "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"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse"
      },
      "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Indicates off-label use. Must be 'true' when .reason is provided.",
      "definition": "Indicates off-label use. Must be 'true' when .reason is provided."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]"
      },
      "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "string"
      } ],
      "short": "Reason or related clarification for off-label use",
      "definition": "Reason or related clarification for off-label use"
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.comment",
      "min": 0,
      "definition": "Additional information or comments",
      "short": "Additional information or comments",
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "EHDSMedicationPrescription.prescriptionItem.comment",
      "comment": "Added.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSMedicationPrescription.prescriptionItem.comment"
      }
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "5.0.0"
    } ]
  },
  "status": "draft",
  "id": "2ac1381a-a30a-4afb-a7e7-ce7fc2858887",
  "kind": "logical",
  "url": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription",
  "version": "0.1.0",
  "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",
      "max": "1",
      "min": 1,
      "path": "EHDSMedicationPrescription.header",
      "type": [ {
        "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescriptionHeader"
      } ],
      "short": "Prescription header",
      "definition": "Prescription header data elements"
    }, {
      "id": "EHDSMedicationPrescription.presentedForm",
      "max": "*",
      "min": 0,
      "path": "EHDSMedicationPrescription.presentedForm",
      "type": [ {
        "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment"
      } ],
      "short": "Presented Form",
      "definition": "Entire prescription as issued. Various formats could be provided, pdf format is recommended."
    }, {
      "id": "EHDSMedicationPrescription.comment",
      "max": "*",
      "min": 0,
      "path": "EHDSMedicationPrescription.comment",
      "type": [ {
        "code": "string"
      } ],
      "short": "Additional information or comments",
      "definition": "Additional information or comments"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem",
      "max": "*",
      "min": 1,
      "path": "EHDSMedicationPrescription.prescriptionItem",
      "type": [ {
        "code": "Base"
      } ],
      "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."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.identifier",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.identifier",
      "type": [ {
        "code": "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."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.medication",
      "max": "1",
      "min": 1,
      "path": "EHDSMedicationPrescription.prescriptionItem.medication",
      "type": [ {
        "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"
      } ],
      "short": "Prescribed product, branded, generic, virtual, extemporal, etc",
      "comment": "Medication model changed - described within that model",
      "definition": "Prescribed product, branded, generic, virtual, extemporal, etc"
    }, {
      "path": "EHDSMedicationPrescription.prescriptionItem.indication",
      "min": 0,
      "definition": "Reason for the prescription (typically diagnosis, or a procedure)",
      "short": "Reason for the prescription (typically diagnosis, or a procedure)",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "description": "shall we have a preferred binding here?"
      },
      "max": "*",
      "id": "EHDSMedicationPrescription.prescriptionItem.indication",
      "comment": "No change (A.1.5.10)"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.indicationText",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.indicationText",
      "type": [ {
        "code": "string"
      } ],
      "short": "Reason for the prescription in textual form. This might not be allowed by some implementations.",
      "comment": "No change (code not required) A1.5.10",
      "definition": "Reason for the prescription in textual form. This might not be allowed by some implementations."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.prescriptionIntent",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Intent of the prescription - prophylaxis, treatment, anesthesia, etc",
      "definition": "Intent of the prescription - prophylaxis, treatment, anesthesia, etc"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.treatmentPeriod",
      "type": [ {
        "code": "Period"
      } ],
      "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.)",
      "comment": "Starting Date of Therapy A1.5.6. End date added.",
      "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.)"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
      "type": [ {
        "code": "Quantity"
      } ],
      "short": "Overall quantity of prescribed product (e.g number of packages or number of tablets).",
      "comment": "No change",
      "definition": "Overall quantity of prescribed product (e.g number of packages or number of tablets)."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
      "max": "*",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
      "type": [ {
        "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"
      } ],
      "short": "Dosaging and administration instructions",
      "comment": "Dosage model significantly changed towards more granularity. A.1.5.3-A.1.5.7",
      "definition": "Dosaging and administration instructions"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.preparationInstructions",
      "type": [ {
        "code": "string"
      } ],
      "short": "Additional instructions about preparation or dispense",
      "comment": "Added.",
      "definition": "Additional instructions about preparation or dispense"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.substitution",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.substitution",
      "type": [ {
        "code": "Base"
      } ],
      "short": "Whether and which type of substitution is allowed for this medication treatment line",
      "comment": "No change but subelements added. A 1.5.11",
      "definition": "Whether and which type of substitution is allowed for this medication treatment line"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
      "type": [ {
        "code": "boolean"
      }, {
        "code": "CodeableConcept"
      } ],
      "short": "Whether and to what extent substitution is allowed.",
      "definition": "Whether and to what extent substitution is allowed."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "string"
      } ],
      "short": "Reason for the substitution requirement",
      "definition": "Reason for the substitution requirement"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.status",
      "max": "1",
      "min": 1,
      "path": "EHDSMedicationPrescription.prescriptionItem.status",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Status of the prescription, this should not be status of treatment",
      "comment": "Added.",
      "definition": "Status of the prescription, this should not be status of treatment"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "string"
      } ],
      "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",
      "comment": "Added.",
      "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"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.repeatsAllowed",
      "type": [ {
        "code": "integer"
      } ],
      "short": "Number of refills authorized",
      "comment": "Added. A.1.5.9 Repeats",
      "definition": "How many times the prescription item can be dispensed in addition to the original dispense."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
      "type": [ {
        "code": "Duration"
      } ],
      "short": "Minimum Dispense Interval",
      "comment": "Added, based on ISO 17532:2024 A.7.3 Minimum dispensing interval",
      "definition": "If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.offLabel",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.offLabel",
      "type": [ {
        "code": "Base"
      } ],
      "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"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
      "max": "1",
      "min": 1,
      "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Indicates off-label use. Must be 'true' when .reason is provided.",
      "definition": "Indicates off-label use. Must be 'true' when .reason is provided."
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
      "max": "*",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "string"
      } ],
      "short": "Reason or related clarification for off-label use",
      "definition": "Reason or related clarification for off-label use"
    }, {
      "id": "EHDSMedicationPrescription.prescriptionItem.comment",
      "max": "*",
      "min": 0,
      "path": "EHDSMedicationPrescription.prescriptionItem.comment",
      "type": [ {
        "code": "string"
      } ],
      "short": "Additional information or comments",
      "comment": "Added.",
      "definition": "Additional information or comments"
    } ]
  },
  "contact": [ {
    "name": "Xt-EHR",
    "telecom": [ {
      "value": "http://Xt-EHR.eu",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base"
}