cqframework / cqf-tooling

Tooling for CQL and IG Authors
Apache License 2.0
19 stars 22 forks source link

DAK creates a Codesystem with only one data element using tooling v2.5.0 #489

Closed alexisc0le closed 6 months ago

alexisc0le commented 8 months ago

Describe the bug We created a DTR that has 28 concepts. When I tried to run the accelerator kit using tooling-cli-2.5.0, it created a CodeSystem labelled concept-codes but only added the last concept out of the 28. If I open the CodeSystem CQL file, and run the DAK, I can see the CQL rewriting each concept but only displaying the last concept in the list.

To Reproduce Steps to reproduce the behavior:

  1. In terminal run this command- JAVA -jar "input-cache/tooling-cli-2.5.0.jar" -ProcessAcceleratorKit -s=BMJ -pts=input/l2/DTR-using-knowledge-graph-only.xlsx -op=./ -dep="BMJ.P1 Preeclampsia Risk Factor"
  2. A CodeSystem CQL file is created
  3. The Codesystem only fills in one concept instead of all 28

Expected behavior All 28 concepts to be displayed

Desktop (please complete the following information): Macbook M1 and Java version 8

ddieppois commented 7 months ago

There has been a lot of changes done on the accelerator-kit recently in order to put it back in shape. Would you be able to provide me with the Xls file that you used to run the kit ? I can review and debug any issues as I'm the one updating the accelerator so it produce the proper cql and json files.

Thanks @alexisc0le

ddieppois commented 6 months ago

Discussed with @alexisc0le about this and the issue is fixed with a newer version of the tooling !

It can be closed