Closed hossenlopp closed 1 year ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π’ | Statements | 85.73% | 1940/2263 |
π‘ | Branches | 73.83% (+0.07% πΌ) |
1718/2327 |
π’ | Functions | 88.72% | 346/390 |
π’ | Lines | 85.98% | 1870/2175 |
350 tests passing in 28 suites.
Report generated by π§ͺjest coverage report action from 435be921decd169b979dcf5cf4ab8595c283451e
Note my QMIG ballot comment to clarify ratio measure requirements https://jira.hl7.org/browse/FHIR-39376
Summary
Fixes #176
Fixes results recording issues with a re-used observation function a ratio measure as exhibited in #176. Now ensures the criteriaReferenceId matches for populations when adding observation results to populations seen before in tallying.
New behavior
Bug is fixed and re-uses of a function for observation will have their results routed to the correct episode and population result objects.
Code changes
Added
ratio-Encounter-reuseObservationFunction
integration test based on data from #176. DetailedResultsBuilder.ts - Fixes in collection of population results to make sure criteriaReferenceId is used to match up results. ClauseResultsBuilder.ts - Fixes to helper functions for setting results so they match on criteriaReferenceId.Testing guidance
Run integration tests.