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 - TTL Representation

Page standards status: Trial-use Maturity Level: 2

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "cql-message-category-codes"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<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>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "cds"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "trial-use"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 2     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://cql.hl7.org/CodeSystem/cql-message-category-codes"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "2.0.0-ballot"] ; # 
  fhir:name [ fhir:v "CQLMessageCategoryCodes"] ; # 
  fhir:title [ fhir:v "CQL Message Category Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-08-09T08:02:05+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Clinical Decision Support WG"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss/index.cfm" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Codes for categorization of messages returned by applications that process Clinical Quality Language, whether as part of authoring or evaluating."] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
fhir:v "http://cql.hl7.org/ValueSet/cql-message-category"^^xsd:anyURI ;
fhir:link <http://cql.hl7.org/ValueSet/cql-message-category>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
fhir:code [ fhir:v "compile-time" ] ;
fhir:display [ fhir:v "Compile-Time" ] ;
fhir:definition [ fhir:v "The message is associated with compile-time (or authoring) processing, such as a lexical, syntactic, or semantic error." ] ;
    ( fhir:concept [
fhir:code [ fhir:v "lexical" ] ;
fhir:display [ fhir:v "Lexical" ] ;
fhir:definition [ fhir:v "The message is associated with lexical processing, such as an invalid token." ]     ] [
fhir:code [ fhir:v "syntax" ] ;
fhir:display [ fhir:v "Syntax" ] ;
fhir:definition [ fhir:v "The message is associated with syntactic processing of CQL, such as an unexpected keyword." ]     ] [
fhir:code [ fhir:v "semantic" ] ;
fhir:display [ fhir:v "Semantic" ] ;
fhir:definition [ fhir:v "The message is associated with semantic processing of CQL, such as an unresolvable function call." ]     ] )
  ] [
fhir:code [ fhir:v "run-time" ] ;
fhir:display [ fhir:v "Run-Time" ] ;
fhir:definition [ fhir:v "The message is associated with run-time (or evaluation) processing of CQL, such as a duplicate value." ]
  ] ) . #