Registry / utility / cql-to-elm

cql-to-elm

JSON →
library3.29.0javamavenunverified

Translates Clinical Quality Language (CQL) into Expression Logical Model (ELM) for clinical decision support.

<dependency> <groupId>info.cqframework</groupId> <artifactId>cql-to-elm</artifactId> <version>3.29.0</version> </dependency>
INSTALL
IMPORT
SIG · CQL-TO-ELM
C
cql-to-elm
utilityjavav3.29.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CqlTranslator
✓ org.cqframework.cql.cql2elm.CqlTranslator

Translates a simple CQL library to ELM XML.

import org.cqframework.cql.cql2elm.CqlTranslator; import org.cqframework.cql.cql2elm.LibraryManager; import org.cqframework.cql.cql2elm.ModelManager; public class Example { public static void main(String[] args) throws Exception { ModelManager modelManager = new ModelManager(); LibraryManager libraryManager = new LibraryManager(modelManager); CqlTranslator translator = CqlTranslator.fromText("library Test version '1.0.0'", modelManager, libraryManager); System.out.println(translator.toXml()); } }
Debug
Known issues
gotchaRequires model definitions (e.g., FHIR) to be available on classpath.
fix
Add appropriate model dependencies (e.g., cqf-ruler) and configure ModelManager accordingly.
affects: all
Upgrade
Version history
3.29.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
cql-to-elm — mvn dependency:get cql-to-elm · libregistry