From ee1a75c75aecea7a508178d9bca17446e6fb9030 Mon Sep 17 00:00:00 2001 From: Cecilia Liu Date: Thu, 8 Aug 2024 15:05:26 -0500 Subject: [PATCH] MAT-7052 add QICore for FHIR type --- .../gov/cms/madie/cql_elm_translator/utils/cql/CQLTools.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/gov/cms/madie/cql_elm_translator/utils/cql/CQLTools.java b/src/main/java/gov/cms/madie/cql_elm_translator/utils/cql/CQLTools.java index f0a18a1..096f65d 100644 --- a/src/main/java/gov/cms/madie/cql_elm_translator/utils/cql/CQLTools.java +++ b/src/main/java/gov/cms/madie/cql_elm_translator/utils/cql/CQLTools.java @@ -130,7 +130,9 @@ public void generate() throws IOException { TranslationResource translationResource = TranslationResource.getInstance( - usingProperties.getLibraryType() == "FHIR"); // <-- BADDDDD!!!! Defaults to fhir + usingProperties.getLibraryType() == "FHIR" + || usingProperties.getLibraryType() + == "QICore"); // <-- BADDDDD!!!! Defaults to fhir CqlPreprocessorVisitor preprocessor = new CqlPreprocessorVisitor(