<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="de-ElementDefinition.maxValueX" />
  <meta>
    <lastUpdated value="2019-02-10T00:11:08.953+00:00" />
  </meta>
  <url value="http://hl7.org/fhir/StructureDefinition/de-ElementDefinition.maxValueX" />
  <version value="4.0.0" />
  <name value="ElementDefinition.maxValue[x]" />
  <title value="ElementDefinition.maxValue[x]" />
  <status value="draft" />
  <experimental value="true" />
  <date value="2019-02-10T00:11:08+00:00" />
  <publisher value="HL7 FHIR Standard" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <description value="Data Element for ElementDefinition.maxValue[x]" />
  <purpose value="Data Elements are defined for each element to assist in questionnaire construction etc" />
  <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>
  <mapping>
    <identity value="iso11179" />
    <uri value="http://metadata-standards.org/11179/" />
    <name value="ISO 11179" />
  </mapping>
  <mapping>
    <identity value="dex" />
    <uri value="http://ihe.net/data-element-exchange" />
    <name value="IHE Data Element Exchange (DEX)" />
  </mapping>
  <mapping>
    <identity value="loinc" />
    <uri value="http://loinc.org" />
    <name value="LOINC code for the element" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="ElementDefinition.maxValue[x]" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="ElementDefinition.maxValue[x]">
      <path value="ElementDefinition.maxValue[x]" />
      <short value="Maximum Allowed Value (for some types)" />
      <definition value="The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity." />
      <comment value="Except for date/date/instant, the type of the maxValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of maxValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is added to the current clock to determine the maximum allowable value.   A maximum value for a Quantity is interpreted as an canonical maximum - e.g. you cannot provide 10g if the maximum value is 50mg." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ElementDefinition.maxValue[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="instant" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="positiveInt" />
      </type>
      <type>
        <code value="unsignedInt" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="N/A (MIF territory)" />
      </mapping>
    </element>
  </snapshot>
</StructureDefinition>