Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

1.1.1 SNAPSHOT Release

c-schuler edited this page Apr 9, 2017 · 5 revisions

Overview

The 1.1.1-SNAPSHOT Release (engine / engine-fhir) refers to the refactored branch of the engine. The 1.1.1-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();
}

Snapshots:

  • 1.1.1.01-SNAPSHOT - Fixed incorrect query evaluation list logic
  • 1.1.1.02-SNAPSHOT - Making isNull evaluator more generic
  • 1.1.1.03-SNAPSHOT - Implementing property-based sorting
Clone this wiki locally