<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Quantity-uv-ips" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">This profile of the Quantity datatype imposes the usage of the UCUM code system for units</div>
  </text>
  <url value="http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips" />
  <version value="0.2.0" />
  <name value="Quantity_uv_ips" />
  <title value="Quantity" />
  <status value="draft" />
  <date value="2018-03-20T16:17:13+00:00" />
  <publisher value="HL7 International" />
  <description value="Datatype Quantity constrianed to use the UCUM units" />
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
      <code value="001" />
      <display value="World" />
    </coding>
  </jurisdiction>
  <purpose value="This profile of the Quantity datatype imposes the usage of the UCUM code system for units" />
  <fhirVersion value="4.0.0" />
  <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://hl7.org/fhir/StructureDefinition/Quantity" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <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). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.&#xD;&#xA;This profile imposes that the code system for unit be UCUM" />
      <mustSupport value="true" />
    </element>
    <element id="Quantity.system">
      <path value="Quantity.system" />
      <short value="UCUM system for units" />
      <min value="1" />
      <fixedUri value="http://unitsofmeasure.org" />
      <mustSupport value="true" />
    </element>
    <element id="Quantity.code">
      <path value="Quantity.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>