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

Refactor to separate gaps and data requirements #293

Closed lmd59 closed 7 months ago

lmd59 commented 8 months ago

Summary

Consolidate helpers, rename files as helpful, and copy functionality or move to shared helpers so that gaps and dataRequirements can function independently without cross referencing each other.

New behavior

None

Code changes

Testing guidance

github-actions[bot] commented 8 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements
85.51% (-0.87% πŸ”»)
2373/2775
🟑 Branches
73.26% (-0.51% πŸ”»)
2208/3014
🟒 Functions
88.15% (-0.74% πŸ”»)
424/481
🟒 Lines
85.85% (-0.88% πŸ”»)
2293/2671
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------- | :--------- | :------- | :-------- | :----- | | 🟒 |
`...` / GapsReportBuilder.ts
| 93.66% | 83.91% | 100% | 93.63% | | 🟒 |
`...` / QueryFilterParser.ts
| 86.69% | 80.93% | 97.62% | 86.47% | | 🟑 |
`...` / ClauseResultsHelpers.ts
| 78.1% | 87.86% | 84.62% | 77.78% | | 🟒 |
`...` / RetrievesHelper.ts
| 97.53% | 84.69% | 100% | 97.37% | | 🟒 |
`...` / ReportBuilderFactory.ts
| 100% | 100% | 100% | 100% |
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------- | :-------------------------------------------------------------- | :------------------------------------------------------------- | :-------------------------------------------------------------- | :-------------------------------------------------------------- | | 🟑 |
`...` / DataRequirementHelpers.ts
|
66.26% (-18.77% πŸ”»)
|
64.81% (-15.5% πŸ”»)
|
58.33% (-20.24% πŸ”»)
|
67.09% (-18.63% πŸ”»)
|

Test suite run success

451 tests passing in 31 suites.

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