Back to top
U.S. flag

An official website of the United States government

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.


Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

What is ELM and what is the advantage to using it?

ELM is a machine-readable representation of an eCQM's logic and provides the information needed to automatically retrieve data from an electronic health record. The ELM file can be in XML (.xml) or JavaScript Object Notation (JSON) file (.json).

There are a lot of things that CQL supports. Higher-level constructs, such as timing phrases, are translated into a representation in ELM focused on implementation so you do not have to worry about those pieces within ELM. There is nothing that says you could not do all that yourself. But for implementation, using ELM takes those pieces off an implementer’s plate. Individually each are not difficult, but when you put them all together and add them up, and the fact that we maintain ELM as a part of this whole infrastructure, it is a significant advantage to be able to use the ELM directly rather than have to start from a parser. Refer to the CQL Educational Resources page for additional guidance.

Last Updated: Jan 02, 2024