evaluator.execution

CQL Evaluator Execution Extensions

License

License

GroupId

GroupId

org.opencds.cqf.cql
ArtifactId

ArtifactId

evaluator.execution
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

evaluator.execution
CQL Evaluator Execution Extensions
Project URL

Project URL

https://github.com/DBCG/cql-evaluator/tree/master

Download evaluator.execution

How to add to project

<!-- https://jarcasting.com/artifacts/org.opencds.cqf.cql/evaluator.execution/ -->
<dependency>
    <groupId>org.opencds.cqf.cql</groupId>
    <artifactId>evaluator.execution</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.opencds.cqf.cql/evaluator.execution/
implementation 'org.opencds.cqf.cql:evaluator.execution:1.0.0'
// https://jarcasting.com/artifacts/org.opencds.cqf.cql/evaluator.execution/
implementation ("org.opencds.cqf.cql:evaluator.execution:1.0.0")
'org.opencds.cqf.cql:evaluator.execution:jar:1.0.0'
<dependency org="org.opencds.cqf.cql" name="evaluator.execution" rev="1.0.0">
  <artifact name="evaluator.execution" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.opencds.cqf.cql', module='evaluator.execution', version='1.0.0')
)
libraryDependencies += "org.opencds.cqf.cql" % "evaluator.execution" % "1.0.0"
[org.opencds.cqf.cql/evaluator.execution "1.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
info.cqframework : cql-to-elm jar 1.5.0
org.opencds.cqf.cql : engine jar 1.5.0
org.opencds.cqf.cql : engine.fhir jar 1.5.0
ca.uhn.hapi.fhir : hapi-fhir-client jar 5.0.2

Project Modules

There are no modules declared in this project.

CQL Evaluator

This project provides a Java-based CQL evaluation service and related components.

The front-end of the evaluator is the cql-to-elm translator (which provides translation of CQL to ELM) and the backend is the cql-engine (which provides ELM execution). The evaluator glues those two components together and provides DataProvider and TerminologyProvider implementations that allow execution of CQL against a filesystem, FHIR server, and in-process FHIR resources.

Prerequisites

Java 11+

Maven 3.5+

Usage

The cql-evaluator project includes a cli tool that allows execution of CQL from the command line. You can build this tool with:

mvn package

Then you can run the cli with:

java -jar ./evaluator.cli/target/evaluator.cli-1.0.0-SNAPSHOT-shaded.jar --help

That will list the command line options. There is some CQL content available in the Connectathon IG repository. If you have that repository checked out as a sibling repo to this one, you can execute a sample Measure test case by running:

java -jar ./evaluator.cli/target/evaluator.cli-1.0.0-SNAPSHOT-shaded.jar \
--lu ../connectathon/fhir4/input/pagecontent/cql \
--ln EXM104_FHIR4 \
-m FHIR=../connectathon/fhir4/input/tests/EXM104_FHIR4-8.1.000 \
-t ../connectathon/fhir4/input/vocabulary/valueset \
-c Patient=numer-EXM104-FHIR4

License

Copyright 2020 Dynamic Content Group

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

org.opencds.cqf.cql

Database Consulting Group

Alphora Open Source Sponsor

Versions

Version
1.0.0