{
  "resourceType": "CodeSystem",
  "id": "filter-operator",
  "meta": {
    "lastUpdated": "2017-04-18T21:44:43.294+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <h2>FilterOperator</h2>\n            <div>\n              <p>The kind of operation to perform as a part of a property based filter.</p>\n\n            </div>\n            <p>This code system http://hl7.org/fhir/filter-operator defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td>\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td>=\n                  <a name=\"filter-operator-.61\"> </a>\n                </td>\n                <td>Equals</td>\n                <td>The specified property of the code equals the provided value.</td>\n              </tr>\n              <tr>\n                <td>is-a\n                  <a name=\"filter-operator-is-a\"> </a>\n                </td>\n                <td>Is A (by subsumption)</td>\n                <td>Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, including the provided concept itself (i.e. include child codes)</td>\n              </tr>\n              <tr>\n                <td>descendent-of\n                  <a name=\"filter-operator-descendent-of\"> </a>\n                </td>\n                <td>Descendent Of (by subsumption)</td>\n                <td>Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, excluding the provided concept itself (i.e. include child codes)</td>\n              </tr>\n              <tr>\n                <td>is-not-a\n                  <a name=\"filter-operator-is-not-a\"> </a>\n                </td>\n                <td>Not (Is A) (by subsumption)</td>\n                <td>The specified property of the code does not have an is-a relationship with the provided value.</td>\n              </tr>\n              <tr>\n                <td>regex\n                  <a name=\"filter-operator-regex\"> </a>\n                </td>\n                <td>Regular Expression</td>\n                <td>The specified property of the code  matches the regex specified in the provided value.</td>\n              </tr>\n              <tr>\n                <td>in\n                  <a name=\"filter-operator-in\"> </a>\n                </td>\n                <td>In Set</td>\n                <td>The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list).</td>\n              </tr>\n              <tr>\n                <td>not-in\n                  <a name=\"filter-operator-not-in\"> </a>\n                </td>\n                <td>Not in Set</td>\n                <td>The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list).</td>\n              </tr>\n              <tr>\n                <td>generalizes\n                  <a name=\"filter-operator-generalizes\"> </a>\n                </td>\n                <td>Generalizes (by Subsumption)</td>\n                <td>Includes all concept ids that have a transitive is-a relationship from the concept Id provided as the value, including the provided concept itself (e.g. include parent codes)</td>\n              </tr>\n              <tr>\n                <td>exists\n                  <a name=\"filter-operator-exists\"> </a>\n                </td>\n                <td>Exists</td>\n                <td>The specified property of the code has at least one value (if the specified value is true; if the specified value is false, then matches when the specified property of the code has no values)</td>\n              </tr>\n            </table>\n          </div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
      "valueString": "Informative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 5
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "vocab"
    }
  ],
  "url": "http://hl7.org/fhir/filter-operator",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:oid:2.16.840.1.113883.4.642.1.472"
  },
  "version": "3.0.1",
  "name": "FilterOperator",
  "status": "draft",
  "experimental": false,
  "date": "2017-04-18T21:44:43+00:00",
  "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.",
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/filter-operator",
  "content": "complete",
  "concept": [
    {
      "code": "=",
      "display": "Equals",
      "definition": "The specified property of the code equals the provided value."
    },
    {
      "code": "is-a",
      "display": "Is A (by subsumption)",
      "definition": "Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, including the provided concept itself (i.e. include child codes)"
    },
    {
      "code": "descendent-of",
      "display": "Descendent Of (by subsumption)",
      "definition": "Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, excluding the provided concept itself (i.e. include child codes)"
    },
    {
      "code": "is-not-a",
      "display": "Not (Is A) (by subsumption)",
      "definition": "The specified property of the code does not have an is-a relationship with the provided value."
    },
    {
      "code": "regex",
      "display": "Regular Expression",
      "definition": "The specified property of the code  matches the regex specified in the provided value."
    },
    {
      "code": "in",
      "display": "In Set",
      "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",
      "display": "Not in Set",
      "definition": "The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list)."
    },
    {
      "code": "generalizes",
      "display": "Generalizes (by Subsumption)",
      "definition": "Includes all concept ids that have a transitive is-a relationship from the concept Id provided as the value, including the provided concept itself (e.g. include parent codes)"
    },
    {
      "code": "exists",
      "display": "Exists",
      "definition": "The specified property of the code has at least one value (if the specified value is true; if the specified value is false, then matches when the specified property of the code has no values)"
    }
  ]
}