This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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
Definition for Code System SearchComparator
<CodeSystem xmlns="http://hl7.org/fhir"> <id value="search-comparator"/> <meta> <lastUpdated value="2016-12-06T12:22:34.981+11:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <h2>SearchComparator</h2> <div> <p>What Search Comparator Codes are supported in search</p> </div> <p>This code system http://hl7.org/fhir/search-comparator defines the following codes:</p> <table class="codes"> <tr> <td> <b>Code</b> </td> <td> <b>Display</b> </td> <td> <b>Definition</b> </td> </tr> <tr> <td>eq <a name="search-comparator-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>ne <a name="search-comparator-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>gt <a name="search-comparator-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>lt <a name="search-comparator-lt"> </a> </td> <td>Less Then</td> <td>the value for the parameter in the resource is less than the provided value</td> </tr> <tr> <td>ge <a name="search-comparator-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>le <a name="search-comparator-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>sa <a name="search-comparator-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>eb <a name="search-comparator-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>ap <a name="search-comparator-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> <url value="http://hl7.org/fhir/search-comparator"/> <identifier> <system value="urn:ietf:rfc:3986"/> <value value="urn:oid:2.16.840.1.113883.4.642.1.0"/> </identifier> <version value="1.8.0"/> <name value="SearchComparator"/> <status value="draft"/> <experimental value="false"/> <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> <date value="2016-12-06T12:22:34+11:00"/> <description value="What Search Comparator Codes are supported in search"/> <caseSensitive value="true"/> <valueSet value="http://hl7.org/fhir/ValueSet/search-comparator"/> <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="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 Then"/> <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>
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.