projecttacoma / fqm-execution

fqm-execution is a library that allows users to calculate FHIR-based electronic Clinical Quality Measures (eCQMs) and retrieve the results in a variety of formats
https://projecttacoma.github.io/fqm-execution/
Apache License 2.0
18 stars 6 forks source link

Aliases don't highlight in some cases #254

Closed mgramigna closed 1 year ago

mgramigna commented 1 year ago

Summary

See the following example of a 100% coverage test case:

image

Expected Behavior

MyEncounter should be highlighted since it is covered, but the coverage highlighting does not pick it up. This also seems to occur when the alias is used with a FunctionRef (either fluent or regular)

Version or Commit

Latest

Inputs (e.g. Measure Bundle, Patient Bundle, CQL Library)

coverage-error.zip

cql-to-elm Version Used for Measure Logic Translation (if known)

2.7.0

Any Additional Info

We believe there is a workaround that can be done in fqm-execution to map the alias onto the proper localid

mgramigna commented 1 year ago

Fixed in v1.2.1