MyHealth@EU Core
1.0.0 - trial-use 150

MyHealth@EU Core - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Data Type Profile: SimpleQuantityMyHealth - XML Profile

Active as of 2026-05-05

XML representation of the SimpleQuantity-myhealth data type profile.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="SimpleQuantity-myhealth"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition SimpleQuantity-myhealth</b></p><a name="SimpleQuantity-myhealth"> </a><a name="hcSimpleQuantity-myhealth"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " 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-SimpleQuantity-myhealth-definitions.html#Quantity">Quantity</a><a name="Quantity"> </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-Quantity-myhealth.html">QuantityMyHealth</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">A measured amount using UCUM</span><br/><span style="font-weight:bold">This profile also imposes the profile </span><a style="font-weight:bold; font-weight:bold; font-weight:bold; font-weight:bold" href="http://hl7.org/fhir/R4/datatypes.html#SimpleQuantity">SimpleQuantity</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_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 style="text-decoration:line-through; text-decoration:line-through" href="StructureDefinition-SimpleQuantity-myhealth-definitions.html#Quantity.comparator">comparator</a><a name="Quantity.comparator"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="text-decoration:line-through"/><span style="text-decoration:line-through">0</span><span style="text-decoration:line-through">..</span><span style="text-decoration:line-through">0</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic">The comparator is not used on a SimpleQuantity</span></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>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile">
        <valueCanonical
                        value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </extension>
      <url
           value="http://fhir.ehdsi.eu/core/StructureDefinition/SimpleQuantity-myhealth"/>
      <version value="1.0.0"/>
      <name value="SimpleQuantityMyHealth"/>
      <title value="Simple Quantity (MyHealth@EU)"/>
      <status value="active"/>
      <date value="2026-05-05T10:01:52+00: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="This profile inherits from Quantity (MyHealth@EU) but behaves like a SimpleQuantity by forbidding the comparator element."/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="150"/>
          <display value="Europe"/>
        </coding>
      </jurisdiction>
      <fhirVersion value="4.0.1"/>
      <mapping>
        <identity value="v2"/>
        <uri value="http://hl7.org/v2"/>
        <name value="HL7 v2 Mapping"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <uri value="http://hl7.org/v3"/>
        <name value="RIM Mapping"/>
      </mapping>
      <kind value="complex-type"/>
      <abstract value="false"/>
      <type value="Quantity"/>
      <baseDefinition
                      value="http://fhir.ehdsi.eu/core/StructureDefinition/Quantity-myhealth"/>
      <derivation value="constraint"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="1.0.0"/>
        </extension>
        <element id="Quantity">
          <path value="Quantity"/>
          <short value="A measured amount using UCUM"/>
          <definition
                      value="A measured amount (or an amount that can potentially be measured) and uncertainty of the measurement. Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.
    This profile imposes that the code system for units be UCUM."/>
          <comment
                   value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Quantity"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <condition value="ele-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="qty-3"/>
            <severity value="error"/>
            <human
                   value="If a code for the unit is present, the system SHALL also be present"/>
            <expression value="code.empty() or system.exists()"/>
            <xpath value="not(exists(f:code)) or exists(f:system)"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Quantity"/>
          </constraint>
          <isModifier value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map value="SN (see also Range) or CQ"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/>
          </mapping>
        </element>
        <element id="Quantity.id">
          <path value="Quantity.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <definition
                      value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Quantity.extension">
          <path value="Quantity.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Quantity.extension:uncertainty">
          <path value="Quantity.extension"/>
          <sliceName value="uncertainty"/>
          <short value="Standard Deviation (same units as the quantity)"/>
          <definition
                      value="The primary measure of variance/uncertainty of the value (the square root of the sum of the squares of the differences between all data points and the mean)."/>
          <comment
                   value="standardDeviation has the same units as the quantity. It is used to normalize the data for computing the distribution function. Applications that cannot deal with probability distributions can still get an idea about the confidence level by looking at standardDeviation."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty|5.2.0"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="PPD.standardDeviation"/>
          </mapping>
        </element>
        <element id="Quantity.extension:uncertaintyType">
          <path value="Quantity.extension"/>
          <sliceName value="uncertaintyType"/>
          <short value="Probability Distribution Type for uncertainty"/>
          <definition
                      value="A code specifying the type of probability distribution for the uncertainty."/>
          <comment
                   value="This is only meaningful if there is also an uncertainty extension. If there is an uncertainty extension with no type, this means  that the probability distribution type is unknown. In that case, the uncertainty has the meaning of an informal guess."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.2.0"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="PPD.distributionType"/>
          </mapping>
        </element>
        <element id="Quantity.value">
          <path value="Quantity.value"/>
          <short value="Numerical value (with implicit precision)"/>
          <definition
                      value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
          <comment
                   value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
          <requirements
                        value="Precision is handled implicitly in almost all cases of measurement."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Quantity.value"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="decimal"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="SN.2  / CQ - N/A"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
          </mapping>
        </element>
        <element id="Quantity.comparator">
          <path value="Quantity.comparator"/>
          <short value="The comparator is not used on a SimpleQuantity"/>
          <definition
                      value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
          <requirements
                        value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="Quantity.comparator"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <meaningWhenMissing
                              value="If there is no comparator, then there is no modification of the value"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="QuantityComparator"/>
            </extension>
            <strength value="required"/>
            <description
                         value="How the Quantity should be understood and represented."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1"/>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="SN.1  / CQ.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="IVL properties"/>
          </mapping>
        </element>
        <element id="Quantity.unit">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Quantity.unit"/>
          <short value="Unit representation"/>
          <definition value="A human-readable form of the unit."/>
          <requirements
                        value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Quantity.unit"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="(see OBX.6 etc.) / CQ.2"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="PQ.unit"/>
          </mapping>
        </element>
        <element id="Quantity.system">
          <path value="Quantity.system"/>
          <short value="UCUM or EDQM system for units"/>
          <definition
                      value="The identification of the system that provides the coded form of the unit."/>
          <requirements
                        value="Need to know the system that defines the coded form of the unit."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Quantity.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <condition value="qty-3"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="myhealth-allowed-systems"/>
            <severity value="error"/>
            <human
                   value="The system for the quantity unit must be either UCUM or EDQM."/>
            <expression
                        value="$this = 'http://unitsofmeasure.org' or $this = 'http://standardterms.edqm.eu'"/>
            <source
                    value="http://fhir.ehdsi.eu/core/StructureDefinition/Quantity-myhealth"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="(see OBX.6 etc.) / CQ.2"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CO.codeSystem, PQ.translation.codeSystem"/>
          </mapping>
        </element>
        <element id="Quantity.code">
          <path value="Quantity.code"/>
          <short value="Coded form of the unit"/>
          <definition
                      value="A computer processable form of the unit in some unit representation system."/>
          <comment
                   value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
          <requirements
                        value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Quantity.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
              <extension url="key">
                <valueId value="ehdsi-quantity-unit-binding"/>
              </extension>
              <extension url="purpose">
                <valueCode value="extensible"/>
              </extension>
              <extension url="valueSet">
                <valueCanonical
                                value="http://terminology.ehdsi.eu/ValueSet/eHDSIQuantityUnit"/>
              </extension>
              <extension url="documentation">
                <valueMarkdown
                               value="A unit of presentation used to represent the quantity of product"/>
              </extension>
              <extension url="shortDoco">
                <valueString
                             value="A unit of presentation used to represent the quantity of product"/>
              </extension>
            </extension>
            <strength value="extensible"/>
            <valueSet value="http://terminology.ehdsi.eu/ValueSet/eHDSIUnit"/>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="(see OBX.6 etc.) / CQ.2"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="PQ.code, MO.currency, PQ.translation.code"/>
          </mapping>
        </element>
      </snapshot>
      <differential>
        <element id="Quantity">
          <path value="Quantity"/>
        </element>
        <element id="Quantity.comparator">
          <path value="Quantity.comparator"/>
          <short value="The comparator is not used on a SimpleQuantity"/>
          <max value="0"/>
        </element>
      </differential>
    </StructureDefinition>