R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ValueSet/value-filter-comparator (JSON)

Terminology Infrastructure 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" : "2023-12-18T15:12:07.602+11: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" : "6.0.0-ballot1",
  "name" : "ValueFilterComparator",
  "title" : "Value Filter Comparator",
  "status" : "active",
  "experimental" : false,
  "date" : "2023-12-18T15:12:07+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "The type of comparator operator to use",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "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.