Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example ValueSet/expression-language (JSON)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Value SetExpression Language

{
  "resourceType" : "ValueSet",
  "id" : "expression-language",
  "meta" : {
    "lastUpdated" : "2023-03-26T15:21:02.749+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 <code>urn:ietf:bcp:13</code><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>text/cql</td><td>CQL</td><td>Clinical Quality Language</td></tr><tr><td>text/fhirpath</td><td>FHIRPath</td><td>FHIRPath</td></tr><tr><td>text/x-fhir-query</td><td>FHIR Query</td><td>FHIR's RESTful query syntax - typically independent of base URL</td></tr><tr><td>text/cql-identifier</td><td>CQL Identifier</td><td>A Clinical Quality Language identifier, typically the name of a top-level definition within a library</td></tr><tr><td>text/cql-expression</td><td>CQL Expression</td><td>A Clinical Quality Language expression,</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/expression-language",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.3.105"
  }],
  "version" : "5.0.0",
  "name" : "ExpressionLanguage",
  "title" : "Expression Language",
  "status" : "draft",
  "experimental" : false,
  "date" : "2023-03-26T15:21:02+11:00",
  "publisher" : "HL7 (FHIR Project)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    },
    {
      "system" : "email",
      "value" : "fhir@lists.hl7.org"
    }]
  }],
  "description" : "The media type of the expression language.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "immutable" : true,
  "compose" : {
    "include" : [{
      "system" : "urn:ietf:bcp:13",
      "concept" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
          "valueString" : "Clinical Quality Language"
        }],
        "code" : "text/cql",
        "display" : "CQL"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
          "valueString" : "FHIRPath"
        }],
        "code" : "text/fhirpath",
        "display" : "FHIRPath"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
          "valueString" : "FHIR's RESTful query syntax - typically independent of base URL"
        }],
        "code" : "text/x-fhir-query",
        "display" : "FHIR Query"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
          "valueString" : "A Clinical Quality Language identifier, typically the name of a top-level definition within a library"
        }],
        "code" : "text/cql-identifier",
        "display" : "CQL Identifier"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
          "valueString" : "A Clinical Quality Language expression,"
        }],
        "code" : "text/cql-expression",
        "display" : "CQL Expression"
      }]
    }]
  }
}

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.