CQL-to-ELM Converter

Enter CQL (Clinical Quality Language) code below and click Convert to ELM to translate your library to ELM (Expression Logical Model) JSON suitable for use with ELM engines. You can configure the compiler by changing the translation options.

The CQL code to be converted to ELM.
Press Convert to ELM to see the result.

About CQL and ELM

The Clinical Quality Language (CQL) is a high-level, domain-specific language focused on clinical quality measures and clinical decision support. It was developed to facilitate the authoring, sharing, and deployment of clinical logic and reasoning artifacts in the healthcare domain.

To be able to evaluate CQL against input data, you first need to convert CQL to ELM (Expression Logical Model)—an intermediate, lower-level format for representing the logical expressions contained in CQL. ELM can then be fed to the CQL engine for evaluation.

About the tool

This online tool provides a convenient way to convert CQL to ELM, whether you are testing/debugging your CQL or pre-compiling it to create a CQL library on a FHIR server.

CQL-to-ELM Converter
CQL-to-ELM Converter

See also

Made by Anton Vasetenkov.