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

FHIR IG analytics

Packagextehr.eu.ehds.models
Resource TypeStructureDefinition
IdStructureDefinition-EHDSMedicationUse.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationUse.html
URLhttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse
Version0.3.0
Statusdraft
Date2026-02-09T10:38:57+00:00
NameEHDSMedicationUse
TitleMedication use model
DescriptionStatement about a single medication as part of a medication summary.
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse
Kindlogical

Resources that use this resource

StructureDefinition
EHDSDischargeReportDischarge Report model
EHDSPatientSummaryPatient summary model

Resources that this resource uses

StructureDefinition
EHDSDataSetDataSet model
EHDSDosageDosage model
EHDSMedicationMedication model
EHDSMedicationAdministrationMedication administration model
EHDSMedicationDispenseMedication dispense model
EHDSMedicationPrescriptionMedication prescription model

Narrative

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

Generated Narrative: StructureDefinition EHDSMedicationUse

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSMedicationUse 0..*EHDSDataSetMedication use model

Elements defined in Ancestors:header
... header
.... author[x] 0..*EHDSHealthProfessional, EHDSOrganisation, EHDSDeviceThe author of the medication use statement
.... status 1..1CodeableConceptStatus of the medication use statement (e.g. recorded)
Binding Description: (preferred): HL7 MedicationStatement Status Codes
... treatmentStatus 0..1CodeableConceptThe current status of taking the medicine (e.g. taking, on-hold, stopped)
... medication 1..1EHDSMedicationDescribes the medicinal product.
... reason[x] 0..*Reason for the use of the medication (typically diagnosis, or a procedure)
.... reasonCodeableConceptCodeableConcept
.... reasonStringstring
... dosageInstructions 1..1EHDSDosageDetails of how medication is/was taken or should be taken
... periodOfUse 0..1PeriodPeriod when the patient took, is taking or is expected to take the medication
... derivedFrom[x] 0..*Prescriptions, dispenses or administrations that are the basis of this medication use statement.
.... derivedFromEHDSMedicationPrescriptionEHDSMedicationPrescription
.... derivedFromEHDSMedicationDispenseEHDSMedicationDispense
.... derivedFromEHDSMedicationAdministrationEHDSMedicationAdministration
... note 0..1stringAdditional information about the medication use statement

doco Documentation for this format

Source1

{
  "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"
          }
        ]
      }
    ]
  }
}