EHDS Logical Information Models
0.2.1 - qa-preview

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

## Logical Model: EHDSMedication - JSON Profile

Active as of 2025-12-03

JSON representation of the EHDSMedication logical model.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "EHDSMedication",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EHDSMedication</b></p><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-EHDSMedication-definitions.html#EHDSMedication\">EHDSMedication</a><a name=\"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\"/><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-EHDSMedicationCore.html\">EHDSMedicationCore</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 model</span><br/><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-EHDSMedicationCore.html\" title=\"Identifier or code for the product (virtual product, branded product or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities.\">identifyingCode[x]</a>, <a href=\"StructureDefinition-EHDSMedicationCore.html\" title=\"Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.)\">classification</a>, <a href=\"StructureDefinition-EHDSMedicationCore.html\" title=\"Name of the product (full name, invented name, other). When the product has different names, the appropriate one for the context should be used. Translations of names can be provided.\">productName</a>, <a href=\"StructureDefinition-EHDSMedicationCore.html\" title=\"Dose form(s) on a product level. Dose form for a single package item is defined below.\">doseForm</a>, <a href=\"StructureDefinition-EHDSMedicationCore.html\" title=\"Overall amount of product in one package (100ml; 20 tablets; 1 creme &amp; 6 pessaries)\">packSize</a>, <a href=\"StructureDefinition-EHDSMedicationCore.html\" title=\"A medication item. For combination packs, this can be manufactured items with each item having its own dose form and ingredients+strengths defined\">item</a>, <a href=\"StructureDefinition-EHDSMedicationCore.html\" title=\"Other features of the product\">characteristic</a><br/><span style=\"font-weight:bold\">Instances of this logical model can be the target of a Reference</span></td></tr>\r\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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.marketingAuthorisationHolder\" title=\"Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.\">marketingAuthorisationHolder</a><a name=\"EHDSMedication.marketingAuthorisationHolder\"> </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\">0..1</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\">Base</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\">Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.</td></tr>\r\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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.marketingAuthorisationHolder.organisationName\" title=\"Name of the organisation holding the authorisation for marketing/mahufacturing\">organisationName</a><a name=\"EHDSMedication.marketingAuthorisationHolder.organisationName\"> </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\">0..1</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=\"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\">Name of the organisation holding the authorisation for marketing/mahufacturing</td></tr>\r\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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.marketingAuthorisationHolder.organisationIdentifier\" title=\"Identifier of the organisation and/or its physical location\">organisationIdentifier</a><a name=\"EHDSMedication.marketingAuthorisationHolder.organisationIdentifier\"> </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\">0..*</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 href=\"http://hl7.org/fhir/R5/datatypes.html#Identifier\">Identifier</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\">Identifier of the organisation and/or its physical location<br/></td></tr>\r\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_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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.device\" title=\"Administration device included in the product\">device</a><a name=\"EHDSMedication.device\"> </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\">0..*</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\">Base</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\">Administration device included in the product<br/></td></tr>\r\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_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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.device.deviceQuantity\" title=\"Number of such devices\">deviceQuantity</a><a name=\"EHDSMedication.device.deviceQuantity\"> </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\">1..1</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 href=\"http://hl7.org/fhir/R5/datatypes.html#Quantity\">Quantity</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\">Number of such devices</td></tr>\r\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_bck101.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_choice.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Choice of Types\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.device.device[x]\" title=\"Device coded\">device[x]</a><a name=\"EHDSMedication.device.device_x_\"> </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\">1..1</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\">Device coded</td></tr>\r\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_bck1010.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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span title=\"CodeableConcept Type: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.\">deviceCodeableConcept</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\"/><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\"><a 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\"/></tr>\r\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_bck1000.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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> deviceReference</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\"/><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=\"http://hl7.org/fhir/R5/references.html#Reference\">Reference</a>(<a href=\"StructureDefinition-EHDSDevice.html\">Device model</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\"/></tr>\r\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_bck01.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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.batch\" title=\"Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.\">batch</a><a name=\"EHDSMedication.batch\"> </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\">0..1</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\">Base</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\">Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.</td></tr>\r\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_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.batch.lotNumber\" title=\"Batch identifier of the medicinal product\">lotNumber</a><a name=\"EHDSMedication.batch.lotNumber\"> </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\">0..1</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=\"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\">Batch identifier of the medicinal product</td></tr>\r\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_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedication-definitions.html#EHDSMedication.batch.expirationDate\" title=\"Batch expiration date of the medicinal product.\">expirationDate</a><a name=\"EHDSMedication.batch.expirationDate\"> </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\">0..1</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 href=\"http://hl7.org/fhir/R5/datatypes.html#dateTime\">dateTime</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\">Batch expiration date of the medicinal product.</td></tr>\r\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>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
          "valueCode" : "can-be-target"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
          "valueCode" : "can-be-target"
        }
      ],
      "url" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication",
      "version" : "0.2.1",
      "name" : "EHDSMedication",
      "title" : "Medication model",
      "status" : "active",
      "date" : "2025-12-03T08:01:45+00:00",
      "publisher" : "Xt-EHR",
      "contact" : [
        {
          "name" : "Xt-EHR",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://www.xt-ehr.eu/"
            }
          ]
        }
      ],
      "description" : "Logical model for prescribed/dispensed medication. The model is shared by statements, requests, dispensations, and treatment lines. Each of those may have different restrictions in FHIR profile. Model is suitable for generic/virtual medications as well as branded/real products.",
      "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/EHDSMedication",
      "baseDefinition" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationCore",
      "derivation" : "specialization",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "0.2.1"
          }
        ],
        "element" : [
          {
            "id" : "EHDSMedication",
            "path" : "EHDSMedication",
            "short" : "Medication model",
            "definition" : "Logical model for prescribed/dispensed medication. The model is shared by statements, requests, dispensations, and treatment lines. Each of those may have different restrictions in FHIR profile. Model is suitable for generic/virtual medications as well as branded/real products.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "EHDSMedication.identifyingCode[x]",
            "path" : "EHDSMedication.identifyingCode[x]",
            "short" : "Identifier or code for the product (virtual product, branded product or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities.",
            "definition" : "Identifier or code for the product (virtual product, branded product or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationCore.identifyingCode[x]",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              },
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSMedication.classification",
            "path" : "EHDSMedication.classification",
            "short" : "Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.)",
            "definition" : "Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.)",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationCore.classification",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "WHO ATC"
            }
          },
          {
            "id" : "EHDSMedication.productName",
            "path" : "EHDSMedication.productName",
            "short" : "Name of the product (full name, invented name, other). When the product has different names, the appropriate one for the context should be used. Translations of names can be provided.",
            "definition" : "Name of the product (full name, invented name, other). When the product has different names, the appropriate one for the context should be used. Translations of names can be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.productName",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSMedication.doseForm",
            "path" : "EHDSMedication.doseForm",
            "short" : "Dose form(s) on a product level. Dose form for a single package item is defined below.",
            "definition" : "Dose form(s) on a product level. Dose form for a single package item is defined below.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.doseForm",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "EDQM Standard Terms"
            }
          },
          {
            "id" : "EHDSMedication.packSize",
            "path" : "EHDSMedication.packSize",
            "short" : "Overall amount of product in one package (100ml; 20 tablets; 1 creme & 6 pessaries)",
            "definition" : "Overall amount of product in one package (100ml; 20 tablets; 1 creme & 6 pessaries)",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationCore.packSize",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Quantity"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "UCUM for units of measure. EDQM Standard Terms for units of presentation."
            }
          },
          {
            "id" : "EHDSMedication.item",
            "path" : "EHDSMedication.item",
            "short" : "A medication item. For combination packs, this can be manufactured items with each item having its own dose form and ingredients+strengths defined",
            "definition" : "A medication item. For combination packs, this can be manufactured items with each item having its own dose form and ingredients+strengths defined",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationCore.item",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.item.doseForm",
            "path" : "EHDSMedication.item.doseForm",
            "short" : "Dose form",
            "definition" : "Dose form",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.doseForm",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "EDQM Standard Terms"
            }
          },
          {
            "id" : "EHDSMedication.item.ingredient",
            "path" : "EHDSMedication.item.ingredient",
            "short" : "Ingredients",
            "definition" : "Ingredients",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationCore.item.ingredient",
              "min" : 1,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.item.ingredient.isActive",
            "path" : "EHDSMedication.item.ingredient.isActive",
            "short" : "Marks if the ingredient is considered an active ingredient. Typically excipients are not needed, so by default active ingredients are expected.",
            "definition" : "Marks if the ingredient is considered an active ingredient. Typically excipients are not needed, so by default active ingredients are expected.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.ingredient.isActive",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "EHDSMedication.item.ingredient.substance",
            "path" : "EHDSMedication.item.ingredient.substance",
            "short" : "Substance",
            "definition" : "Substance",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.ingredient.substance",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "EMA SPOR SMS"
            }
          },
          {
            "id" : "EHDSMedication.item.ingredient.strengthInfo",
            "path" : "EHDSMedication.item.ingredient.strengthInfo",
            "short" : "Strength of the product - amount of substance per unit",
            "definition" : "Strength of the product - amount of substance per unit",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.ingredient.strengthInfo",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.item.ingredient.strengthInfo.strength",
            "path" : "EHDSMedication.item.ingredient.strengthInfo.strength",
            "short" : "Concentration or presentation strength, e.g 100mg/1ml or 500mg per 1 tablet",
            "definition" : "Concentration or presentation strength, e.g 100mg/1ml or 500mg per 1 tablet",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.ingredient.strengthInfo.strength",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Ratio"
              }
            ]
          },
          {
            "id" : "EHDSMedication.item.ingredient.strengthInfo.basisOfStrengthSubstance",
            "path" : "EHDSMedication.item.ingredient.strengthInfo.basisOfStrengthSubstance",
            "short" : "Substance that the strength refers to, in case it's different from the main substance",
            "definition" : "Substance that the strength refers to, in case it's different from the main substance",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.ingredient.strengthInfo.basisOfStrengthSubstance",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "EMA SPOR SMS"
            }
          },
          {
            "id" : "EHDSMedication.item.unitOfPresentation",
            "path" : "EHDSMedication.item.unitOfPresentation",
            "short" : "Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package.",
            "definition" : "Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.unitOfPresentation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "EDQM Standard Terms"
            }
          },
          {
            "id" : "EHDSMedication.item.containedQuantity",
            "path" : "EHDSMedication.item.containedQuantity",
            "short" : "Manufactured item quantity for liquids (3ml / 1 vial)",
            "definition" : "Manufactured item quantity for liquids (3ml / 1 vial)",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.containedQuantity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Ratio"
              }
            ]
          },
          {
            "id" : "EHDSMedication.item.amount",
            "path" : "EHDSMedication.item.amount",
            "short" : "Number of such manufactured items in this product (5 vials)",
            "definition" : "Number of such manufactured items in this product (5 vials)",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.item.amount",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Quantity"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "UCUM for units of measure. EDQM Standard Terms for units of presentation."
            }
          },
          {
            "id" : "EHDSMedication.characteristic",
            "path" : "EHDSMedication.characteristic",
            "short" : "Other features of the product",
            "definition" : "Other features of the product",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationCore.characteristic",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.characteristic.type",
            "path" : "EHDSMedication.characteristic.type",
            "short" : "A code expressing the type of characteristic",
            "definition" : "A code expressing the type of characteristic",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.characteristic.type",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSMedication.characteristic.value[x]",
            "path" : "EHDSMedication.characteristic.value[x]",
            "short" : "Description of the characteristic",
            "definition" : "Description of the characteristic",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationCore.characteristic.value[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              },
              {
                "code" : "CodeableConcept"
              },
              {
                "code" : "string"
              },
              {
                "code" : "Quantity"
              },
              {
                "code" : "dateTime"
              },
              {
                "code" : "integer"
              },
              {
                "code" : "decimal"
              },
              {
                "code" : "Ratio"
              }
            ]
          },
          {
            "id" : "EHDSMedication.marketingAuthorisationHolder",
            "path" : "EHDSMedication.marketingAuthorisationHolder",
            "short" : "Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.",
            "definition" : "Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedication.marketingAuthorisationHolder",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.marketingAuthorisationHolder.organisationName",
            "path" : "EHDSMedication.marketingAuthorisationHolder.organisationName",
            "short" : "Name of the organisation holding the authorisation for marketing/mahufacturing",
            "definition" : "Name of the organisation holding the authorisation for marketing/mahufacturing",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedication.marketingAuthorisationHolder.organisationName",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier",
            "path" : "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier",
            "short" : "Identifier of the organisation and/or its physical location",
            "definition" : "Identifier of the organisation and/or its physical location",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSMedication.device",
            "path" : "EHDSMedication.device",
            "short" : "Administration device included in the product",
            "definition" : "Administration device included in the product",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedication.device",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.device.deviceQuantity",
            "path" : "EHDSMedication.device.deviceQuantity",
            "short" : "Number of such devices",
            "definition" : "Number of such devices",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedication.device.deviceQuantity",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Quantity"
              }
            ]
          },
          {
            "id" : "EHDSMedication.device.device[x]",
            "path" : "EHDSMedication.device.device[x]",
            "short" : "Device coded",
            "definition" : "Device coded",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedication.device.device[x]",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              },
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
                ]
              }
            ]
          },
          {
            "id" : "EHDSMedication.batch",
            "path" : "EHDSMedication.batch",
            "short" : "Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.",
            "definition" : "Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedication.batch",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.batch.lotNumber",
            "path" : "EHDSMedication.batch.lotNumber",
            "short" : "Batch identifier of the medicinal product",
            "definition" : "Batch identifier of the medicinal product",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedication.batch.lotNumber",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSMedication.batch.expirationDate",
            "path" : "EHDSMedication.batch.expirationDate",
            "short" : "Batch expiration date of the medicinal product.",
            "definition" : "Batch expiration date of the medicinal product.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedication.batch.expirationDate",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "EHDSMedication",
            "path" : "EHDSMedication"
          },
          {
            "id" : "EHDSMedication.marketingAuthorisationHolder",
            "path" : "EHDSMedication.marketingAuthorisationHolder",
            "short" : "Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.",
            "definition" : "Marketing authorisation holder or manufacturer of the medicinal product. Relevant for identifying the exact product.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.marketingAuthorisationHolder.organisationName",
            "path" : "EHDSMedication.marketingAuthorisationHolder.organisationName",
            "short" : "Name of the organisation holding the authorisation for marketing/mahufacturing",
            "definition" : "Name of the organisation holding the authorisation for marketing/mahufacturing",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier",
            "path" : "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier",
            "short" : "Identifier of the organisation and/or its physical location",
            "definition" : "Identifier of the organisation and/or its physical location",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSMedication.device",
            "path" : "EHDSMedication.device",
            "short" : "Administration device included in the product",
            "definition" : "Administration device included in the product",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.device.deviceQuantity",
            "path" : "EHDSMedication.device.deviceQuantity",
            "short" : "Number of such devices",
            "definition" : "Number of such devices",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Quantity"
              }
            ]
          },
          {
            "id" : "EHDSMedication.device.device[x]",
            "path" : "EHDSMedication.device.device[x]",
            "short" : "Device coded",
            "definition" : "Device coded",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              },
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
                ]
              }
            ]
          },
          {
            "id" : "EHDSMedication.batch",
            "path" : "EHDSMedication.batch",
            "short" : "Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.",
            "definition" : "Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedication.batch.lotNumber",
            "path" : "EHDSMedication.batch.lotNumber",
            "short" : "Batch identifier of the medicinal product",
            "definition" : "Batch identifier of the medicinal product",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSMedication.batch.expirationDate",
            "path" : "EHDSMedication.batch.expirationDate",
            "short" : "Batch expiration date of the medicinal product.",
            "definition" : "Batch expiration date of the medicinal product.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          }
        ]
      }
    }