Terminology
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: FHIR Infrastructure Work Group | Standards Status : Informative |
Raw JSON ( canonical form + also see JSON Format Specification )
Definition
for
Code
System
SearchComparator
SystemSearchComparator
{
"resourceType" : "CodeSystem",
"id" : "search-comparator",
"meta" : {
"lastUpdated" : "2019-11-01T09:29:23.356+11:00"
"lastUpdated" : "2025-11-10T15:17:08.817+00:00"
},
"text" : {
"status" : "generated",
"div" : "<div>!-- Snipped for Brevity --></div>"
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem search-comparator</b></p><a name=\"search-comparator\"> </a><a name=\"hcsearch-comparator\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/search-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\">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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">lt<a name=\"search-comparator-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=\"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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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>"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 3
"valueInteger" : 5
}],
"url" : "http://hl7.org/fhir/search-comparator",
"identifier" : [{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.4.638"
},
{
"use" : "old",
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.1.623"
}],
"version" : "4.0.1",
"version" : "6.0.0-ballot3",
"name" : "SearchComparator",
"title" : "SearchComparator",
"status" : "draft",
"title" : "Search Comparator",
"status" : "active",
"experimental" : false,
"date" : "2019-11-01T09:29:23+11:00",
"date" : "2021-01-05T10:01:24+11:00",
"publisher" : "HL7 (FHIR Project)",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
},
{
"system" : "email",
"value" : "fhir@lists.hl7.org"
}]
}],
"description" : "What Search Comparator Codes are supported in search.",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001",
"display" : "World"
}]
}],
"caseSensitive" : true,
"valueSet" : "http://hl7.org/fhir/ValueSet/search-comparator",
"content" : "complete",
"concept" : [{
"code" : "eq",
"display" : "Equals",
"definition" : "the value for the parameter in the resource is equal to the provided value."
},
{
"code" : "ne",
"display" : "Not Equals",
"definition" : "the value for the parameter in the resource is not equal to the provided value."
},
{
"code" : "gt",
"display" : "Greater Than",
"definition" : "the value for the parameter in the resource is greater than the provided value."
},
{
"code" : "lt",
"display" : "Less Than",
"definition" : "the value for the parameter in the resource is less than the provided value."
},
{
"code" : "ge",
"display" : "Greater or Equals",
"definition" : "the value for the parameter in the resource is greater or equal to the provided value."
},
{
"code" : "le",
"display" : "Less of Equal",
"definition" : "the value for the parameter in the resource is less or equal to the provided value."
},
{
"code" : "sa",
"display" : "Starts After",
"definition" : "the value for the parameter in the resource starts after the provided value."
},
{
"code" : "eb",
"display" : "Ends Before",
"definition" : "the value for the parameter in the resource ends before the provided value."
},
{
"code" : "ap",
"display" : "Approximately",
"definition" : "the value for the parameter in the resource is approximately the same to the provided value."
}]
}
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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4
(Technical
Correction
#1)
(v4.0.1)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Fri,
Mon,
Nov
1,
2019
09:32+1100.
QA
Page
10,
2025
15:19+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change