MyHealth@Eu Patient Summary
1.0.0-poc - qa-preview 150

MyHealth@Eu Patient Summary - Downloaded Version 1.0.0-poc See the Directory of published versions

## Logical Model: MyHealthEuMedicationStatementEps - XML Profile

Draft as of 2026-07-16

XML representation of the MyHealthEuMedicationStatementEps logical model.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="MyHealthEuMedicationStatementEps"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition MyHealthEuMedicationStatementEps</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, " 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-MyHealthEuMedicationStatementEps-definitions.html#MyHealthEuMedicationStatementEps" title="MyHealth@EU refined base model for Statement about a single medication as part of a medication summary">MyHealthEuMedicationStatementEps</a><a name="MyHealthEuMedicationStatementEps"> </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="http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedicationStatement.html">MyHealthEuMedicationStatement</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">Medication Statement model<br/><br/>Elements defined in Ancestors:<a href="http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSDataSet.html" title="Basic metadata for this information">header</a>, <a href="http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedicationUse.html" title="The current status of taking the medicine (e.g. taking, on-hold, stopped)">treatmentStatus</a>, <a href="http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedicationUse.html" title="Describes the medicinal product.">medication</a>, <a href="http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedicationUse.html" title="Reason for the use of the medication (typically diagnosis, or a procedure)">reason[x]</a>, <a href="http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedicationUse.html" title="Details of how medication is/was taken or should be taken">dosageInstructions</a>, <a href="http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedicationUse.html" title="Period when the patient took, is taking or is expected to take the medication">periodOfUse</a>, <a href="http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedicationUse.html" title="Prescriptions, dispenses or administrations that are the basis of this medication use statement.">derivedFrom[x]</a>, <a href="http://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSMedicationUse.html" title="Additional information about the medication use statement">note</a>, <a href="http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedicationStatement.html">treatmentStatus</a>, <a href="http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedicationStatement.html">medication</a>, <a href="http://fhir.ehdsi.eu/core/1.0.0/StructureDefinition-MyHealthEuMedicationStatement.html">periodOfUse</a></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MyHealthEuMedicationStatementEps-definitions.html#MyHealthEuMedicationStatementEps.reason[x]">reason[x]</a><a name="MyHealthEuMedicationStatementEps.reason_x_"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #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">*</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#CodeableConcept">CodeableConcept</a><span style="opacity: 0.5">, </span><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">Reason for the use of the medication (typically diagnosis, or a procedure)</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>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></td><td style="font-size: 11px; opacity: 0.5;"><a href="http://fhir.ehdsi.eu/core/1.0.0/ActorDefinition-actor-handler-ehdsi.html">MyHealth@EU Handler</a></td></tr></table></td></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_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-MyHealthEuMedicationStatementEps-definitions.html#MyHealthEuMedicationStatementEps.dosageInstructions">dosageInstructions</a><a name="MyHealthEuMedicationStatementEps.dosageInstructions"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000" title="This element has obligations">O</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-MyHealthEuDosageEps.html">MyHealthEuDosageEps</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Details of how medication is/was taken or should be taken</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHOULD</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;"><a href="http://fhir.ehdsi.eu/core/1.0.0/ActorDefinition-actor-handler-ehdsi.html">MyHealth@EU Handler</a></td></tr></table></td></tr>
    <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-MyHealthEuMedicationStatementEps-definitions.html#MyHealthEuMedicationStatementEps.periodOfUse">periodOfUse</a><a name="MyHealthEuMedicationStatementEps.periodOfUse"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #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#Period">Period</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Period when the patient took, is taking or is expected to take the medication</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td><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>SHOULD</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-MyHealthEuMedicationStatement.html">Medication statement model</a></td></tr></table></td></tr>
    <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, " alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
      </text>
      <url
           value="http://fhir.ehdsi.eu/eps/StructureDefinition/MyHealthEuMedicationStatementEps"/>
      <version value="1.0.0-poc"/>
      <name value="MyHealthEuMedicationStatementEps"/>
      <title value="Medication Statement model"/>
      <status value="draft"/>
      <date value="2026-07-16T20:17:46+02:00"/>
      <publisher value="MyHealth@Eu"/>
      <contact>
        <name value="MyHealth@Eu"/>
        <telecom>
          <system value="url"/>
          <value
                 value="https://health.ec.europa.eu/other-pages/basic-page/myhealtheu-flyer-addressed-patients-and-health-professionals_en"/>
        </telecom>
      </contact>
      <description
                   value="MyHealth@EU refined base model for Statement about a single medication as part of a medication summary"/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="150"/>
          <display value="Europe"/>
        </coding>
      </jurisdiction>
      <copyright
                 value="Copyright European Union, represented by the European Commission - DG SANTE. Licenced under CC-BY-4.0."/>
      <fhirVersion value="4.0.1"/>
      <mapping>
        <identity value="rim"/>
        <uri value="http://hl7.org/v3"/>
        <name value="RIM Mapping"/>
      </mapping>
      <kind value="logical"/>
      <abstract value="false"/>
      <type
            value="http://fhir.ehdsi.eu/eps/StructureDefinition/MyHealthEuMedicationStatementEps"/>
      <baseDefinition
                      value="http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedicationStatement"/>
      <derivation value="specialization"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="1.0.0"/>
        </extension>
        <element id="MyHealthEuMedicationStatementEps">
          <path value="MyHealthEuMedicationStatementEps"/>
          <short value="Medication Statement model"/>
          <definition
                      value="MyHealth@EU refined base model for Statement about a single medication as part of a medication summary"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Base"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <isModifier value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="MyHealthEuMedicationStatementEps.header">
          <path value="MyHealthEuMedicationStatementEps.header"/>
          <short value="Basic metadata for this information"/>
          <definition value="Basic metadata for this information"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.header.subject">
          <path value="MyHealthEuMedicationStatementEps.header.subject"/>
          <short value="Patient/subject information"/>
          <definition value="Patient/subject information"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.subject"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.header.identifier">
          <path value="MyHealthEuMedicationStatementEps.header.identifier"/>
          <short
                 value="Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries)."/>
          <definition
                      value="Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDataSet.header.identifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Identifier"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.header.author[x]">
          <path value="MyHealthEuMedicationStatementEps.header.author[x]"/>
          <short value="The author of the medication use statement"/>
          <definition value="The author of the medication use statement"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDataSet.header.author[x]"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"/>
          </type>
          <type>
            <code
                  value="http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"/>
          </type>
          <type>
            <code
                  value="http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.header.date">
          <path value="MyHealthEuMedicationStatementEps.header.date"/>
          <short value="Date and optionally time of authoring/issuing"/>
          <definition value="Date and optionally time of authoring/issuing"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.date"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.header.status">
          <path value="MyHealthEuMedicationStatementEps.header.status"/>
          <short value="Status of the medication use statement (e.g. recorded)"/>
          <definition
                      value="Status of the medication use statement (e.g. recorded)"/>
          <requirements value="eHN PS Guideline, MyHealth@EU, ISO IPS"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.status"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="HL7 MedicationStatement Status Codes"/>
          </binding>
        </element>
        <element id="MyHealthEuMedicationStatementEps.header.source">
          <path value="MyHealthEuMedicationStatementEps.header.source"/>
          <short
                 value="Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information."/>
          <definition
                      value="Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.source"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.header.language">
          <path value="MyHealthEuMedicationStatementEps.header.language"/>
          <short
                 value="Language in which the resource is written. Language is expressed by the IETF language tag."/>
          <definition
                      value="Language in which the resource is written. Language is expressed by the IETF language tag."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.language"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="BCP 47"/>
          </binding>
        </element>
        <element id="MyHealthEuMedicationStatementEps.treatmentStatus">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedicationStatement|1.0.0"/>
            </extension>
          </extension>
          <path value="MyHealthEuMedicationStatementEps.treatmentStatus"/>
          <short
                 value="The current status of taking the medicine (e.g. taking, on-hold, stopped)"/>
          <definition
                      value="The current status of taking the medicine (e.g. taking, on-hold, stopped)"/>
          <requirements value="MyHealth@EU"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSMedicationUse.treatmentStatus"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.medication">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedicationStatement|1.0.0"/>
            </extension>
          </extension>
          <path value="MyHealthEuMedicationStatementEps.medication"/>
          <short value="Describes the medicinal product."/>
          <definition value="Describes the medicinal product."/>
          <requirements value="eHN PS Guideline, ISO IPS, MyHealth@EU"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSMedicationUse.medication"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedication"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.reason[x]">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="MAY:able-to-populate"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/eps/StructureDefinition/MyHealthEuMedicationStatementEps|1.0.0-poc"/>
            </extension>
          </extension>
          <path value="MyHealthEuMedicationStatementEps.reason[x]"/>
          <short
                 value="Reason for the use of the medication (typically diagnosis, or a procedure)"/>
          <definition
                      value="Reason for the use of the medication (typically diagnosis, or a procedure)"/>
          <requirements value="eHN PS Guideline, ISO IPS, MyHealth@EU"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSMedicationUse.reason[x]"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.dosageInstructions">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="SHOULD:handle"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/eps/StructureDefinition/MyHealthEuMedicationStatementEps|1.0.0-poc"/>
            </extension>
          </extension>
          <path value="MyHealthEuMedicationStatementEps.dosageInstructions"/>
          <short
                 value="Details of how medication is/was taken or should be taken"/>
          <definition
                      value="Details of how medication is/was taken or should be taken"/>
          <requirements value="eHN PS Guideline, ISO IPS, MyHealth@EU"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSMedicationUse.dosageInstructions"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://fhir.ehdsi.eu/eps/StructureDefinition/MyHealthEuDosageEps"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.periodOfUse">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="MAY:able-to-populate"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedicationStatement|1.0.0"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="MAY:able-to-populate"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedicationStatement|1.0.0"/>
            </extension>
            <extension url="code">
              <valueCode value="SHOULD:handle"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
          </extension>
          <path value="MyHealthEuMedicationStatementEps.periodOfUse"/>
          <short
                 value="Period when the patient took, is taking or is expected to take the medication"/>
          <definition
                      value="Period when the patient took, is taking or is expected to take the medication"/>
          <requirements value="eHN PS Guideline, ISO IPS, MyHealth@EU"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSMedicationUse.periodOfUse"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Period"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.derivedFrom[x]">
          <path value="MyHealthEuMedicationStatementEps.derivedFrom[x]"/>
          <short
                 value="Prescriptions, dispenses or administrations that are the basis of this medication use statement."/>
          <definition
                      value="Prescriptions, dispenses or administrations that are the basis of this medication use statement."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSMedicationUse.derivedFrom[x]"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription"/>
          </type>
          <type>
            <code
                  value="http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense"/>
          </type>
          <type>
            <code
                  value="http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationAdministration"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.note">
          <path value="MyHealthEuMedicationStatementEps.note"/>
          <short
                 value="Additional information about the medication use statement"/>
          <definition
                      value="Additional information about the medication use statement"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSMedicationUse.note"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
        </element>
      </snapshot>
      <differential>
        <element id="MyHealthEuMedicationStatementEps">
          <path value="MyHealthEuMedicationStatementEps"/>
          <short value="Medication Statement model"/>
          <definition
                      value="MyHealth@EU refined base model for Statement about a single medication as part of a medication summary"/>
        </element>
        <element id="MyHealthEuMedicationStatementEps.reason[x]">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="MAY:able-to-populate"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
          </extension>
          <path value="MyHealthEuMedicationStatementEps.reason[x]"/>
        </element>
        <element id="MyHealthEuMedicationStatementEps.dosageInstructions">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="SHOULD:handle"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
          </extension>
          <path value="MyHealthEuMedicationStatementEps.dosageInstructions"/>
          <type>
            <code
                  value="http://fhir.ehdsi.eu/eps/StructureDefinition/MyHealthEuDosageEps"/>
          </type>
        </element>
        <element id="MyHealthEuMedicationStatementEps.periodOfUse">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="code">
              <valueCode value="MAY:able-to-populate"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuMedicationStatement|1.0.0"/>
            </extension>
            <extension url="code">
              <valueCode value="SHOULD:handle"/>
            </extension>
            <extension url="actor">
              <valueCanonical
                              value="http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"/>
            </extension>
          </extension>
          <path value="MyHealthEuMedicationStatementEps.periodOfUse"/>
        </element>
      </differential>
    </StructureDefinition>