Clinical Quality Language Specification
2.0.0-ballot - R2 STU 1 (Ballot)

This page is part of the Clinical Quality Language Specification (v2.0.0-ballot: R2 STU 1) based on FHIR (HL7® FHIR® Standard) R4. This version is a pre-release. The current official version is 1.5.3. For a full list of available versions, see the Directory of published versions

: CQL Message Category Codes - XML Representation

Page standards status: Trial-use Maturity Level: 2

Raw xml | Download


<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="cql-message-category-codes"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem cql-message-category-codes</b></p><a name="cql-message-category-codes"> </a><a name="hccql-message-category-codes"> </a><p>This case-sensitive code system <code>http://cql.hl7.org/CodeSystem/cql-message-category-codes</code> defines the following codes in a Is-A hierarchy:</p><table class="codes"><tr><td><b>Lvl</b></td><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td style="white-space:nowrap">compile-time<a name="cql-message-category-codes-compile-time"> </a></td><td>Compile-Time</td><td>The message is associated with compile-time (or authoring) processing, such as a lexical, syntactic, or semantic error.</td></tr><tr><td>2</td><td style="white-space:nowrap">  lexical<a name="cql-message-category-codes-lexical"> </a></td><td>Lexical</td><td>The message is associated with lexical processing, such as an invalid token.</td></tr><tr><td>2</td><td style="white-space:nowrap">  syntax<a name="cql-message-category-codes-syntax"> </a></td><td>Syntax</td><td>The message is associated with syntactic processing of CQL, such as an unexpected keyword.</td></tr><tr><td>2</td><td style="white-space:nowrap">  semantic<a name="cql-message-category-codes-semantic"> </a></td><td>Semantic</td><td>The message is associated with semantic processing of CQL, such as an unresolvable function call.</td></tr><tr><td>1</td><td style="white-space:nowrap">run-time<a name="cql-message-category-codes-run-time"> </a></td><td>Run-Time</td><td>The message is associated with run-time (or evaluation) processing of CQL, such as a duplicate value.</td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cds"/>
  </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="2"/>
  </extension>
  <url value="http://cql.hl7.org/CodeSystem/cql-message-category-codes"/>
  <version value="2.0.0-ballot"/>
  <name value="CQLMessageCategoryCodes"/>
  <title value="CQL Message Category Codes"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2025-08-09T08:02:05+10:00"/>
  <publisher value="Clinical Decision Support WG"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/dss/index.cfm"/>
    </telecom>
  </contact>
  <description
               value="Codes for categorization of messages returned by applications that process Clinical Quality Language, whether as part of authoring or evaluating."/>
  <caseSensitive value="true"/>
  <valueSet value="http://cql.hl7.org/ValueSet/cql-message-category"/>
  <hierarchyMeaning value="is-a"/>
  <content value="complete"/>
  <concept>
    <code value="compile-time"/>
    <display value="Compile-Time"/>
    <definition
                value="The message is associated with compile-time (or authoring) processing, such as a lexical, syntactic, or semantic error."/>
    <concept>
      <code value="lexical"/>
      <display value="Lexical"/>
      <definition
                  value="The message is associated with lexical processing, such as an invalid token."/>
    </concept>
    <concept>
      <code value="syntax"/>
      <display value="Syntax"/>
      <definition
                  value="The message is associated with syntactic processing of CQL, such as an unexpected keyword."/>
    </concept>
    <concept>
      <code value="semantic"/>
      <display value="Semantic"/>
      <definition
                  value="The message is associated with semantic processing of CQL, such as an unresolvable function call."/>
    </concept>
  </concept>
  <concept>
    <code value="run-time"/>
    <display value="Run-Time"/>
    <definition
                value="The message is associated with run-time (or evaluation) processing of CQL, such as a duplicate value."/>
  </concept>
</CodeSystem>