{
"description": "Obligations for the logical model for medication use.",
"_filename": "StructureDefinition-EHDSMedicationUseObligations.json",
"package_name": "xtehr.eu.ehds.models",
"date": "2026-04-13T14:09:30+02:00",
"derivation": "constraint",
"publisher": "Xt-EHR",
"fhirVersion": "5.0.0",
"name": "EHDSMedicationUseObligations",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": false,
"type": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "MedicationUse obligations",
"package_version": "1.0.0",
"snapshot": {
"element": [ {
"path": "EHDSMedicationUse",
"min": 0,
"definition": "Statement about a single medication as part of a medication summary.",
"isModifier": false,
"short": "Medication use model",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"max": "*",
"id": "EHDSMedicationUse",
"base": {
"max": "*",
"min": 0,
"path": "Base"
}
}, {
"id": "EHDSMedicationUse.header",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "EHDSDataSet.header"
},
"path": "EHDSMedicationUse.header",
"type": [ {
"code": "Base"
} ],
"short": "Basic metadata for this information",
"definition": "Basic metadata for this information"
}, {
"path": "EHDSMedicationUse.header.subject",
"min": 1,
"definition": "Patient/subject information",
"short": "Patient/subject information",
"type": [ {
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"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/EHDSMedicationUseObligations|1.0.0"
} ]
} ],
"max": "1",
"id": "EHDSMedicationUse.header.subject",
"base": {
"max": "1",
"min": 1,
"path": "EHDSDataSet.header.subject"
}
}, {
"id": "EHDSMedicationUse.header.identifier",
"max": "*",
"min": 0,
"base": {
"max": "*",
"min": 0,
"path": "EHDSDataSet.header.identifier"
},
"path": "EHDSMedicationUse.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": "EHDSMedicationUse.header.author[x]",
"max": "*",
"min": 0,
"base": {
"max": "*",
"min": 0,
"path": "EHDSDataSet.header.author[x]"
},
"path": "EHDSMedicationUse.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 author of the medication use statement",
"definition": "The author of the medication use statement"
}, {
"id": "EHDSMedicationUse.header.date",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "EHDSDataSet.header.date"
},
"path": "EHDSMedicationUse.header.date",
"type": [ {
"code": "dateTime"
} ],
"short": "Date and optionally time of authoring/issuing",
"definition": "Date and optionally time of authoring/issuing"
}, {
"path": "EHDSMedicationUse.header.status",
"requirements": "eHN PS Guideline, MyHealth@EU, ISO IPS",
"min": 1,
"definition": "Status of the medication use statement (e.g. recorded)",
"short": "Status of the medication use statement (e.g. recorded)",
"type": [ {
"code": "CodeableConcept"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"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/EHDSMedicationUseObligations|1.0.0"
} ]
} ],
"binding": {
"strength": "preferred",
"description": "HL7 MedicationStatement Status Codes"
},
"max": "1",
"id": "EHDSMedicationUse.header.status",
"base": {
"max": "1",
"min": 1,
"path": "EHDSDataSet.header.status"
}
}, {
"id": "EHDSMedicationUse.header.source",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "EHDSDataSet.header.source"
},
"path": "EHDSMedicationUse.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": "EHDSMedicationUse.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": "EHDSMedicationUse.header.language",
"base": {
"max": "1",
"min": 0,
"path": "EHDSDataSet.header.language"
}
}, {
"path": "EHDSMedicationUse.treatmentStatus",
"requirements": "MyHealth@EU",
"min": 0,
"definition": "The current status of taking the medicine (e.g. taking, on-hold, stopped)",
"short": "The current status of taking the medicine (e.g. taking, on-hold, stopped)",
"type": [ {
"code": "CodeableConcept"
} ],
"max": "1",
"id": "EHDSMedicationUse.treatmentStatus",
"base": {
"max": "1",
"min": 0,
"path": "EHDSMedicationUse.treatmentStatus"
}
}, {
"id": "EHDSMedicationUse.changeType",
"max": "*",
"min": 0,
"base": {
"max": "*",
"min": 0,
"path": "EHDSMedicationUse.changeType"
},
"path": "EHDSMedicationUse.changeType",
"type": [ {
"code": "CodeableConcept"
} ],
"short": "Medication use's change type in a medication summary (e.g. 'added', 'removed', 'altered'). Relevant at the time of discharge or other alteration of the active medications' list.",
"definition": "Medication use's change type in a medication summary (e.g. 'added', 'removed', 'altered'). Relevant at the time of discharge or other alteration of the active medications' list."
}, {
"path": "EHDSMedicationUse.medication",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 1,
"definition": "Describes the medicinal product.",
"short": "Describes the medicinal product.",
"type": [ {
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"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/EHDSMedicationUseObligations|1.0.0"
} ]
} ],
"max": "1",
"id": "EHDSMedicationUse.medication",
"base": {
"max": "1",
"min": 1,
"path": "EHDSMedicationUse.medication"
}
}, {
"path": "EHDSMedicationUse.reason[x]",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 0,
"definition": "Reason for the use of the medication (typically diagnosis, or a procedure)",
"short": "Reason for the use of the medication (typically diagnosis, or a procedure)",
"type": [ {
"code": "CodeableConcept"
}, {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"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/EHDSMedicationUseObligations|1.0.0"
} ]
} ],
"max": "*",
"id": "EHDSMedicationUse.reason[x]",
"base": {
"max": "*",
"min": 0,
"path": "EHDSMedicationUse.reason[x]"
}
}, {
"path": "EHDSMedicationUse.dosageInstructions",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 1,
"definition": "Details of how medication is/was taken or should be taken",
"short": "Details of how medication is/was taken or should be taken",
"type": [ {
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"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/EHDSMedicationUseObligations|1.0.0"
} ]
} ],
"max": "1",
"id": "EHDSMedicationUse.dosageInstructions",
"base": {
"max": "1",
"min": 1,
"path": "EHDSMedicationUse.dosageInstructions"
}
}, {
"path": "EHDSMedicationUse.periodOfUse",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 0,
"definition": "Period when the patient took, is taking or is expected to take the medication",
"short": "Period when the patient took, is taking or is expected to take the medication",
"type": [ {
"code": "Period"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"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/EHDSMedicationUseObligations|1.0.0"
} ]
} ],
"max": "1",
"id": "EHDSMedicationUse.periodOfUse",
"base": {
"max": "1",
"min": 0,
"path": "EHDSMedicationUse.periodOfUse"
}
}, {
"id": "EHDSMedicationUse.derivedFrom[x]",
"max": "*",
"min": 0,
"base": {
"max": "*",
"min": 0,
"path": "EHDSMedicationUse.derivedFrom[x]"
},
"path": "EHDSMedicationUse.derivedFrom[x]",
"type": [ {
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription"
}, {
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense"
}, {
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationAdministration"
} ],
"short": "Prescriptions, dispenses or administrations that are the basis of this medication use statement.",
"definition": "Prescriptions, dispenses or administrations that are the basis of this medication use statement."
}, {
"path": "EHDSMedicationUse.note",
"min": 0,
"definition": "Additional information about the medication use statement",
"short": "Additional information about the medication use statement",
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"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/EHDSMedicationUseObligations|1.0.0"
} ]
} ],
"max": "1",
"id": "EHDSMedicationUse.note",
"base": {
"max": "1",
"min": 0,
"path": "EHDSMedicationUse.note"
}
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "1.0.0"
} ]
},
"status": "active",
"language": "en",
"id": "20174f7b-6674-4c20-bbf8-353c64fa1af8",
"kind": "logical",
"url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations",
"version": "1.0.0",
"differential": {
"element": [ {
"id": "EHDSMedicationUse",
"path": "EHDSMedicationUse"
}, {
"id": "EHDSMedicationUse.header.subject",
"path": "EHDSMedicationUse.header.subject",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHALL:able-to-populate"
}, {
"url": "actor",
"valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
} ]
} ]
}, {
"id": "EHDSMedicationUse.header.status",
"path": "EHDSMedicationUse.header.status",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHALL:able-to-populate"
}, {
"url": "actor",
"valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
} ]
} ]
}, {
"id": "EHDSMedicationUse.medication",
"path": "EHDSMedicationUse.medication",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHALL:able-to-populate"
}, {
"url": "actor",
"valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
} ]
} ]
}, {
"id": "EHDSMedicationUse.reason[x]",
"path": "EHDSMedicationUse.reason[x]",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHOULD:able-to-populate"
}, {
"url": "actor",
"valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
} ]
} ]
}, {
"id": "EHDSMedicationUse.dosageInstructions",
"path": "EHDSMedicationUse.dosageInstructions",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHALL:able-to-populate"
}, {
"url": "actor",
"valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
} ]
} ]
}, {
"id": "EHDSMedicationUse.periodOfUse",
"path": "EHDSMedicationUse.periodOfUse",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHALL:able-to-populate"
}, {
"url": "actor",
"valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
} ]
} ]
}, {
"id": "EHDSMedicationUse.note",
"path": "EHDSMedicationUse.note",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHOULD:able-to-populate"
}, {
"url": "actor",
"valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
} ]
} ]
} ]
},
"contact": [ {
"name": "Xt-EHR",
"telecom": [ {
"value": "http://www.xt-ehr.eu/",
"system": "url"
} ]
} ],
"baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse"
}