Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace error when invoking external dependencies in CQL to ELM translation #1433

Open
JunaidUK opened this issue Oct 31, 2024 · 1 comment

Comments

@JunaidUK
Copy link

When translating CQL to ELM, the translator fails due to a namespace resolution error. Initially the assumption was that it was an issue with the VSCode CQL plugin, but upon further digging the issue exists when invoking the translation commands from the command line directly to the cql-to-elm-cli tool.

image

A reproduction of the issue (and setup instructions) can be found here: https://github.com/reason-healthcare/crmi-reusable-cql/blob/unresolvable-namespace/README.md. The unresolvable-namespace branch has the cli scripts and libraries so that this is easily reproducible.

The scripts and libraries were built using ./gradlew installDist in the java-quickstart directory, and the command to invoke the translation is ./cql-to-elm-cli/bin/cql-to-elm-cli --input ./DependencyIG/input/cql/DependencyLibrary.cql.

@JunaidUK JunaidUK changed the title Handle dependencies in CQL to ELM translator Namespace error when invoking external dependencies in CQL to ELM translation Oct 31, 2024
@JunaidUK
Copy link
Author

JunaidUK commented Nov 13, 2024

This error exists in the WHO Immunizations IG when trying to convert the IMMZElements.cql file, which has a namespaced dependency on FHIR Common

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant