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

Removed default measurement period for dataRequirements #192

Closed natjoe4 closed 1 year ago

natjoe4 commented 1 year ago

Summary

We've been using 2019-01-01 -> 2019-12-31 as our default interval if one is not passed-in as a calculation option. Now, when one is not provided, we use the effectivePeriod of the Measure, or, when absent, simply pass in no measurement period.

New behavior

data-requirements operations will no longer default to a 2019 measurement period when one is not provided. Instead, the following will happen:

Code changes

Testing guidance

test-data.zip

github-actions[bot] commented 1 year ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements
84.96% (+0.24% πŸ”Ό)
1983/2334
🟑 Branches
73.61% (+0.19% πŸ”Ό)
1749/2376
🟒 Functions
87.06% (+0.35% πŸ”Ό)
350/402
🟒 Lines
85.24% (+0.24% πŸ”Ό)
1911/2242

Test suite run success

359 tests passing in 28 suites.

Report generated by πŸ§ͺjest coverage report action from 2556bea88076fec5e85254a9e9134b7847754bcb