Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Valueset-example-filter.json

Vocabulary Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

ValueSet Example using code filter (intensional) defined in a code system resource

{
  "resourceType": "ValueSet",
  "id": "example-filter",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>ACME Codes for Cholesterol: Plasma only</h2>\n      <div>\n        <p>ACME Codes for Cholesterol: Plasma only - demonstrating the use of a filter defined in a CodeSystem</p>\n\n      </div>\n      <p>This value set includes codes from the following code systems:</p>\n      <ul>\n        <li>Include codes from \n          <a href=\"codesystem-example.html\">\n            <code>http://hl7.org/fhir/CodeSystem/example</code>\n          </a> where acme-plasma  =  true\n        </li>\n      </ul>\n    </div>"
  },
  "url": "http://hl7.org/fhir/ValueSet/example-filter",
  "version": "4.2.0",
  "name": "ACMECholCodesPlasma",
  "title": "ACME Codes for Cholesterol: Plasma only",
  "status": "draft",
  "experimental": true,
  "date": "2018-11-01",
  "publisher": "HL7 International",
  "contact": [
    {
      "name": "FHIR project team",
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "ACME Codes for Cholesterol: Plasma only - demonstrating the use of a filter defined in a CodeSystem",
  "compose": {
    "include": [
      {
        "system": "http://hl7.org/fhir/CodeSystem/example",
        "filter": [
          {
            "property": "acme-plasma",
            "op": "=",
            "value": "true"
          }
        ]
      }
    ],
    "property": [
      "status"
    ]
  }
}

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.