<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://interopsante.org/fhir/StructureDefinition/FrRangeUcum" />
  <version value="1.0.0" />
  <name value="FrRangeUcum" />
  <title value="Range with UCUM quantity units" />
  <status value="draft" />
  <date value="2021-10-18" />
  <publisher value="InterOp'Santé - FRANCE" />
  <contact>
    <telecom>
      <system value="email" />
      <value value="fhir@interopsante.org" />
    </telecom>
  </contact>
  <description value="Range with low and high unit UCUM encoded" />
  <copyright value="Interop'Santé 2021" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Range" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Range" />
  <derivation value="constraint" />
  <differential>
    <element id="Range">
      <path value="Range" />
      <short value="Set of values bounded by precise low and high fixed quantity (no comparator) with UCUM unit" />
      <definition value="A set of ordered Quantities defined by a precise low and high limit defined by a fixed quantity (no comparator) with UCUM unit" />
      <comment value="The stated low and high value are assumed to have arbitrarily high precision when it comes to determining which values are in the range. I.e. 1.99 is not in the range 2 -&gt; 3. Low and high limit are precisely defined, no element 'comparator' in the simpleQuantity defining each bound. The limits are defined by a fixed quantity (no comparator) with UCUM unit." />
    </element>
    <element id="Range.low">
      <path value="Range.low" />
      <short value="low bound with UCUM unit" />
      <definition value="unit of measure SHALL be UCUM encoded" />
      <requirements value="force UCUM unit encoding" />
      <type>
        <code value="Quantity" />
        <profile value="http://interopsante.org/fhir/StructureDefinition/FrSimpleQuantityUcum" />
      </type>
    </element>
    <element id="Range.high">
      <path value="Range.high" />
      <short value="high bound with UCUM unit" />
      <definition value="unit of measure SHALL be UCUM encoded" />
      <requirements value="force UCUM unit encoding" />
      <type>
        <code value="Quantity" />
        <profile value="http://interopsante.org/fhir/StructureDefinition/FrSimpleQuantityUcum" />
      </type>
    </element>
  </differential>
</StructureDefinition>