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/expression-language (XML)

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

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

Definition for Value SetExpression Language

<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="expression-language"/> 
  <meta> 
    <lastUpdated value="2023-12-18T15:12:07.602+11:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="extensions"/> 
    <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> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="5"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/expression-language"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.105"/> 
  </identifier> 
  <version value="6.0.0-ballot1"/> 
  <name value="ExpressionLanguage"/> 
  <title value="Expression Language"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2023-12-18T15:12:07+11:00"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <description value="The media type of the expression language."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <immutable value="true"/> 
  <compose> 
    <include> 
      <system value="urn:ietf:bcp:13"/> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="Clinical Quality Language"/> 
        </extension> 
        <code value="text/cql"/> 
        <display value="CQL"/> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="FHIRPath"/> 
        </extension> 
        <code value="text/fhirpath"/> 
        <display value="FHIRPath"/> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="FHIR's RESTful query syntax - typically independent of base URL"/> 
        </extension> 
        <code value="text/x-fhir-query"/> 
        <display value="FHIR Query"/> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="A Clinical Quality Language identifier, typically the name of a top-level definition
           within a library"/> 
        </extension> 
        <code value="text/cql-identifier"/> 
        <display value="CQL Identifier"/> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="A Clinical Quality Language expression,"/> 
        </extension> 
        <code value="text/cql-expression"/> 
        <display value="CQL Expression"/> 
      </concept> 
    </include> 
  </compose> 
</ValueSet> 

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.