Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ValueSet/value-filter-comparator (JSON)

Vocabulary Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Value SetValue Filter Comparator

{
  "resourceType" : "ValueSet",
  "id" : "value-filter-comparator",
  "meta" : {
    "lastUpdated" : "2022-09-10T04:52:37.223+10:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><ul><li>Include these codes as defined in <a href=\"codesystem-search-comparator.html\"><code>http://hl7.org/fhir/search-comparator</code></a><table class=\"none\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a href=\"codesystem-search-comparator.html#search-comparator-eq\">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><a href=\"codesystem-search-comparator.html#search-comparator-gt\">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><a href=\"codesystem-search-comparator.html#search-comparator-lt\">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><a href=\"codesystem-search-comparator.html#search-comparator-ge\">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><a href=\"codesystem-search-comparator.html#search-comparator-le\">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><a href=\"codesystem-search-comparator.html#search-comparator-sa\">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><a href=\"codesystem-search-comparator.html#search-comparator-eb\">eb</a></td><td>Ends Before</td><td>the value for the parameter in the resource ends before the provided value.</td></tr></table></li></ul></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" : 5
  }],
  "url" : "http://hl7.org/fhir/ValueSet/value-filter-comparator",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.3.3306"
  }],
  "version" : "5.0.0-ballot",
  "name" : "ValueFilterComparator",
  "title" : "Value Filter Comparator",
  "status" : "active",
  "experimental" : false,
  "date" : "2022-09-10T04:52:37+10:00",
  "publisher" : "FHIR Project team",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "The type of comparator operator to use",
  "compose" : {
    "include" : [{
      "system" : "http://hl7.org/fhir/search-comparator",
      "concept" : [{
        "code" : "eq",
        "display" : "Equals"
      },
      {
        "code" : "gt",
        "display" : "Greater Than"
      },
      {
        "code" : "lt",
        "display" : "Less Than"
      },
      {
        "code" : "ge",
        "display" : "Greater or Equals"
      },
      {
        "code" : "le",
        "display" : "Less of Equal"
      },
      {
        "code" : "sa",
        "display" : "Starts After"
      },
      {
        "code" : "eb",
        "display" : "Ends Before"
      }]
    }]
  }
}

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.