You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 21, 2022. It is now read-only.
c-schuler edited this page Apr 9, 2017
·
5 revisions
Overview
CQL Translator v1.1
JPA Support
Note: This SNAPSHOT is deprecated - use the 1.1.1.xx SNAPSHOTS
The 1.0-SNAPSHOT Release (engine / engine-fhir) refers to the refactored branch of the engine. The 1.0-SNAPSHOT Release's main focus was to improve the logging of the engine's evaluation process.
Features
Added an Execution class, which works with a new Reporting class to enable the evaluation process logging.
Example Usage:
public String buildReport(Library library) {
// enable the evaluation output
Execution.enableReporting();
// evaluate expressions
for (ExpressionDef exp : library.getStatements().getDef()) {
Object result = exp.evaluate(library.getContext());
}
// get report as string or JSON array
return Execution.getReport().getReportAsString();
}