Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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

Example ValueSet/expression-language (XML)

Vocabulary 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="2022-09-07T10:58:29.429+10: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 independedent 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="5.0.0-ballot"/> 
  <name value="ExpressionLanguage"/> 
  <title value="Expression Language"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2022-09-07T10:58:29+10:00"/> 
  <publisher value="HL7 (FHIR Project)"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
    <telecom> 
      <system value="email"/> 
      <value value="fhir@lists.hl7.org"/> 
    </telecom> 
  </contact> 
  <description value="The media type of the expression language."/> 
  <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 independedent 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.