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
17 stars 6 forks source link

Calculation issue: few CQL clauses are not highlighted in green #279

Closed adongare closed 10 months ago

adongare commented 10 months ago

Summary

Some of the CQL clauses not being included in the highlighting. Please refer screenshot attached. Test patient NUMERPassPop2_PainAssessDuringRadTx.json.zip and measure bundle CMS157FHIR.json.zip is attached as well.

Screenshot 2023-09-05 at 5 08 48 PM

External Tracking Ticket

https://oncprojectracking.healthit.gov/support/browse/BONNIEMAT-1597

Expected Behavior

Group/population criteria 2 is expected to have 100% coverage. It shows 98%. I'm guessing some of the clauses are missing from highlighting/coverage calculation.

Version or Commit

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

Measure & library bundle- CMS157FHIR.json.zip Patient Bundle: NUMERPassPop2_PainAssessDuringRadTx.json.zip

Relevant Calculation Options (e.g. Measurement Period, meta.profile Validation)

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

v2.11.0

Any Additional Info

The issue is for group/population criteria 2. It doesn’t have 100% coverage. The user is expecting to have 100% coverage for it. I tried debugging in fqm-execution a bit, and found that some of the CQL clauses might be missing from the coverage calculation. Especially the one shown in the above screenshot(red colored) doesn’t end up in the evaluated patient context. I've also included all test cases if needed CMS157FHIR-v0.0.005-FHIR4-TestCases 2.zip When I ran all test cases this is what I got in highlighting, so lil bit confusing if above screenshot is an issue or this screenshot:

image
laclark22 commented 10 months ago

Hello, this issue has been fixed in our latest release of fqm-execution. Please refer to the release notes here https://github.com/projecttacoma/fqm-execution/releases/tag/v1.3.0

adongare commented 10 months ago

thank you so much, @laclark22!