PackagesCanonicalsLogsProblems
    Packages
    xtehr.eu.ehds.models@0.3.0
    http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense
{
  "description": "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.",
  "_filename": "StructureDefinition-EHDSMedicationDispense.json",
  "package_name": "xtehr.eu.ehds.models",
  "date": "2026-02-06T19:30:52+01:00",
  "derivation": "specialization",
  "publisher": "Xt-EHR",
  "fhirVersion": "5.0.0",
  "name": "EHDSMedicationDispense",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Medication dispense model",
  "package_version": "0.3.0",
  "snapshot": {
    "element": [ {
      "path": "EHDSMedicationDispense",
      "min": 0,
      "definition": "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.",
      "isModifier": false,
      "short": "Medication dispense model",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "max": "*",
      "id": "EHDSMedicationDispense",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      }
    }, {
      "id": "EHDSMedicationDispense.header",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSDataSet.header"
      },
      "path": "EHDSMedicationDispense.header",
      "type": [ {
        "code": "Base"
      } ],
      "short": "Basic metadata for this information",
      "definition": "Basic metadata for this information"
    }, {
      "id": "EHDSMedicationDispense.header.subject",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSDataSet.header.subject"
      },
      "path": "EHDSMedicationDispense.header.subject",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
      } ],
      "short": "Patient/subject information",
      "definition": "Patient/subject information"
    }, {
      "id": "EHDSMedicationDispense.header.identifier",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSDataSet.header.identifier"
      },
      "path": "EHDSMedicationDispense.header.identifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).",
      "definition": "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries)."
    }, {
      "id": "EHDSMedicationDispense.header.author[x]",
      "max": "*",
      "min": 1,
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSDataSet.header.author[x]"
      },
      "path": "EHDSMedicationDispense.header.author[x]",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
      }, {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
      }, {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
      } ],
      "short": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
      "definition": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information."
    }, {
      "id": "EHDSMedicationDispense.header.date",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSDataSet.header.date"
      },
      "path": "EHDSMedicationDispense.header.date",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date and time of issuing the dispense record",
      "definition": "Date and time of issuing the dispense record"
    }, {
      "path": "EHDSMedicationDispense.header.status",
      "min": 1,
      "definition": "The status of the dispense, e.g. completed, declined, entered-in-error",
      "short": "The status of the dispense, e.g. completed, declined, entered-in-error",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "description": "HL7 MedicationDispense Status Codes"
      },
      "max": "1",
      "id": "EHDSMedicationDispense.header.status",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSDataSet.header.status"
      }
    }, {
      "id": "EHDSMedicationDispense.header.source",
      "max": "0",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSDataSet.header.source"
      },
      "path": "EHDSMedicationDispense.header.source",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "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."
    }, {
      "path": "EHDSMedicationDispense.header.language",
      "min": 0,
      "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
      "short": "Language in which the resource is written. Language is expressed by the IETF language tag.",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "description": "BCP 47"
      },
      "max": "1",
      "id": "EHDSMedicationDispense.header.language",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSDataSet.header.language"
      }
    }, {
      "id": "EHDSMedicationDispense.dispenseLocation",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationDispense.dispenseLocation"
      },
      "path": "EHDSMedicationDispense.dispenseLocation",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
      } ],
      "short": "Location of dispense",
      "definition": "Location of dispense"
    }, {
      "id": "EHDSMedicationDispense.receiver[x]",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationDispense.receiver[x]"
      },
      "path": "EHDSMedicationDispense.receiver[x]",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
      }, {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
      }, {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson"
      } ],
      "short": "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
      "definition": "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver."
    }, {
      "id": "EHDSMedicationDispense.relatedRequest",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "EHDSMedicationDispense.relatedRequest"
      },
      "path": "EHDSMedicationDispense.relatedRequest",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Identifier of the prescription item the dispense is related to",
      "definition": "Identifier of the prescription item the dispense is related to"
    }, {
      "id": "EHDSMedicationDispense.medication",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSMedicationDispense.medication"
      },
      "path": "EHDSMedicationDispense.medication",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
      } ],
      "short": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
      "definition": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created."
    }, {
      "path": "EHDSMedicationDispense.dispensedQuantity",
      "min": 1,
      "definition": "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
      "short": "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
      "type": [ {
        "code": "Quantity"
      } ],
      "binding": {
        "strength": "preferred",
        "description": "UCUM, EDQM Standard Terms"
      },
      "max": "1",
      "id": "EHDSMedicationDispense.dispensedQuantity",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EHDSMedicationDispense.dispensedQuantity"
      }
    }, {
      "id": "EHDSMedicationDispense.timeOfDispensation",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationDispense.timeOfDispensation"
      },
      "path": "EHDSMedicationDispense.timeOfDispensation",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
      "definition": "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record."
    }, {
      "id": "EHDSMedicationDispense.substitutionOccurred",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationDispense.substitutionOccurred"
      },
      "path": "EHDSMedicationDispense.substitutionOccurred",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
      "definition": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction."
    }, {
      "id": "EHDSMedicationDispense.dosageInstructions",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationDispense.dosageInstructions"
      },
      "path": "EHDSMedicationDispense.dosageInstructions",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
      } ],
      "short": "Dosage and administration instructions",
      "definition": "Dosage and administration instructions"
    }, {
      "id": "EHDSMedicationDispense.note",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EHDSMedicationDispense.note"
      },
      "path": "EHDSMedicationDispense.note",
      "type": [ {
        "code": "string"
      } ],
      "short": "Additional information or comments",
      "definition": "Additional information or comments"
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "0.3.0"
    } ]
  },
  "status": "draft",
  "id": "6b61efc7-989e-4a61-bc3d-fa63a0b74029",
  "kind": "logical",
  "url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
  "version": "0.3.0",
  "differential": {
    "element": [ {
      "id": "EHDSMedicationDispense",
      "path": "EHDSMedicationDispense",
      "short": "Medication dispense model",
      "definition": "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information."
    }, {
      "id": "EHDSMedicationDispense.header.author[x]",
      "min": 1,
      "path": "EHDSMedicationDispense.header.author[x]",
      "short": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
      "definition": "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information."
    }, {
      "id": "EHDSMedicationDispense.header.date",
      "min": 1,
      "path": "EHDSMedicationDispense.header.date",
      "short": "Date and time of issuing the dispense record",
      "definition": "Date and time of issuing the dispense record"
    }, {
      "id": "EHDSMedicationDispense.header.status",
      "path": "EHDSMedicationDispense.header.status",
      "short": "The status of the dispense, e.g. completed, declined, entered-in-error",
      "binding": {
        "strength": "preferred",
        "description": "HL7 MedicationDispense Status Codes"
      },
      "definition": "The status of the dispense, e.g. completed, declined, entered-in-error"
    }, {
      "id": "EHDSMedicationDispense.header.source",
      "max": "0",
      "path": "EHDSMedicationDispense.header.source"
    }, {
      "id": "EHDSMedicationDispense.dispenseLocation",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationDispense.dispenseLocation",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
      } ],
      "short": "Location of dispense",
      "definition": "Location of dispense"
    }, {
      "id": "EHDSMedicationDispense.receiver[x]",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationDispense.receiver[x]",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
      }, {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
      }, {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson"
      } ],
      "short": "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
      "definition": "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver."
    }, {
      "id": "EHDSMedicationDispense.relatedRequest",
      "max": "*",
      "min": 0,
      "path": "EHDSMedicationDispense.relatedRequest",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Identifier of the prescription item the dispense is related to",
      "definition": "Identifier of the prescription item the dispense is related to"
    }, {
      "id": "EHDSMedicationDispense.medication",
      "max": "1",
      "min": 1,
      "path": "EHDSMedicationDispense.medication",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
      } ],
      "short": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
      "definition": "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created."
    }, {
      "id": "EHDSMedicationDispense.dispensedQuantity",
      "max": "1",
      "min": 1,
      "path": "EHDSMedicationDispense.dispensedQuantity",
      "type": [ {
        "code": "Quantity"
      } ],
      "short": "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
      "binding": {
        "strength": "preferred",
        "description": "UCUM, EDQM Standard Terms"
      },
      "definition": "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected."
    }, {
      "id": "EHDSMedicationDispense.timeOfDispensation",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationDispense.timeOfDispensation",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
      "definition": "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record."
    }, {
      "id": "EHDSMedicationDispense.substitutionOccurred",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationDispense.substitutionOccurred",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
      "definition": "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction."
    }, {
      "id": "EHDSMedicationDispense.dosageInstructions",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationDispense.dosageInstructions",
      "type": [ {
        "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
      } ],
      "short": "Dosage and administration instructions",
      "definition": "Dosage and administration instructions"
    }, {
      "id": "EHDSMedicationDispense.note",
      "max": "1",
      "min": 0,
      "path": "EHDSMedicationDispense.note",
      "type": [ {
        "code": "string"
      } ],
      "short": "Additional information or comments",
      "definition": "Additional information or comments"
    } ]
  },
  "contact": [ {
    "name": "Xt-EHR",
    "telecom": [ {
      "value": "http://www.xt-ehr.eu/",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet"
}