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

FHIR IG analytics

Packagextehr.eu.ehds.models
Resource TypeStructureDefinition
IdStructureDefinition-EHDSMedicationDispenseObligations.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationDispenseObligations.html
URLhttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
Version0.4.0
Statusdraft
Date2026-02-22T08:17:12+00:00
NameEHDSMedicationDispenseObligations
TitleMedication dispense model obligations
DescriptionObligations for the logical model for medication dispense for dispensing/pharmacy systems.
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
xtehr.eu.ehds.models#currentEHDSMedicationDispenseMedication dispense model

Narrative

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

Generated Narrative: StructureDefinition EHDSMedicationDispenseObligations

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSMedicationDispenseObligations 0..*EHDSMedicationDispenseMedication dispense model obligations

Elements defined in Ancestors:header, dispenseLocation, receiver[x], relatedRequest, medication, dispensedQuantity, timeOfDispensation, substitutionOccurred, dosageInstructions, note
... header
.... subject O1..1EHDSPatientPatient/subject information
ObligationsActor
SHALL:able-to-populateProducer
.... author[x] O1..*EHDSHealthProfessional, EHDSOrganisation, EHDSDeviceThe actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.
ObligationsActor
SHALL:able-to-populateProducer
.... date O1..1dateTimeDate and time of issuing the dispense record
ObligationsActor
SHALL:able-to-populateProducer
.... status O1..1CodeableConceptThe status of the dispense, e.g. completed, declined, entered-in-error
ObligationsActor
SHALL:able-to-populateProducer
... relatedRequest O0..*IdentifierIdentifier of the prescription item the dispense is related to
ObligationsActor
SHALL:able-to-populateProducer
... medication O1..1EHDSMedicationExact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.
ObligationsActor
SHALL:able-to-populateProducer
... dispensedQuantity O1..1QuantityNumber of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.
ObligationsActor
SHALL:able-to-populateProducer
... dosageInstructions O0..1EHDSDosageDosage and administration instructions
ObligationsActor
SHOULD:able-to-populateProducer

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EHDSMedicationDispenseObligations",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations",
  "version": "0.4.0",
  "name": "EHDSMedicationDispenseObligations",
  "title": "Medication dispense model obligations",
  "status": "draft",
  "date": "2026-02-22T08:17:12+00:00",
  "publisher": "Xt-EHR",
  "contact": [
    {
      "name": "Xt-EHR",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.xt-ehr.eu/"
        }
      ]
    }
  ],
  "description": "Obligations for the logical model for medication dispense for dispensing/pharmacy systems.",
  "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/EHDSMedicationDispenseObligations",
  "baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.4.0"
      }
    ],
    "element": [
      {
        "id": "EHDSMedicationDispenseObligations",
        "path": "EHDSMedicationDispenseObligations",
        "short": "Medication dispense model obligations",
        "definition": "Obligations for the logical model for medication dispense for dispensing/pharmacy systems.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.header",
        "path": "EHDSMedicationDispenseObligations.header",
        "short": "Basic metadata for this information",
        "definition": "Basic metadata for this information",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.subject",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.header.subject",
        "short": "Patient/subject information",
        "definition": "Patient/subject information",
        "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": "EHDSMedicationDispenseObligations.header.identifier",
        "path": "EHDSMedicationDispenseObligations.header.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).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.author[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL support at least EHDSHealthProfessional data type for the element."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.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.",
        "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"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.date",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.header.date",
        "short": "Date and time of issuing the dispense record",
        "definition": "Date and time of issuing the dispense record",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.status",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.header.status",
        "short": "The status of the dispense, e.g. completed, declined, entered-in-error",
        "definition": "The status of the dispense, e.g. completed, declined, entered-in-error",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "HL7 MedicationDispense Status Codes"
        }
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.source",
        "path": "EHDSMedicationDispenseObligations.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": "0",
        "base": {
          "path": "EHDSDataSet.header.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.language",
        "path": "EHDSMedicationDispenseObligations.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": "EHDSMedicationDispenseObligations.dispenseLocation",
        "path": "EHDSMedicationDispenseObligations.dispenseLocation",
        "short": "Location of dispense",
        "definition": "Location of dispense",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.dispenseLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.receiver[x]",
        "path": "EHDSMedicationDispenseObligations.receiver[x]",
        "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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.receiver[x]",
          "min": 0,
          "max": "1"
        },
        "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"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.relatedRequest",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.relatedRequest",
        "short": "Identifier of the prescription item the dispense is related to",
        "definition": "Identifier of the prescription item the dispense is related to",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationDispense.relatedRequest",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.medication",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.medication",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.medication",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.dispensedQuantity",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.dispensedQuantity",
        "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.",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.dispensedQuantity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM, EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedicationDispenseObligations.timeOfDispensation",
        "path": "EHDSMedicationDispenseObligations.timeOfDispensation",
        "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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.timeOfDispensation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.substitutionOccurred",
        "path": "EHDSMedicationDispenseObligations.substitutionOccurred",
        "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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.substitutionOccurred",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.dosageInstructions",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.dosageInstructions",
        "short": "Dosage and administration instructions",
        "definition": "Dosage and administration instructions",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.dosageInstructions",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
          }
        ]
      },
      {
        "id": "EHDSMedicationDispenseObligations.note",
        "path": "EHDSMedicationDispenseObligations.note",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationDispense.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSMedicationDispenseObligations",
        "path": "EHDSMedicationDispenseObligations",
        "short": "Medication dispense model obligations",
        "definition": "Obligations for the logical model for medication dispense for dispensing/pharmacy systems."
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.subject",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.header.subject"
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.author[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL support at least EHDSHealthProfessional data type for the element."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.header.author[x]"
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.date",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.header.date"
      },
      {
        "id": "EHDSMedicationDispenseObligations.header.status",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.header.status"
      },
      {
        "id": "EHDSMedicationDispenseObligations.relatedRequest",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.relatedRequest"
      },
      {
        "id": "EHDSMedicationDispenseObligations.medication",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.medication"
      },
      {
        "id": "EHDSMedicationDispenseObligations.dispensedQuantity",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.dispensedQuantity"
      },
      {
        "id": "EHDSMedicationDispenseObligations.dosageInstructions",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationDispenseObligations.dosageInstructions"
      }
    ]
  }
}