Closed drthyl closed 1 year ago
We also had this issue with STK2 (Please see zip file for screenshots, CQL and a test case are attached).
Thanks @JuliaDawson ! Would you mind re-opening this issue? I don't think this issue will be resolved until the translator fix, per https://github.com/cqframework/ecqm-content-qicore-2022/pull/7. The QICoreCommon library is a workaround for the time being. Thank you!
Sorry about this, thought I was closing my above comment.
This issue is resolved with the latest plugin
There is a translator error with the invocation of FHIRCommon."ToInterval" in a CQL file using QICore version 4.1.1. Please see error screenshots from the VS Code CQL Plugin environment below and a zip folder (with example CQL file and test case). https://github.com/cqframework/ecqm-content-qicore-2022/blob/0dd7ab0d0af8be17d04575c1c5d1d1f9bfaf76f3/input/cql/FHIRCommon.cql#L118-L138 Example.zip