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
| Responsible Owner: FHIR Infrastructure Work Group | Standards Status : Informative |
Raw Turtle (+ also see Turtle/RDF Format Specification )
Definition
for
Code
System
SearchComparator
SystemSearchComparator
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource -------------------------------------------------------------------[] a fhir:CodeSystem; fhir:Resource.id [ fhir:value "search-comparator"]; fhir:Resource.meta [ fhir:Meta.lastUpdated [ fhir:value "2019-11-01T09:29:23.356+11:00" ] ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:DomainResource.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ]; fhir:Extension.value [ fhir:value "fhir" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ]; fhir:Extension.value [ fhir:value "trial-use" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ]; fhir:Extension.value [ fhir:value "3" ] ]; fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/search-comparator"]; fhir:CodeSystem.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.638" ] ]; fhir:CodeSystem.version [ fhir:value "4.0.1"]; fhir:CodeSystem.name [ fhir:value "SearchComparator"]; fhir:CodeSystem.title [ fhir:value "SearchComparator"]; fhir:CodeSystem.status [ fhir:value "draft"]; fhir:CodeSystem.experimental [ fhir:value "false"]; fhir:CodeSystem.date [ fhir:value "2019-11-01T09:29:23+11:00"]; fhir:CodeSystem.publisher [ fhir:value "HL7 (FHIR Project)"]; fhir:CodeSystem.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ], [ fhir:index 1; fhir:ContactPoint.system [ fhir:value "email" ]; fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]<http://hl7.org/fhir/CodeSystem/search-comparator> a fhir:CodeSystem ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "search-comparator"] ; # fhir:meta [ fhir:lastUpdated [ fhir:v "2025-11-13T11:10:33.286+00:00"^^xsd:dateTime ] ] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ] ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg> ] ; fhir:value [ a fhir:Code ; fhir:v "fhir" ]]; fhir:CodeSystem.description [ fhir:value "What Search Comparator Codes are supported in search."]; fhir:CodeSystem.caseSensitive [ fhir:value "true"]; fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/search-comparator"]; fhir:CodeSystem.content [ fhir:value "complete"]; fhir:CodeSystem.concept [ fhir:index 0; fhir:CodeSystem.code [ fhir:value "eq" ]; fhir:CodeSystem.display [ fhir:value "Equals" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource is equal to the provided value." ] ], [ fhir:index 1; fhir:CodeSystem.code [ fhir:value "ne" ]; fhir:CodeSystem.display [ fhir:value "Not Equals" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource is not equal to the provided value." ] ], [ fhir:index 2; fhir:CodeSystem.code [ fhir:value "gt" ]; fhir:CodeSystem.display [ fhir:value "Greater Than" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource is greater than the provided value." ] ], [ fhir:index 3; fhir:CodeSystem.code [ fhir:value "lt" ]; fhir:CodeSystem.display [ fhir:value "Less Than" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource is less than the provided value." ] ], [ fhir:index 4; fhir:CodeSystem.code [ fhir:value "ge" ]; fhir:CodeSystem.display [ fhir:value "Greater or Equals" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource is greater or equal to the provided value." ] ], [ fhir:index 5; fhir:CodeSystem.code [ fhir:value "le" ]; fhir:CodeSystem.display [ fhir:value "Less of Equal" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource is less or equal to the provided value." ] ], [ fhir:index 6; fhir:CodeSystem.code [ fhir:value "sa" ]; fhir:CodeSystem.display [ fhir:value "Starts After" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource starts after the provided value." ] ], [ fhir:index 7; fhir:CodeSystem.code [ fhir:value "eb" ]; fhir:CodeSystem.display [ fhir:value "Ends Before" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource ends before the provided value." ] ], [ fhir:index 8; fhir:CodeSystem.code [ fhir:value "ap" ]; fhir:CodeSystem.display [ fhir:value "Approximately" ]; fhir:CodeSystem.definition [ fhir:value "the value for the parameter in the resource is approximately the same to the provided value." ] ] .] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status> ] ; fhir:value [ a fhir:Code ; fhir:v "normative" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm> ] ; fhir:value [ a fhir:Integer ; fhir:v 5 ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/search-comparator"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/search-comparator> ] ; # fhir:identifier ( [ fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ; fhir:l <urn:ietf:rfc:3986> ] ; fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.638" ] ] [ fhir:use [ fhir:v "old" ] ; fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ; fhir:l <urn:ietf:rfc:3986> ] ; fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.623" ] ] ) ; # fhir:version [ fhir:v "6.0.0-ballot3"] ; # fhir:name [ fhir:v "SearchComparator"] ; # fhir:title [ fhir:v "Search Comparator"] ; # fhir:status [ fhir:v "active"] ; # fhir:experimental [ fhir:v false] ; # fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 (FHIR Project)"] ; # fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "fhir@lists.hl7.org" ] ] ) ] ) ; # fhir:description [ fhir:v "What Search Comparator Codes are supported in search."] ; # fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ; fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm> ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] ) ; # fhir:caseSensitive [ fhir:v true] ; # fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/search-comparator"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/ValueSet/search-comparator> ] ; # fhir:hierarchyMeaning [] ; # fhir:content [ fhir:v "complete"] ; # fhir:concept ( [ fhir:code [ fhir:v "eq" ] ; fhir:display [ fhir:v "Equals" ] ; fhir:definition [ fhir:v "the value for the parameter in the resource is equal to the provided value." ] ] [ fhir:code [ fhir:v "ne" ] ; fhir:display [ fhir:v "Not Equals" ] ; fhir:definition [ fhir:v "the value for the parameter in the resource is not equal to the provided value." ] ] [ fhir:code [ fhir:v "gt" ] ; fhir:display [ fhir:v "Greater Than" ] ; fhir:definition [ fhir:v "the value for the parameter in the resource is greater than the provided value." ] ] [ fhir:code [ fhir:v "lt" ] ; fhir:display [ fhir:v "Less Than" ] ; fhir:definition [ fhir:v "the value for the parameter in the resource is less than the provided value." ] ] [ fhir:code [ fhir:v "ge" ] ; fhir:display [ fhir:v "Greater or Equals" ] ; fhir:definition [ fhir:v "the value for the parameter in the resource is greater or equal to the provided value." ] ] [ fhir:code [ fhir:v "le" ] ; fhir:display [ fhir:v "Less of Equal" ] ; fhir:definition [ fhir:v "the value for the parameter in the resource is less or equal to the provided value." ] ] [ fhir:code [ fhir:v "sa" ] ; fhir:display [ fhir:v "Starts After" ] ; fhir:definition [ fhir:v "the value for the parameter in the resource starts after the provided value." ] ] [ fhir:code [ fhir:v "eb" ] ; fhir:display [ fhir:v "Ends Before" ] ; fhir:definition [ fhir:v "the value for the parameter in the resource ends before the provided value." ] ] [ fhir:code [ fhir:v "ap" ] ; fhir:display [ fhir:v "Approximately" ] ; fhir:definition [ fhir:v "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,
Thu,
Nov
1,
2019
09:32+1100.
QA
Page
13,
2025
11:12+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