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

Add populationId and criteriaReferenceId to all results when present #161

Closed mgramigna closed 1 year ago

mgramigna commented 2 years ago

Summary

Marking this as draft for now since it is branched off of #160. I made that the base branch so the code diff is clean to look at here

Fixes #146

This PR adds more information to all population and stratifier results when defined on the Measure group

New behavior

Code changes

Testing guidance

For the above cases, you should see IDs and criteriaReferenceIds present on the results where appropriate

github-actions[bot] commented 2 years ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟢 Statements
84.52% (+1.37% 🔼)
1884/2229
🟡 Branches
72.9% (+2.04% 🔼)
1649/2262
🟢 Functions
87.43% (+2.4% 🔼)
334/382
🟢 Lines
84.83% (+1.42% 🔼)
1817/2142

Test suite run success

330 tests passing in 28 suites.

Report generated by 🧪jest coverage report action from 88011b0d249b52677a5876cd27dfb0ef209bd800