2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Filter-operator.json

Raw JSON (canonical form)

Definition for Value SetFilterOperator

{
  "resourceType": "ValueSet",
  "id": "filter-operator",
  "meta": {
    "lastUpdated": "2015-02-23T09:07:27.665+11:00",
    "profile": [
      "http://hl7.org/fhir/Profile/valueset-shareable-definition"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/ExtensionDefinition/valueset-oid",
      "valueUri": "urn:oid:2.16.840.1.113883.4.642.2.177"
    }
  ],
  "url": "http://hl7.org/fhir/vs/filter-operator",
  "version": "0.4.0",
  "name": "FilterOperator",
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "description": "The kind of operation to perform as a part of a property based filter",
  "status": "draft",
  "experimental": false,
  "date": "2015-02-23T09:07:27+11:00",
  "define": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/ExtensionDefinition/valueset-oid",
        "valueUri": "urn:oid:2.16.840.1.113883.4.642.1.177"
      }
    ],
    "system": "http://hl7.org/fhir/filter-operator",
    "caseSensitive": true,
    "concept": [
      {
        "code": "=",
        "definition": "The specified property of the code equals the provided value."
      },
      {
        "code": "is-a",
        "definition": "The specified property of the code has an is-a relationship with the provided value."
      },
      {
        "code": "is-not-a",
        "definition": "The specified property of the code does not have an is-a relationship with the provided value."
      },
      {
        "code": "regex",
        "definition": "The specified property of the code  matches the regex specified in the provided value."
      },
      {
        "code": "in",
        "definition": "The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list)."
      },
      {
        "code": "not-in",
        "definition": "The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list)."
      }
    ]
  }
}

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.