TerminologyThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Responsible Owner: Pharmacy Work Group | Standards Status: Informative |
Raw JSON (canonical form + also see JSON Format Specification)
Definition for Code SystemComparisonOperationCS
{
"resourceType" : "CodeSystem",
"id" : "comparison-operation",
"meta" : {
"lastUpdated" : "2025-11-14T05:50:06.469+00:00"
},
"text" : {
"status" : "generated",
"div" : "<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>"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "phx"
}],
"url" : "http://hl7.org/fhir/CodeSystem/comparison-operation",
"version" : "6.0.0-ballot3",
"name" : "ComparisonOperationCS",
"title" : "Dose Limit Scope CodeSystem",
"status" : "active",
"experimental" : false,
"publisher" : "HL7 International / Pharmacy",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}]
},
{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/medication"
}]
}],
"description" : "Additional Binding Purpose",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}]
}],
"caseSensitive" : true,
"valueSet" : "http://hl7.org/fhir/ValueSet/comparison-operation",
"hierarchyMeaning" : "is-a",
"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" : "in",
"display" : "In",
"definition" : "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)."
},
{
"code" : "nin",
"display" : "Not In",
"definition" : "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)."
},
{
"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 R6 hl7.fhir.core#6.0.0-ballot3 generated on Fri, Nov 14, 2025 05:51+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4 |
Compare to R5 |
Compare to Last Ballot |
|
Propose a change