<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R5-quantity-comparator-for-R4"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R5-quantity-comparator-for-R4</b></p><a name="R5-quantity-comparator-for-R4"> </a><a name="hcR5-quantity-comparator-for-R4"> </a><p>This value set expansion contains 1 concepts.</p><table class="codes"><tr><td><b>System</b></td><td><b>Version</b></td><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a name="R5-quantity-comparator-for-R4-http://hl7.org/fhir/quantity-comparator-ad"> </a><code>http://hl7.org/fhir/quantity-comparator</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-quantity-comparator.html#quantity-comparator-ad">ad</a></td><td>Sufficient to achieve this total quantity</td><td>The actual value is sufficient for the total quantity to equal the given value.</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="5"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r5.r4"/>
    </extension>
    <extension url="version">
      <valueString value="0.1.0"/>
    </extension>
    <extension url="uri">
      <valueUri value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/uv/xver/ValueSet/R5-quantity-comparator-for-R4"/>
  <version value="0.1.0"/>
  <name value="R5QuantityComparatorForR4"/>
  <title value="Cross-version ValueSet R5.QuantityComparator for use in FHIR R4"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-17T21:02:03.8104715+00:00"/>
  <publisher value="FHIR Infrastructure"/>
  <contact>
    <name value="FHIR Infrastructure"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="This cross-version ValueSet represents content from http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0 for use in FHIR R4 that is appropriate for use but unavailable in `http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1`."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <purpose value="This value set is part of the cross-version definitions generated to enable use of the&#xD;&#xA;value set `http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0` as defined in FHIR R5&#xD;&#xA;in FHIR R4.&#xD;&#xA;&#xD;&#xA;The source value set is bound to the following FHIR R5 elements:&#xD;&#xA;* `Age.comparator` as Required&#xA;* `Count.comparator` as Required&#xA;* `Distance.comparator` as Required&#xA;* `Duration.comparator` as Required&#xA;* `Quantity.comparator` as Required&#xD;&#xA;&#xD;&#xA;Across FHIR versions, the value set has been mapped as:&#xD;&#xA;* `http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0`&#xA;* `http://hl7.org/fhir/ValueSet/quantity-comparator|4.3.0`&#xA;* `http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1`&#xD;&#xA;&#xD;&#xA;The following concepts are not included in this cross-version definition because they have valid representations:&#xA;&#xA;* `http://hl7.org/fhir/quantity-comparator#&lt;`&#xA;* `http://hl7.org/fhir/quantity-comparator#&lt;=`&#xA;* `http://hl7.org/fhir/quantity-comparator#&gt;`&#xA;* `http://hl7.org/fhir/quantity-comparator#&gt;=`&#xD;&#xA;&#xD;&#xA;Following are the generation technical comments:&#xD;&#xA;One or more source concepts are either not mapped or broader than their targets, so the value set relationship is broadened.&#xA;The source value set has more active concepts (5) than the target (4), so the source is broader than the target.&#xA;All concepts in the comparison are listed as identical.&#xA;The source and target value sets have the same number of active concepts (4).&#xA;Using explicit mapping from `http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0` to `http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1` in `http://hl7.org/fhir/uv/xver/5.0/ConceptMap/R5-QuantityComparator-R4-QuantityComparator` (`ConceptMap-R5-QuantityComparator-R4-QuantityComparator.json`)"/>
  <compose>
    <include>
      <system value="http://hl7.org/fhir/quantity-comparator"/>
      <version value="5.0.0"/>
      <concept>
        <code value="ad"/>
        <display value="Sufficient to achieve this total quantity"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2026-03-17T21:02:03.8104715+00:00"/>
    <contains>
      <system value="http://hl7.org/fhir/quantity-comparator"/>
      <version value="5.0.0"/>
      <code value="ad"/>
      <display value="Sufficient to achieve this total quantity"/>
    </contains>
  </expansion>
</ValueSet>