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

Sde properties #225

Closed lmd59 closed 1 year ago

lmd59 commented 1 year ago

Summary

Updates SDEResult interface to make name optional (not really a useful piece of information, but we're keeping it around for backwards compatibility) and add id, criteriaExpression, and usage as result properties (usage required). Updates getSDEValues function accordingly to populate these properties.

New behavior

Output from calculation with SDEs includes these new properties

Code changes

github-actions[bot] commented 1 year ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements
85.79% (+0.39% πŸ”Ό)
2040/2378
🟑 Branches
74.36% (+0.38% πŸ”Ό)
1821/2449
🟒 Functions
88.02% (+0.52% πŸ”Ό)
360/409
🟒 Lines
86.1% (+0.4% πŸ”Ό)
1969/2287
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------ | :--------- | :------- | :-------- | :---- | | 🟒 | types/Calculator.ts | 100% | 100% | 100% | 100% |

Test suite run success

382 tests passing in 29 suites.

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