EHDS Logical Information Models
0.4.0 - draft

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.4.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Xt-EHR/xt-ehr-common/ and changes regularly. See the Directory of published versions

## Logical Model: EHDSMedicationUseObligations - TTL Profile

Draft as of 2026-02-23

TTL representation of the EHDSMedicationUseObligations logical model.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "EHDSMedicationUseObligations"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EHDSMedicationUseObligations</b></p><a name=\"EHDSMedicationUseObligations\"> </a><a name=\"hcEHDSMedicationUseObligations\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse\">EHDSMedicationUse</a><a name=\"EHDSMedicationUse\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-EHDSMedicationUse.html\">EHDSMedicationUse</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Medication use model</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse.header\">header</a><a name=\"EHDSMedicationUse.header\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse.header.subject\">subject</a><a name=\"EHDSMedicationUse.header.subject\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"StructureDefinition-EHDSPatient.html\">EHDSPatient</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Patient/subject information</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-actor-producer.html\">Producer</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse.header.status\">status</a><a name=\"EHDSMedicationUse.header.status\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Status of the medication use statement (e.g. recorded)</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-actor-producer.html\">Producer</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse.medication\">medication</a><a name=\"EHDSMedicationUse.medication\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"StructureDefinition-EHDSMedication.html\">EHDSMedication</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Describes the medicinal product.</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-actor-producer.html\">Producer</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse.reason[x]\">reason[x]</a><a name=\"EHDSMedicationUse.reason_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Reason for the use of the medication (typically diagnosis, or a procedure)</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-actor-producer.html\">Producer</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse.dosageInstructions\">dosageInstructions</a><a name=\"EHDSMedicationUse.dosageInstructions\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"StructureDefinition-EHDSDosage.html\">EHDSDosage</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Details of how medication is/was taken or should be taken</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-actor-producer.html\">Producer</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse.periodOfUse\">periodOfUse</a><a name=\"EHDSMedicationUse.periodOfUse\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Period when the patient took, is taking or is expected to take the medication</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-actor-producer.html\">Producer</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationUseObligations-definitions.html#EHDSMedicationUse.note\">note</a><a name=\"EHDSMedicationUse.note\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Additional information about the medication use statement</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-actor-producer.html\">Producer</a></td></tr></table></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations>
      ] ; #
      fhir:version [ fhir:v "0.4.0"] ; #
      fhir:name [ fhir:v "EHDSMedicationUseObligations"] ; #
      fhir:title [ fhir:v "MedicationUse obligations"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2026-02-23T14:01:37+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Xt-EHR"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "Xt-EHR" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.xt-ehr.eu/" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "Obligations for the logical model for medication use."] ; #
      fhir:fhirVersion [ fhir:v "5.0.0"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
    fhir:l <http://hl7.org/v3>     ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "logical"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse>
      ] ; #
      fhir:baseDefinition [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUse>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "0.4.0"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "EHDSMedicationUse" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse" ] ;
    fhir:short [ fhir:v "Medication use model" ] ;
    fhir:definition [ fhir:v "Statement about a single medication as part of a medication summary." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Base" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:isModifier [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.header" ] ;
    fhir:short [ fhir:v "Basic metadata for this information" ] ;
    fhir:definition [ fhir:v "Basic metadata for this information" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSDataSet.header" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Base"^^xsd:anyURI ;
    fhir:l fhir:Base         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.subject" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations|0.4.0"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations?version=0.4.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.subject" ] ;
    fhir:short [ fhir:v "Patient/subject information" ] ;
    fhir:definition [ fhir:v "Patient/subject information" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSDataSet.header.subject" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient>         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.identifier" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.identifier" ] ;
    fhir:short [ fhir:v "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries)." ] ;
    fhir:definition [ fhir:v "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSDataSet.header.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.author[x]" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.author[x]" ] ;
    fhir:short [ fhir:v "The author of the medication use statement" ] ;
    fhir:definition [ fhir:v "The author of the medication use statement" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSDataSet.header.author[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional>         ]       ] [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation>         ]       ] [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice>         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.date" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.date" ] ;
    fhir:short [ fhir:v "Date and optionally time of authoring/issuing" ] ;
    fhir:definition [ fhir:v "Date and optionally time of authoring/issuing" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSDataSet.header.date" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "dateTime"^^xsd:anyURI ;
    fhir:l fhir:dateTime         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.status" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations|0.4.0"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations?version=0.4.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.status" ] ;
    fhir:short [ fhir:v "Status of the medication use statement (e.g. recorded)" ] ;
    fhir:definition [ fhir:v "Status of the medication use statement (e.g. recorded)" ] ;
    fhir:requirements [ fhir:v "eHN PS Guideline, MyHealth@EU, ISO IPS" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSDataSet.header.status" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "HL7 MedicationStatement Status Codes" ]       ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.source" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.source" ] ;
    fhir:short [ fhir:v "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." ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSDataSet.header.source" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.language" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.language" ] ;
    fhir:short [ fhir:v "Language in which the resource is written. Language is expressed by the IETF language tag." ] ;
    fhir:definition [ fhir:v "Language in which the resource is written. Language is expressed by the IETF language tag." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSDataSet.header.language" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "BCP 47" ]       ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.treatmentStatus" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.treatmentStatus" ] ;
    fhir:short [ fhir:v "The current status of taking the medicine (e.g. taking, on-hold, stopped)" ] ;
    fhir:definition [ fhir:v "The current status of taking the medicine (e.g. taking, on-hold, stopped)" ] ;
    fhir:requirements [ fhir:v "MyHealth@EU" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSMedicationUse.treatmentStatus" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.changeType" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.changeType" ] ;
    fhir:short [ fhir:v "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." ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSMedicationUse.changeType" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.medication" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations|0.4.0"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations?version=0.4.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.medication" ] ;
    fhir:short [ fhir:v "Describes the medicinal product." ] ;
    fhir:definition [ fhir:v "Describes the medicinal product." ] ;
    fhir:requirements [ fhir:v "eHN PS Guideline, ISO IPS, MyHealth@EU" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSMedicationUse.medication" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication>         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.reason[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations|0.4.0"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations?version=0.4.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.reason[x]" ] ;
    fhir:short [ fhir:v "Reason for the use of the medication (typically diagnosis, or a procedure)" ] ;
    fhir:definition [ fhir:v "Reason for the use of the medication (typically diagnosis, or a procedure)" ] ;
    fhir:requirements [ fhir:v "eHN PS Guideline, ISO IPS, MyHealth@EU" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSMedicationUse.reason[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.dosageInstructions" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations|0.4.0"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations?version=0.4.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.dosageInstructions" ] ;
    fhir:short [ fhir:v "Details of how medication is/was taken or should be taken" ] ;
    fhir:definition [ fhir:v "Details of how medication is/was taken or should be taken" ] ;
    fhir:requirements [ fhir:v "eHN PS Guideline, ISO IPS, MyHealth@EU" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSMedicationUse.dosageInstructions" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage>         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.periodOfUse" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations|0.4.0"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations?version=0.4.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.periodOfUse" ] ;
    fhir:short [ fhir:v "Period when the patient took, is taking or is expected to take the medication" ] ;
    fhir:definition [ fhir:v "Period when the patient took, is taking or is expected to take the medication" ] ;
    fhir:requirements [ fhir:v "eHN PS Guideline, ISO IPS, MyHealth@EU" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSMedicationUse.periodOfUse" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Period"^^xsd:anyURI ;
    fhir:l fhir:Period         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.derivedFrom[x]" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse.derivedFrom[x]" ] ;
    fhir:short [ fhir:v "Prescriptions, dispenses or administrations that are the basis of this medication use statement." ] ;
    fhir:definition [ fhir:v "Prescriptions, dispenses or administrations that are the basis of this medication use statement." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSMedicationUse.derivedFrom[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription>         ]       ] [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense>         ]       ] [
    fhir:code [
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationAdministration"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationAdministration>         ]       ] )     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.note" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations|0.4.0"^^xsd:anyURI ;
    fhir:l <http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationUseObligations?version=0.4.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.note" ] ;
    fhir:short [ fhir:v "Additional information about the medication use statement" ] ;
    fhir:definition [ fhir:v "Additional information about the medication use statement" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSMedicationUse.note" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "EHDSMedicationUse" ] ;
    fhir:path [ fhir:v "EHDSMedicationUse" ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.subject" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.subject" ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.header.status" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.header.status" ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.medication" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.medication" ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.reason[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.reason[x]" ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.dosageInstructions" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.dosageInstructions" ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.periodOfUse" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.periodOfUse" ]     ] [
    fhir:id [ fhir:v "EHDSMedicationUse.note" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/actor-producer"^^xsd:anyURI ;
    fhir:l <https://www.xt-ehr.eu/specifications/fhir/actor-producer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "EHDSMedicationUse.note" ]     ] )
      ] . #