<?xml version="1.0" encoding="UTF-8"?><CodeSystem xmlns="http://hl7.org/fhir"><id value="comparison-operation"/><meta><lastUpdated value="2026-03-31T18:55:04.283+00:00"/></meta><text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem comparison-operation</b></p><a name="comparison-operation"> </a><a name="hccomparison-operation"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/CodeSystem/comparison-operation</code> defines the following codes in a Is-A hierarchy:</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">eq<a name="comparison-operation-eq"> </a></td><td>Equals</td><td>the value for the parameter in the resource is equal to the provided value.</td></tr><tr><td style="white-space:nowrap">ne<a name="comparison-operation-ne"> </a></td><td>Not Equals</td><td>the value for the parameter in the resource is not equal to the provided value.</td></tr><tr><td style="white-space:nowrap">in<a name="comparison-operation-in"> </a></td><td>In</td><td>The value for the parameter in the resource is in the list of codes in the value (comma-separated, and subject to code system logic; the code may be a value set).</td></tr><tr><td style="white-space:nowrap">nin<a name="comparison-operation-nin"> </a></td><td>Not In</td><td>The value for the parameter in the resource is not in the list of codes in the value (comma-separated, and subject to code system logic; the code may be a value set).</td></tr><tr><td style="white-space:nowrap">gt<a name="comparison-operation-gt"> </a></td><td>Greater Than</td><td>the value for the parameter in the resource is greater than the provided value.</td></tr><tr><td style="white-space:nowrap">lt<a name="comparison-operation-lt"> </a></td><td>Less Than</td><td>the value for the parameter in the resource is less than the provided value.</td></tr><tr><td style="white-space:nowrap">ge<a name="comparison-operation-ge"> </a></td><td>Greater or Equals</td><td>the value for the parameter in the resource is greater or equal to the provided value.</td></tr><tr><td style="white-space:nowrap">le<a name="comparison-operation-le"> </a></td><td>Less of Equal</td><td>the value for the parameter in the resource is less or equal to the provided value.</td></tr><tr><td style="white-space:nowrap">sa<a name="comparison-operation-sa"> </a></td><td>Starts After</td><td>the value for the parameter in the resource starts after the provided value.</td></tr><tr><td style="white-space:nowrap">eb<a name="comparison-operation-eb"> </a></td><td>Ends Before</td><td>the value for the parameter in the resource ends before the provided value.</td></tr><tr><td style="white-space:nowrap">ap<a name="comparison-operation-ap"> </a></td><td>Approximately</td><td>the value for the parameter in the resource is approximately the same to the provided value.</td></tr></table></div></text><extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"><valueCode value="normative"/></extension><extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"><valueCode value="phx"/></extension><url value="http://hl7.org/fhir/CodeSystem/comparison-operation"/><version value="6.0.0-ballot4"/><name value="ComparisonOperationCS"/><title value="Dose Limit Scope CodeSystem"/><status value="active"/><experimental value="false"/><publisher value="HL7 International / Pharmacy"/><contact><telecom><system value="url"/><value value="http://www.hl7.org/Special/committees/fiwg"/></telecom></contact><contact><telecom><system value="url"/><value value="http://www.hl7.org/Special/committees/medication"/></telecom></contact><description value="Additional Binding Purpose"/><jurisdiction><coding><system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/><code value="001"/></coding></jurisdiction><caseSensitive value="true"/><valueSet value="http://hl7.org/fhir/ValueSet/comparison-operation"/><hierarchyMeaning value="is-a"/><content value="complete"/><concept><code value="eq"/><display value="Equals"/><definition value="the value for the parameter in the resource is equal to the provided value."/></concept><concept><code value="ne"/><display value="Not Equals"/><definition value="the value for the parameter in the resource is not equal to the provided value."/></concept><concept><code value="in"/><display value="In"/><definition value="The value for the parameter in the resource is in the list of codes in the value (comma-separated, and subject to code system logic; the code may be a value set)."/></concept><concept><code value="nin"/><display value="Not In"/><definition value="The value for the parameter in the resource is not in the list of codes in the value (comma-separated, and subject to code system logic; the code may be a value set)."/></concept><concept><code value="gt"/><display value="Greater Than"/><definition value="the value for the parameter in the resource is greater than the provided value."/></concept><concept><code value="lt"/><display value="Less Than"/><definition value="the value for the parameter in the resource is less than the provided value."/></concept><concept><code value="ge"/><display value="Greater or Equals"/><definition value="the value for the parameter in the resource is greater or equal to the provided value."/></concept><concept><code value="le"/><display value="Less of Equal"/><definition value="the value for the parameter in the resource is less or equal to the provided value."/></concept><concept><code value="sa"/><display value="Starts After"/><definition value="the value for the parameter in the resource starts after the provided value."/></concept><concept><code value="eb"/><display value="Ends Before"/><definition value="the value for the parameter in the resource ends before the provided value."/></concept><concept><code value="ap"/><display value="Approximately"/><definition value="the value for the parameter in the resource is approximately the same to the provided value."/></concept></CodeSystem>