Made with ❤️ by Anton Vasetenkov
CQL Editor
Oct 31, 2022

CQL Editor

An online editor for the Clinical Quality Language.

The HL7 FHIR and CQL are a powerful duo that pave the way for the next generation of digital healthcare. While the FHIR standard provides the common data model for the healthcare data, the CQL specification defines the language for expressing clinical knowledge in a way that can be executed against the FHIR data model.

What is CQL?

Clinical Quality Language (CQL) is a language used to represent clinically-focused logic such as quality measurements and clinical decision support. As a formal language, it supports the creation, distribution, execution, and maintenance of computable clinical knowledge.

Here is an example of a CQL library:

library libraryOne

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

valueset "Marital Status": 'http://hl7.org/fhir/ValueSet/marital-status'

context Patient

define PatientExample:
  Patient P
    where P.maritalStatus in "Marital Status"

What is CQL Editor?

CQL Editor is an editor for the Clinical Quality Language that allows you to author and run CQL code in your browser. This editor is an attempt to make it easier to learn and use CQL. It provides a simple interface for writing CQL libraries and executing those libraries against FHIR data.

See also
CQL Testing Tool
Test Clinical Quality Language against mock FHIR resources.
CQL-to-ELM Converter
Convert CQL to ELM online.
HL7v2 Editor
Author, inspect, and debug HL7v2 messages online.
Help: FSH Editor
An introduction to FSH Editor.
FHIR GraphQL Client
Query FHIR servers using GraphQL.
CDS Hooks Testing Tool
Test and debug CDS Hooks flows online.
FHIR Viewer
Connect to and browse FHIR-enabled servers.
FHIR Validator
An online validator for FHIR resources.
Cloud-based FHIR IG Publisher
A zero-setup way to generate FHIR Implementation Guides from source.
FHIR Message Sender
An online client for FHIR messaging.
FHIR Converter
Convert FHIR documents from XML to JSON and from JSON to XML.
HL7v2 Validator
Validate HL7v2 messages against the HL7 abstract message syntax.
ECL Editor
An online editor for the Expression Constraint Language.
Mastering SMART on FHIR scopes
What are SMART on FHIR scopes and how do they work?