This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Example CodeSystem/quantity-comparator (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemQuantityComparator
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="quantity-comparator"/>
<meta>
<lastUpdated value="2023-03-01T23:03:57.298+11:00"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> This 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"><
<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"><=
<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">>=
<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">>
<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>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="5"/>
</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="5.0.0-draft-final"/>
<name value="QuantityComparator"/>
<title value="QuantityComparator"/>
<status value="active"/>
<experimental value="false"/>
<date value="2023-03-01T23:03:57+11:00"/>
<publisher value="HL7 (FHIR Project)"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
<telecom>
<system value="email"/>
<value value="fhir@lists.hl7.org"/>
</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="<"/>
<display value="Less than"/>
<definition value="The actual value is less than the given value."/>
</concept>
<concept>
<code value="<="/>
<display value="Less or Equal to"/>
<definition value="The actual value is less than or equal to the given value."/>
</concept>
<concept>
<code value=">="/>
<display value="Greater or Equal to"/>
<definition value="The actual value is greater than or equal to the given value."/>
</concept>
<concept>
<code value=">"/>
<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>
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.