Open cmoesel opened 1 year ago
Am I doing something wrong? Should this work? Or is it a known bug/limitation?
In BaseLibraryGenerator.execute() after the translateCQLFiles() call, the FHIRHelpers library is contained in the libraryManager.libraries. It is NOT in the translatorMap, which is looped through with LibraryGenerator.processLibrary() called for each library in the translatorMap. libraryManager is not used in processLibrary
Describe the bug When running CqlToR4Library on a CQL file that depends on FHIRHelpers, the tooling reports the following error:
I am including
FHIRHelpers.cql
in the same directory, and I have also tried various other file names (FHIRHelpers-4.0.1.cql
,fhirhelpers.cql
,fhirhelpers-4.0.1.cql
). No matter what, I cannot get past this error.To Reproduce Steps to reproduce the behavior:
tooling-cli
directory:mvn exec:java -Dexec.mainClass="org.opencds.cqf.tooling.cli.Main" -Dexec.args="-CqlToR4Library -ptcql=/Path/To/SimpleLibrary/SimpleLibrary.cql"
(replacing the path with the correct one for your system)Expected behavior It should generate the library for SimpleCQL.cql.
Desktop (please complete the following information):