diff --git a/.gitignore b/.gitignore index 8002289..af2311d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,6 @@ .project *.bak .classpath -.settings/ \ No newline at end of file +.settings/ + +.idea diff --git a/pom.xml b/pom.xml index 8e28194..b560ac8 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 gov.cms.madie madie-translator-commons - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT UTF-8 17 @@ -247,4 +247,4 @@ - \ No newline at end of file + diff --git a/src/main/java/gov/cms/madie/cql_elm_translator/utils/cql/parsing/Cql2ElmListener.java b/src/main/java/gov/cms/madie/cql_elm_translator/utils/cql/parsing/Cql2ElmListener.java index 544d4c3..7afe1a1 100644 --- a/src/main/java/gov/cms/madie/cql_elm_translator/utils/cql/parsing/Cql2ElmListener.java +++ b/src/main/java/gov/cms/madie/cql_elm_translator/utils/cql/parsing/Cql2ElmListener.java @@ -356,8 +356,9 @@ public void enterParameterDefinition(@NotNull cqlParser.ParameterDefinitionConte String identifier = parseString(ctx.identifier().getText()); this.currentContext = libraryIdentifier + identifier; graph.addNode(currentContext); + libraryAccessor = null; if (shouldResolve(identifier)) { // MAT-7450 - resolve(identifier, getCurrentLibraryContext()); + resolve(identifier, this.library); } }