<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-core-IntegerQuantity" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR IntegerQuantity Profile</b>
      </p>
      <p>A Quantity that is an integer.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.core.IntegerQuantity maps to Quantity:
  decimal maps to value
  Units.Coding.code maps to code
  Units.Coding.CodeSystem maps to system
  Units.Coding.DisplayText maps to unit
  Comparator maps to comparator
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-IntegerQuantity" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.core.IntegerQuantity" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR IntegerQuantity Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="A Quantity that is an integer." />
  <purpose value="Need to able to capture all sorts of measured values, even if the measured value are not precisely quantified. Values include exact measures such as 3.51g, customary units such as 3 tablets, and currencies such as $100.32USD." />
  <fhirVersion value="3.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://hl7.org/fhir/StructureDefinition/Quantity" />
  <derivation value="constraint" />
  <differential>
    <element id="Quantity:shr-core-IntegerQuantity">
      <path value="Quantity" />
      <short value="SHR IntegerQuantity Profile" />
      <definition value="A Quantity that is an integer." />
    </element>
    <element id="Quantity:shr-core-IntegerQuantity.value">
      <path value="Quantity.value" />
      <min value="1" />
      <max value="1" />
    </element>
  </differential>
</StructureDefinition>