FHIR IG analytics| Package | xtehr.eu.ehds.models |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-EHDSMedicationUse.json |
| FHIR Version | R5 |
| Source | https://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationUse.html |
| URL | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse |
| Version | 0.3.0 |
| Status | draft |
| Date | 2026-02-09T10:38:57+00:00 |
| Name | EHDSMedicationUse |
| Title | Medication use model |
| Description | Statement about a single medication as part of a medication summary. |
| Type | http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse |
| Kind | logical |
| StructureDefinition | |
| EHDSDischargeReport | Discharge Report model |
| EHDSPatientSummary | Patient summary model |
| StructureDefinition | |
| EHDSDataSet | DataSet model |
| EHDSDosage | Dosage model |
| EHDSMedication | Medication model |
| EHDSMedicationAdministration | Medication administration model |
| EHDSMedicationDispense | Medication dispense model |
| EHDSMedicationPrescription | Medication prescription model |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition EHDSMedicationUse
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 0..* | EHDSDataSet | Medication use model Elements defined in Ancestors:header | |
![]() ![]() | ||||
![]() ![]() ![]() | 0..* | EHDSHealthProfessional, EHDSOrganisation, EHDSDevice | The author of the medication use statement | |
![]() ![]() ![]() | 1..1 | CodeableConcept | Status of the medication use statement (e.g. recorded) Binding Description: (preferred): HL7 MedicationStatement Status Codes | |
![]() ![]() | 0..1 | CodeableConcept | The current status of taking the medicine (e.g. taking, on-hold, stopped) | |
![]() ![]() | 1..1 | EHDSMedication | Describes the medicinal product. | |
![]() ![]() | 0..* | Reason for the use of the medication (typically diagnosis, or a procedure) | ||
![]() ![]() ![]() | CodeableConcept | |||
![]() ![]() ![]() | string | |||
![]() ![]() | 1..1 | EHDSDosage | Details of how medication is/was taken or should be taken | |
![]() ![]() | 0..1 | Period | Period when the patient took, is taking or is expected to take the medication | |
![]() ![]() | 0..* | Prescriptions, dispenses or administrations that are the basis of this medication use statement. | ||
![]() ![]() ![]() | EHDSMedicationPrescription | |||
![]() ![]() ![]() | EHDSMedicationDispense | |||
![]() ![]() ![]() | EHDSMedicationAdministration | |||
![]() ![]() | 0..1 | string | Additional information about the medication use statement | |
{
"resourceType": "StructureDefinition",
"id": "EHDSMedicationUse",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse",
"version": "0.3.0",
"name": "EHDSMedicationUse",
"title": "Medication use model",
"status": "draft",
"date": "2026-02-09T10:38:57+00:00",
"publisher": "Xt-EHR",
"contact": [
{
"name": "Xt-EHR",
"telecom": [
{
"system": "url",
"value": "http://www.xt-ehr.eu/"
}
]
}
],
"description": "Statement about a single medication as part of a medication summary.",
"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/EHDSMedicationUse",
"baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet",
"derivation": "specialization",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "0.3.0"
}
],
"element": [
{
"id": "EHDSMedicationUse",
"path": "EHDSMedicationUse",
"short": "Medication use model",
"definition": "Statement about a single medication as part of a medication summary.",
"min": 0,
"max": "*",
"base": {
"path": "Base",
"min": 0,
"max": "*"
},
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "EHDSMedicationUse.header",
"path": "EHDSMedicationUse.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": "EHDSMedicationUse.header.subject",
"path": "EHDSMedicationUse.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": "EHDSMedicationUse.header.identifier",
"path": "EHDSMedicationUse.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": "EHDSMedicationUse.header.author[x]",
"path": "EHDSMedicationUse.header.author[x]",
"short": "The author of the medication use statement",
"definition": "The author of the medication use statement",
"min": 0,
"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": "EHDSMedicationUse.header.date",
"path": "EHDSMedicationUse.header.date",
"short": "Date and optionally time of authoring/issuing",
"definition": "Date and optionally time of authoring/issuing",
"min": 0,
"max": "1",
"base": {
"path": "EHDSDataSet.header.date",
"min": 0,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
]
},
{
"id": "EHDSMedicationUse.header.status",
"path": "EHDSMedicationUse.header.status",
"short": "Status of the medication use statement (e.g. recorded)",
"definition": "Status of the medication use statement (e.g. recorded)",
"requirements": "eHN PS Guideline, MyHealth@EU, ISO IPS",
"min": 1,
"max": "1",
"base": {
"path": "EHDSDataSet.header.status",
"min": 1,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
],
"binding": {
"strength": "preferred",
"description": "HL7 MedicationStatement Status Codes"
}
},
{
"id": "EHDSMedicationUse.header.source",
"path": "EHDSMedicationUse.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": "1",
"base": {
"path": "EHDSDataSet.header.source",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
]
},
{
"id": "EHDSMedicationUse.header.language",
"path": "EHDSMedicationUse.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": "EHDSMedicationUse.treatmentStatus",
"path": "EHDSMedicationUse.treatmentStatus",
"short": "The current status of taking the medicine (e.g. taking, on-hold, stopped)",
"definition": "The current status of taking the medicine (e.g. taking, on-hold, stopped)",
"requirements": "MyHealth@EU",
"min": 0,
"max": "1",
"base": {
"path": "EHDSMedicationUse.treatmentStatus",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
]
},
{
"id": "EHDSMedicationUse.medication",
"path": "EHDSMedicationUse.medication",
"short": "Describes the medicinal product.",
"definition": "Describes the medicinal product.",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 1,
"max": "1",
"base": {
"path": "EHDSMedicationUse.medication",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
}
]
},
{
"id": "EHDSMedicationUse.reason[x]",
"path": "EHDSMedicationUse.reason[x]",
"short": "Reason for the use of the medication (typically diagnosis, or a procedure)",
"definition": "Reason for the use of the medication (typically diagnosis, or a procedure)",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 0,
"max": "*",
"base": {
"path": "EHDSMedicationUse.reason[x]",
"min": 0,
"max": "*"
},
"type": [
{
"code": "CodeableConcept"
},
{
"code": "string"
}
]
},
{
"id": "EHDSMedicationUse.dosageInstructions",
"path": "EHDSMedicationUse.dosageInstructions",
"short": "Details of how medication is/was taken or should be taken",
"definition": "Details of how medication is/was taken or should be taken",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 1,
"max": "1",
"base": {
"path": "EHDSMedicationUse.dosageInstructions",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
}
]
},
{
"id": "EHDSMedicationUse.periodOfUse",
"path": "EHDSMedicationUse.periodOfUse",
"short": "Period when the patient took, is taking or is expected to take the medication",
"definition": "Period when the patient took, is taking or is expected to take the medication",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 0,
"max": "1",
"base": {
"path": "EHDSMedicationUse.periodOfUse",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Period"
}
]
},
{
"id": "EHDSMedicationUse.derivedFrom[x]",
"path": "EHDSMedicationUse.derivedFrom[x]",
"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.",
"min": 0,
"max": "*",
"base": {
"path": "EHDSMedicationUse.derivedFrom[x]",
"min": 0,
"max": "*"
},
"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"
}
]
},
{
"id": "EHDSMedicationUse.note",
"path": "EHDSMedicationUse.note",
"short": "Additional information about the medication use statement",
"definition": "Additional information about the medication use statement",
"min": 0,
"max": "1",
"base": {
"path": "EHDSMedicationUse.note",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
}
]
},
"differential": {
"element": [
{
"id": "EHDSMedicationUse",
"path": "EHDSMedicationUse",
"short": "Medication use model",
"definition": "Statement about a single medication as part of a medication summary."
},
{
"id": "EHDSMedicationUse.header.author[x]",
"path": "EHDSMedicationUse.header.author[x]",
"short": "The author of the medication use statement",
"definition": "The author of the medication use statement"
},
{
"id": "EHDSMedicationUse.header.status",
"path": "EHDSMedicationUse.header.status",
"short": "Status of the medication use statement (e.g. recorded)",
"definition": "Status of the medication use statement (e.g. recorded)",
"requirements": "eHN PS Guideline, MyHealth@EU, ISO IPS",
"binding": {
"strength": "preferred",
"description": "HL7 MedicationStatement Status Codes"
}
},
{
"id": "EHDSMedicationUse.treatmentStatus",
"path": "EHDSMedicationUse.treatmentStatus",
"short": "The current status of taking the medicine (e.g. taking, on-hold, stopped)",
"definition": "The current status of taking the medicine (e.g. taking, on-hold, stopped)",
"requirements": "MyHealth@EU",
"min": 0,
"max": "1",
"type": [
{
"code": "CodeableConcept"
}
]
},
{
"id": "EHDSMedicationUse.medication",
"path": "EHDSMedicationUse.medication",
"short": "Describes the medicinal product.",
"definition": "Describes the medicinal product.",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 1,
"max": "1",
"type": [
{
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
}
]
},
{
"id": "EHDSMedicationUse.reason[x]",
"path": "EHDSMedicationUse.reason[x]",
"short": "Reason for the use of the medication (typically diagnosis, or a procedure)",
"definition": "Reason for the use of the medication (typically diagnosis, or a procedure)",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 0,
"max": "*",
"type": [
{
"code": "CodeableConcept"
},
{
"code": "string"
}
]
},
{
"id": "EHDSMedicationUse.dosageInstructions",
"path": "EHDSMedicationUse.dosageInstructions",
"short": "Details of how medication is/was taken or should be taken",
"definition": "Details of how medication is/was taken or should be taken",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 1,
"max": "1",
"type": [
{
"code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
}
]
},
{
"id": "EHDSMedicationUse.periodOfUse",
"path": "EHDSMedicationUse.periodOfUse",
"short": "Period when the patient took, is taking or is expected to take the medication",
"definition": "Period when the patient took, is taking or is expected to take the medication",
"requirements": "eHN PS Guideline, ISO IPS, MyHealth@EU",
"min": 0,
"max": "1",
"type": [
{
"code": "Period"
}
]
},
{
"id": "EHDSMedicationUse.derivedFrom[x]",
"path": "EHDSMedicationUse.derivedFrom[x]",
"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.",
"min": 0,
"max": "*",
"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"
}
]
},
{
"id": "EHDSMedicationUse.note",
"path": "EHDSMedicationUse.note",
"short": "Additional information about the medication use statement",
"definition": "Additional information about the medication use statement",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
}
]
}
}