FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/search-comparator (JSON)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw JSON (canonical form + also see JSON Format Specification)

Definition for Code SystemSearchComparator

{
  "resourceType" : "CodeSystem",
  "id" : "search-comparator",
  "meta" : {
    "lastUpdated" : "2024-11-22T02:15:14.282+00:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "generated",
    "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><a name=\"search-comparator-en-US\"> </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"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 3
  }],
  "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" : "6.0.0-ballot2",
  "name" : "SearchComparator",
  "title" : "Search Comparator",
  "status" : "active",
  "experimental" : false,
  "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.