cqframework / sample-content-ig

Sample Content IG
Apache License 2.0
5 stars 12 forks source link

Unable to parse measure template after upgrade #101

Open chubert-sb opened 3 weeks ago

chubert-sb commented 3 weeks ago

After upgrading from 0.4.1 to 0.4.2, there seems to be an issue parsing the Measure template. We've been using the LiquidEngine to parse the measure. After upgrading, we get the error below:

org.hl7.fhir.exceptions.FHIRException: Script hr-script: Script hr-script: Unknown flow control statement assign counter = 1 at org.hl7.fhir.r5.utils.LiquidEngine$LiquidParser.parseList(LiquidEngine.java:522) ~[org.hl7.fhir.r5-6.0.1.jar:na] at org.hl7.fhir.r5.utils.LiquidEngine$LiquidParser.parseIf(LiquidEngine.java:561) ~[org.hl7.fhir.r5-6.0.1.jar:na] at org.hl7.fhir.r5.utils.LiquidEngine$LiquidParser.parseList(LiquidEngine.java:507) ~[org.hl7.fhir.r5-6.0.1.jar:na]

chubert-sb commented 3 weeks ago

To help it looks like it might have something to do with the line added in the Measure.liquid at line 372