@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEd> a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "MyHealthEuMedicationEd"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition MyHealthEuMedicationEd</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-MyHealthEuMedicationEd-definitions.html#MyHealthEuMedicationEd\" title=\"MyHealth@EU refined model for dispensed medication information\">MyHealthEuMedicationEd</a><a name=\"MyHealthEuMedicationEd\"> </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-MyHealthEuMedicationEpd.html\">MyHealthEuMedicationEpd</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\">Dispensed Medication model<br/><br/>Elements defined in Ancestors:<a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"An identifier (e.g. from EMA SPOR PMS or national registry) or a code (e.g. from SNOMED CT or national code system) for the product (virtual product, branded product, or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities. An identifier might not exist e.g. for substance-based prescriptions.\">identifyingCode[x]</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.)\">classification</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"Current trade name (authorised name) of the product. When medication is specified by a CodeableConcept, the name may be omitted when available as the display name of the concept.\">productName</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"Marketing authorisation holder of the medicinal product. Relevant for identifying the exact product. If the product does not have a marketing authorisation, the manufacturer information may be used.\">marketingAuthorisationHolder</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"Dose form at the package level (e.g. authorised dose form), corresponding to IDMP Combined Pharmaceutical Dose Form (this includes terms from EDQM Combination Pack or Combined Dose Form lists). Dose form for a single package item is defined in item.doseForm.\">doseForm</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"Textual description of the product, e.g. including package description.\">description</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"A medication item. For combination packs, this can be multiple manufactured items with each item having its own dose form and ingredients+strengths defined\">item</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"Administration device included in the product. Devices that are not inside the medication package are excluded.\">device</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"Additional features of the product (e.g. reimbursable, sugar-free, easy-open cap, score-lined). It is expected that implementers will define a valueset supporting their use cases.\">characteristic</a>, <a href=\"http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedication.html\" title=\"Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.\">batch</a>, <a href=\"http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedication.html\">identifyingCode[x]</a>, <a href=\"http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedication.html\">classification</a>, <a href=\"http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedication.html\">productName</a>, <a href=\"http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedication.html\">description</a>, <a href=\"http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedication.html\">batch</a>, <a href=\"StructureDefinition-MyHealthEuMedicationEpd.html\">marketingAuthorisationHolder</a></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_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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MyHealthEuMedicationEd-definitions.html#MyHealthEuMedicationEd.productName\">productName</a><a name=\"MyHealthEuMedicationEd.productName\"> </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: #D50000\" 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/R4/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\">Current trade name (authorised name) of the product. When medication is specified by a CodeableConcept, the name may be omitted when available as the display name of the concept.</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td><td style=\"font-size: 11px\"><b>Source</b></td></tr><tr><td style=\"font-size: 11px\"><b>MAY</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;; opacity: 0.5;\"><a href=\"http://fhir.ehdsi.eu/core/1.0.0/ActorDefinition-actor-handler-ehdsi.html\">MyHealth@EU Handler</a><a href=\"http://fhir.ehdsi.eu/core/1.0.0/ActorDefinition-actor-handler-ehdsi.html\">MyHealth@EU Handler</a></td><td style=\"font-size: 11px\">from <a href=\"http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedication.html\">Medication model</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>"
  ] ;
  fhir:StructureDefinition.url [ fhir:value "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEd"] ;
  fhir:StructureDefinition.version [ fhir:value "1.0.0-poc"] ;
  fhir:StructureDefinition.name [ fhir:value "MyHealthEuMedicationEd"] ;
  fhir:StructureDefinition.title [ fhir:value "Dispensed Medication model"] ;
  fhir:StructureDefinition.status [ fhir:value "draft"] ;
  fhir:StructureDefinition.date [ fhir:value "2026-07-16T21:42:56+02:00"^^xsd:dateTime] ;
  fhir:StructureDefinition.publisher [ fhir:value "MyHealth@Eu"] ;
  fhir:StructureDefinition.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "MyHealth@Eu" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://health.ec.europa.eu/other-pages/basic-page/myhealtheu-flyer-addressed-patients-and-health-professionals_en" ]
     ]
  ] ;
  fhir:StructureDefinition.description [ fhir:value "MyHealth@EU refined model for dispensed medication information"] ;
  fhir:StructureDefinition.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:Coding.code [ fhir:value "150" ] ;
       fhir:Coding.display [ fhir:value "Europe" ]
     ]
  ] ;
  fhir:StructureDefinition.copyright [ fhir:value "Copyright European Union, represented by the European Commission - DG SANTE. Licenced under CC-BY-4.0."] ;
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"] ;
  fhir:StructureDefinition.mapping [
     fhir:index 0 ;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ] ;
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ] ;
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
  ] ;
  fhir:StructureDefinition.kind [ fhir:value "logical"] ;
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean] ;
  fhir:StructureDefinition.type [ fhir:value "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEd"] ;
  fhir:StructureDefinition.baseDefinition [
     fhir:value "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd" ;
     fhir:link <http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd>
  ] ;
  fhir:StructureDefinition.derivation [ fhir:value "specialization"] ;
  fhir:StructureDefinition.snapshot [
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version" ] ;
       fhir:Extension.valueString [ fhir:value "1.0.0-poc" ]
     ] ;
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd" ] ;
       fhir:ElementDefinition.short [ fhir:value "Dispensed Medication model" ] ;
       fhir:ElementDefinition.definition [ fhir:value "MyHealth@EU refined model for dispensed medication information" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Base" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.identifyingCode[x]" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.identifyingCode[x]" ] ;
       fhir:ElementDefinition.short [ fhir:value "An identifier (e.g. from EMA SPOR PMS or national registry) or a code (e.g. from SNOMED CT or national code system) for the product (virtual product, branded product, or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities. An identifier might not exist e.g. for substance-based prescriptions." ] ;
       fhir:ElementDefinition.definition [ fhir:value "An identifier (e.g. from EMA SPOR PMS or national registry) or a code (e.g. from SNOMED CT or national code system) for the product (virtual product, branded product, or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities. An identifier might not exist e.g. for substance-based prescriptions." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.identifyingCode[x]" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ], [
         fhir:index 1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.classification" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.classification" ] ;
       fhir:ElementDefinition.short [ fhir:value "Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.)" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.)" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.classification" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "WHO ATC" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.productName" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.productName" ] ;
       fhir:ElementDefinition.short [ fhir:value "Current trade name (authorised name) of the product. When medication is specified by a CodeableConcept, the name may be omitted when available as the display name of the concept." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Current trade name (authorised name) of the product. When medication is specified by a CodeableConcept, the name may be omitted when available as the display name of the concept." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.productName" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 4 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.marketingAuthorisationHolder" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd|1.0.0-poc" ;
             fhir:link <http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd|1.0.0-poc>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.marketingAuthorisationHolder" ] ;
       fhir:ElementDefinition.short [ fhir:value "Marketing authorisation holder of the medicinal product. Relevant for identifying the exact product. If the product does not have a marketing authorisation, the manufacturer information may be used." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Marketing authorisation holder of the medicinal product. Relevant for identifying the exact product. If the product does not have a marketing authorisation, the manufacturer information may be used." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.marketingAuthorisationHolder" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Base" ]
       ]
     ], [
       fhir:index 5 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.marketingAuthorisationHolder.organisationName" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.marketingAuthorisationHolder.organisationName" ] ;
       fhir:ElementDefinition.short [ fhir:value "Name of the organisation holding the authorisation for marketing/manufacturing" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Name of the organisation holding the authorisation for marketing/manufacturing" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.marketingAuthorisationHolder.organisationName" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 6 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.marketingAuthorisationHolder.organisationIdentifier" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.marketingAuthorisationHolder.organisationIdentifier" ] ;
       fhir:ElementDefinition.short [ fhir:value "Identifier of the organisation and/or its physical location" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Identifier of the organisation and/or its physical location" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]
       ]
     ], [
       fhir:index 7 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.doseForm" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.doseForm" ] ;
       fhir:ElementDefinition.short [ fhir:value "Dose form at the package level (e.g. authorised dose form), corresponding to IDMP Combined Pharmaceutical Dose Form (this includes terms from EDQM Combination Pack or Combined Dose Form lists). Dose form for a single package item is defined in item.doseForm." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Dose form at the package level (e.g. authorised dose form), corresponding to IDMP Combined Pharmaceutical Dose Form (this includes terms from EDQM Combination Pack or Combined Dose Form lists). Dose form for a single package item is defined in item.doseForm." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.doseForm" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "EDQM Standard Terms" ]
       ]
     ], [
       fhir:index 8 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.description" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.description" ] ;
       fhir:ElementDefinition.short [ fhir:value "Textual description of the product, e.g. including package description." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Textual description of the product, e.g. including package description." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.description" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "UCUM for units of measure. EDQM Standard Terms for units of presentation." ]
       ]
     ], [
       fhir:index 9 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item" ] ;
       fhir:ElementDefinition.short [ fhir:value "A medication item. For combination packs, this can be multiple manufactured items with each item having its own dose form and ingredients+strengths defined" ] ;
       fhir:ElementDefinition.definition [ fhir:value "A medication item. For combination packs, this can be multiple manufactured items with each item having its own dose form and ingredients+strengths defined" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Base" ]
       ]
     ], [
       fhir:index 10 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.doseForm" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.doseForm" ] ;
       fhir:ElementDefinition.short [ fhir:value "Administrable or manufactured item dose form, depending on the type of medication definition. This should not include combined dose forms." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Administrable or manufactured item dose form, depending on the type of medication definition. This should not include combined dose forms." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.doseForm" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "EDQM Standard Terms" ]
       ]
     ], [
       fhir:index 11 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.ingredient" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHOULD:handle" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHOULD:handle" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.ingredient" ] ;
       fhir:ElementDefinition.short [ fhir:value "Ingredients" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Ingredients" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.ingredient" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Base" ]
       ]
     ], [
       fhir:index 12 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.ingredient.isActive" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd|1.0.0-poc" ;
             fhir:link <http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd|1.0.0-poc>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.ingredient.isActive" ] ;
       fhir:ElementDefinition.short [ fhir:value "Marks whether the ingredient is considered an active ingredient. Excipients are typically not needed, and by default only active ingredients are expected." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Marks whether the ingredient is considered an active ingredient. Excipients are typically not needed, and by default only active ingredients are expected." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.ingredient.isActive" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 13 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.ingredient.substance" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd|1.0.0-poc" ;
             fhir:link <http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd|1.0.0-poc>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.ingredient.substance" ] ;
       fhir:ElementDefinition.short [ fhir:value "Substance" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Substance" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.ingredient.substance" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "EMA SPOR SMS" ]
       ]
     ], [
       fhir:index 14 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.ingredient.strengthInfo" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHOULD:handle" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.ingredient.strengthInfo" ] ;
       fhir:ElementDefinition.short [ fhir:value "Strength of the product - amount of substance per unit" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Strength of the product - amount of substance per unit" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.ingredient.strengthInfo" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Base" ]
       ]
     ], [
       fhir:index 15 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.ingredient.strengthInfo.strength" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHOULD:handle" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd|1.0.0-poc" ;
             fhir:link <http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEpd|1.0.0-poc>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.ingredient.strengthInfo.strength" ] ;
       fhir:ElementDefinition.short [ fhir:value "Concentration or presentation strength, e.g '100 mg/1 ml' or '500 mg per 1 tablet'" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Concentration or presentation strength, e.g '100 mg/1 ml' or '500 mg per 1 tablet'" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.ingredient.strengthInfo.strength" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Ratio" ]
       ]
     ], [
       fhir:index 16 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.ingredient.strengthInfo.basisOfStrengthSubstance" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.ingredient.strengthInfo.basisOfStrengthSubstance" ] ;
       fhir:ElementDefinition.short [ fhir:value "Substance that the strength refers to, especially when different from .item.strength.substance" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Substance that the strength refers to, especially when different from .item.strength.substance" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.ingredient.strengthInfo.basisOfStrengthSubstance" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "EMA SPOR SMS" ]
       ]
     ], [
       fhir:index 17 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.unitOfPresentation" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.unitOfPresentation" ] ;
       fhir:ElementDefinition.short [ fhir:value "Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.unitOfPresentation" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "EDQM Standard Terms" ]
       ]
     ], [
       fhir:index 18 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.containedQuantity" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHOULD:handle" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.containedQuantity" ] ;
       fhir:ElementDefinition.short [ fhir:value "Manufactured item quantity per one item (3 ml / 1 vial)" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Manufactured item quantity per one item (3 ml / 1 vial)" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.containedQuantity" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Ratio" ]
       ]
     ], [
       fhir:index 19 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.amount" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHOULD:handle" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.amount" ] ;
       fhir:ElementDefinition.short [ fhir:value "Number of such items in this product (5 vials). The combined amount of all items will be considered to be the total package size." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Number of such items in this product (5 vials). The combined amount of all items will be considered to be the total package size." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.amount" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "UCUM for units of measure. EDQM Standard Terms for units of presentation." ]
       ]
     ], [
       fhir:index 20 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.item.packageType" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHOULD:handle" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.item.packageType" ] ;
       fhir:ElementDefinition.short [ fhir:value "Type of package of the medication item" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Type of package of the medication item" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.item.packageType" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "EDQM Standard Terms for packaging." ]
       ]
     ], [
       fhir:index 21 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.device" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.device" ] ;
       fhir:ElementDefinition.short [ fhir:value "Administration device included in the product. Devices that are not inside the medication package are excluded." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Administration device included in the product. Devices that are not inside the medication package are excluded." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.device" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Base" ]
       ]
     ], [
       fhir:index 22 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.device.deviceQuantity" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.device.deviceQuantity" ] ;
       fhir:ElementDefinition.short [ fhir:value "Number of such devices" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Number of such devices" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.device.deviceQuantity" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ]
       ]
     ], [
       fhir:index 23 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.device.device[x]" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.device.device[x]" ] ;
       fhir:ElementDefinition.short [ fhir:value "Device coded" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Device coded" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.device.device[x]" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ], [
         fhir:index 1 ;
         fhir:ElementDefinition.type.code [ fhir:value "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice" ]
       ]
     ], [
       fhir:index 24 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.characteristic" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.characteristic" ] ;
       fhir:ElementDefinition.short [ fhir:value "Additional features of the product (e.g. reimbursable, sugar-free, easy-open cap, score-lined). It is expected that implementers will define a valueset supporting their use cases." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Additional features of the product (e.g. reimbursable, sugar-free, easy-open cap, score-lined). It is expected that implementers will define a valueset supporting their use cases." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.characteristic" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Base" ]
       ]
     ], [
       fhir:index 25 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.characteristic.type" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.characteristic.type" ] ;
       fhir:ElementDefinition.short [ fhir:value "A code expressing the type of characteristic." ] ;
       fhir:ElementDefinition.definition [ fhir:value "A code expressing the type of characteristic." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.characteristic.type" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ]
     ], [
       fhir:index 26 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.characteristic.value[x]" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.characteristic.value[x]" ] ;
       fhir:ElementDefinition.short [ fhir:value "Description of the characteristic value." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Description of the characteristic value." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.characteristic.value[x]" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]
       ], [
         fhir:index 1 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ], [
         fhir:index 2 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ], [
         fhir:index 3 ;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ]
       ], [
         fhir:index 4 ;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]
       ], [
         fhir:index 5 ;
         fhir:ElementDefinition.type.code [ fhir:value "integer" ]
       ], [
         fhir:index 6 ;
         fhir:ElementDefinition.type.code [ fhir:value "decimal" ]
       ], [
         fhir:index 7 ;
         fhir:ElementDefinition.type.code [ fhir:value "Ratio" ]
       ]
     ], [
       fhir:index 27 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.batch" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.batch" ] ;
       fhir:ElementDefinition.short [ fhir:value "Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.batch" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Base" ]
       ]
     ], [
       fhir:index 28 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.batch.lotNumber" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.batch.lotNumber" ] ;
       fhir:ElementDefinition.short [ fhir:value "Batch identifier of the medicinal product." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Batch identifier of the medicinal product." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.batch.lotNumber" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 29 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.batch.expirationDate" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.batch.expirationDate" ] ;
       fhir:ElementDefinition.short [ fhir:value "Batch expiration date of the medicinal product." ] ;
       fhir:ElementDefinition.definition [ fhir:value "Batch expiration date of the medicinal product." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "EHDSMedication.batch.expirationDate" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]
       ]
     ]
  ] ;
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd" ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd" ] ;
       fhir:ElementDefinition.short [ fhir:value "Dispensed Medication model" ] ;
       fhir:ElementDefinition.definition [ fhir:value "MyHealth@EU refined model for dispensed medication information" ]
     ], [
       fhir:index 1 ;
       fhir:Element.id [ fhir:value "MyHealthEuMedicationEd.productName" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "MAY:able-to-populate" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0" ;
             fhir:link <http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication|1.0.0>
           ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi" ;
             fhir:link <http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "MyHealthEuMedicationEd.productName" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.ehdsi.eu/epd/StructureDefinition/MyHealthEuMedicationEd.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

