FHIR IG analytics
| Package | xtehr.eu.ehds.models |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-EHDSMedicationDispenseObligations.json |
| FHIR Version | R5 |
| Source | https://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationDispenseObligations.html |
| URL | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations |
| Version | 0.4.0 |
| Status | draft |
| Date | 2026-02-22T08:17:12+00:00 |
| Name | EHDSMedicationDispenseObligations |
| Title | Medication dispense model obligations |
| Description | Obligations for the logical model for medication dispense for dispensing/pharmacy systems. |
| Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispenseObligations |
| Kind | logical |
Resources that use this resource
No resources found
Resources that this resource uses
Narrative
Note: links and images are rebased to the (stated) source
| Name | Flags | Card. | Type | Description & Constraints |
|---|
 EHDSMedicationDispenseObligations | | 0..* | EHDSMedicationDispense | Medication dispense model obligations
Elements defined in Ancestors:header, dispenseLocation, receiver[x], relatedRequest, medication, dispensedQuantity, timeOfDispensation, substitutionOccurred, dosageInstructions, note |
  header | | | | |
   subject | O | 1..1 | EHDSPatient | Patient/subject information |
   author[x] | O | 1..* | EHDSHealthProfessional, EHDSOrganisation, EHDSDevice | The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information. |
   date | O | 1..1 | dateTime | Date and time of issuing the dispense record |
   status | O | 1..1 | CodeableConcept | The status of the dispense, e.g. completed, declined, entered-in-error |
  relatedRequest | O | 0..* | Identifier | Identifier of the prescription item the dispense is related to |
  medication | O | 1..1 | EHDSMedication | Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created. |
  dispensedQuantity | O | 1..1 | Quantity | 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. |
  dosageInstructions | O | 0..1 | EHDSDosage | Dosage and administration instructions |
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"
}
]
}
}