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

## ValueSet: CQL Message Code

Official URL: http://cql.hl7.org/ValueSet/cql-message-code | Version: 2.0.0
Standards status: Trial-use | Maturity Level: 2 | Computable Name: CQLMessageCode
Other Identifiers: OID:2.16.840.1.113883.4.642.40.71.48.5

Codes for messages returned by applications that process Clinical Quality Language, whether as part of authoring or evaluating. This code system is intended to be a place to identify codes for messages that are indicated by the specification itself. Implementation-specific, application-specific, and content-specific codes may be provided with codes from other code systems, but should ideally map to some code (possibly a more general code) in this code system. This is the 'all system' value set for the CQL Message Codes code system.

References

This value set is not used here; it may be used elsewhere (e.g. specifications and/or implementations that use this content)

### Logical Definition (CLD)

- Include all codes defined in `http://cql.hl7.org/CodeSystem/cql-message-codes` version 📦2.0.0

### Expansion

Expansion performed internally based on codesystem CQL Message Codes v2.0.0 (CodeSystem)

This value set contains 6 concepts

System | Code | Display (en) | Definition | JSON | XML
`http://cql.hl7.org/CodeSystem/cql-message-codes` | 000-00000 | Internal | Internal translator error |  |
`http://cql.hl7.org/CodeSystem/cql-message-codes` | 001-00000 | Lexical | Lexical error |  |
`http://cql.hl7.org/CodeSystem/cql-message-codes` | 002-00000 | Syntax | Syntax error |  |
`http://cql.hl7.org/CodeSystem/cql-message-codes` | 003-00000 | Semantic | Semantic error |  |
`http://cql.hl7.org/CodeSystem/cql-message-codes` | 003-10000 | Conditional expression resulted in a choice type | Indicates that a conditional expression resulted in a choice type when none of the branches of the conditional were choice types. This can indicate a mistake and should be reviewed. |  |
`http://cql.hl7.org/CodeSystem/cql-message-codes` | 100-00000 | Run-time | Runtime error |  |

Explanation of the columns that may appear on this page:

Level | A few code lists that FHIR defines are hierarchical - each code is assigned a level. In this scheme, some codes are under other codes, and imply that the code they are under also applies
System | The source of the definition of the code (when the value set draws in codes defined elsewhere)
Code | The code (used as the code in the resource instance)
Display | The display (used in the display element of a Coding). If there is no display, implementers should not simply display the code, but map the concept into their application
Definition | An explanation of the meaning of the concept
Comments | Additional notes about how to use the code