Clinical Quality Language Specification
2.0.0 - R2 STU 1

Clinical Quality Language Specification - Downloaded Version 2.0.0 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

    <http://hl7.org/fhir/CodeSystem/cql-message-category-codes> a fhir:CodeSystem ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "cql-message-category-codes"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.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>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
         fhir:Extension.valueCode [ fhir:value "cds" ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
         fhir:Extension.valueCode [ fhir:value "trial-use" ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
         fhir:Extension.valueInteger [ fhir:value "2"^^xsd:integer ]
      ] ;
      fhir:CodeSystem.url [ fhir:value "http://cql.hl7.org/CodeSystem/cql-message-category-codes"] ;
      fhir:CodeSystem.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
         fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.40.71.16.3" ]
      ] ;
      fhir:CodeSystem.version [ fhir:value "2.0.0"] ;
      fhir:CodeSystem.name [ fhir:value "CQLMessageCategoryCodes"] ;
      fhir:CodeSystem.title [ fhir:value "CQL Message Category Codes"] ;
      fhir:CodeSystem.status [ fhir:value "active"] ;
      fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
      fhir:CodeSystem.date [ fhir:value "2026-07-29T09:34:45+10:00"^^xsd:dateTime] ;
      fhir:CodeSystem.publisher [ fhir:value "Clinical Decision Support WG"] ;
      fhir:CodeSystem.contact [
         fhir:index 0 ;
         fhir:ContactDetail.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "url" ] ;
           fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/dss/index.cfm" ]
         ]
      ] ;
      fhir:CodeSystem.description [ fhir:value "Codes for categorization of messages returned by applications that process Clinical Quality Language, whether as part of authoring or evaluating."] ;
      fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
      fhir:CodeSystem.valueSet [
         fhir:value "http://cql.hl7.org/ValueSet/cql-message-category" ;
         fhir:link <http://cql.hl7.org/ValueSet/cql-message-category>
      ] ;
      fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"] ;
      fhir:CodeSystem.content [ fhir:value "complete"] ;
      fhir:CodeSystem.concept [
         fhir:index 0 ;
         fhir:CodeSystem.concept.code [ fhir:value "compile-time" ] ;
         fhir:CodeSystem.concept.display [ fhir:value "Compile-Time" ] ;
         fhir:CodeSystem.concept.definition [ fhir:value "The message is associated with compile-time (or authoring) processing, such as a lexical, syntactic, or semantic error." ] ;
         fhir:CodeSystem.concept.concept [
           fhir:index 0 ;
           fhir:CodeSystem.concept.code [ fhir:value "lexical" ] ;
           fhir:CodeSystem.concept.display [ fhir:value "Lexical" ] ;
           fhir:CodeSystem.concept.definition [ fhir:value "The message is associated with lexical processing, such as an invalid token." ]
         ], [
           fhir:index 1 ;
           fhir:CodeSystem.concept.code [ fhir:value "syntax" ] ;
           fhir:CodeSystem.concept.display [ fhir:value "Syntax" ] ;
           fhir:CodeSystem.concept.definition [ fhir:value "The message is associated with syntactic processing of CQL, such as an unexpected keyword." ]
         ], [
           fhir:index 2 ;
           fhir:CodeSystem.concept.code [ fhir:value "semantic" ] ;
           fhir:CodeSystem.concept.display [ fhir:value "Semantic" ] ;
           fhir:CodeSystem.concept.definition [ fhir:value "The message is associated with semantic processing of CQL, such as an unresolvable function call." ]
         ]
      ], [
         fhir:index 1 ;
         fhir:CodeSystem.concept.code [ fhir:value "run-time" ] ;
         fhir:CodeSystem.concept.display [ fhir:value "Run-Time" ] ;
         fhir:CodeSystem.concept.definition [ fhir:value "The message is associated with run-time (or evaluation) processing of CQL, such as a duplicate value." ]
      ] .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/CodeSystem/cql-message-category-codes.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/CodeSystem/cql-message-category-codes.ttl> .