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

Clinical Quality Language Specification, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql/ and changes regularly. See the Directory of published versions

## CodeSystem: CQL Message Category Codes

Official URL: http://cql.hl7.org/CodeSystem/cql-message-category-codes | Version: 2.0.0-ballot
Standards status: Trial-use | Maturity Level: 2 | Computable Name: CQLMessageCategoryCodes

Codes for categorization of messages returned by applications that process Clinical Quality Language, whether as part of authoring or evaluating.

This Code system is referenced in the content logical definition of the following value sets:

- CQLMessageCategory

This case-sensitive code system `http://cql.hl7.org/CodeSystem/cql-message-category-codes` defines the following codes in a Is-A hierarchy:

Lvl | Code | Display | Definition
1 | compile-time | Compile-Time | The message is associated with compile-time (or authoring) processing, such as a lexical, syntactic, or semantic error.
2 | lexical | Lexical | The message is associated with lexical processing, such as an invalid token.
2 | syntax | Syntax | The message is associated with syntactic processing of CQL, such as an unexpected keyword.
2 | semantic | Semantic | The message is associated with semantic processing of CQL, such as an unresolvable function call.
1 | run-time | Run-Time | The message is associated with run-time (or evaluation) processing of CQL, such as a duplicate value.