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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="quantity-comparator"/>
  <meta>
    <lastUpdated value="2026-03-16T22:59:53.445+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: CodeSystem quantity-comparator</b>
      </p>
      <a name="quantity-comparator"> </a>
      <a name="hcquantity-comparator"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/quantity-comparator</code> defines the following codes:
      </p>
      <table class="codes">
        <tr>
          <td style="white-space:nowrap">
            <b>Code</b>
          </td>
          <td>
            <b>Display</b>
          </td>
          <td>
            <b>Definition</b>
          </td>
        </tr>
        <tr>
          <td style="white-space:nowrap">&lt;
            <a name="quantity-comparator-.60"> </a>
          </td>
          <td>Less than</td>
          <td>The actual value is less than the given value.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">&lt;=
            <a name="quantity-comparator-.60.61"> </a>
          </td>
          <td>Less or Equal to</td>
          <td>The actual value is less than or equal to the given value.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">&gt;=
            <a name="quantity-comparator-.62.61"> </a>
          </td>
          <td>Greater or Equal to</td>
          <td>The actual value is greater than or equal to the given value.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">&gt;
            <a name="quantity-comparator-.62"> </a>
          </td>
          <td>Greater than</td>
          <td>The actual value is greater than the given value.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">ad
            <a name="quantity-comparator-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-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/>
  </extension>
  <url value="http://hl7.org/fhir/quantity-comparator"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.4.60"/>
  </identifier>
  <version value="6.0.0-ballot4"/>
  <name value="QuantityComparator"/>
  <title value="QuantityComparator"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-16T22:59:53+00:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="fhir@lists.hl7.org"/>
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="How the Quantity should be understood and represented."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator"/>
  <content value="complete"/>
  <concept>
    <code value="&lt;"/>
    <display value="Less than"/>
    <definition value="The actual value is less than the given value."/>
  </concept>
  <concept>
    <code value="&lt;="/>
    <display value="Less or Equal to"/>
    <definition value="The actual value is less than or equal to the given value."/>
  </concept>
  <concept>
    <code value="&gt;="/>
    <display value="Greater or Equal to"/>
    <definition value="The actual value is greater than or equal to the given value."/>
  </concept>
  <concept>
    <code value="&gt;"/>
    <display value="Greater than"/>
    <definition value="The actual value is greater than the given value."/>
  </concept>
  <concept>
    <code value="ad"/>
    <display value="Sufficient to achieve this total quantity"/>
    <definition value="The actual value is sufficient for the total quantity to equal the given value."/>
  </concept>
</CodeSystem>