CQL-to-ELM Converter

About the tool

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.

I've built this online tool to provide 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.

Demo

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

See also

Made by Anton Vasetenkov.

If you want to say hi, you can reach me on LinkedIn or via email. If you like my work, you can support me by buying me a coffee.