Skip to content

Commit

Permalink
Update README.md to use working examples
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival authored Jan 20, 2024
1 parent 62c9b2d commit 7d9d7a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Src/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ To execute the sample code using a script generated by gradle, first generate th
Then execute the generated script (optionally passing in an argument). The following example executes
the sample cql code with the path to a CQL file as an argument:

./cql/build/install/cql/bin/cql ../../Examples/ChlamydiaScreening_CQM.cql
./cql/build/install/cql/bin/cql ../../Examples/CMS135_QDM.cql

You can also execute the cql-parsetree tool in a similar way:

./tools/cql-parsetree/build/install/cql-parsetree/bin/cql-parsetree ../../Examples/ChlamydiaScreening_CQM.cql
./tools/cql-parsetree/build/install/cql-parsetree/bin/cql-parsetree ../../Examples/CMS135_QDM.cql

## Generate an ELM Representation of CQL Logic

To generate an ELM representation of CQL logic, build and execute the cql-to-elm app:

./gradlew :cql-to-elm-cli:installDist
./cql-to-elm-cli/build/install/cql-to-elm-cli/bin/cql-to-elm-cli --input ../../Examples/ChlamydiaScreening_CQM.cql
./cql-to-elm-cli/build/install/cql-to-elm-cli/bin/cql-to-elm-cli --input ../../Examples/CMS135_QDM.cql

The following options are supported:

Expand Down

0 comments on commit 7d9d7a8

Please sign in to comment.