Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measure Evaluator Testing #600

Open
Capt-Mac opened this issue Nov 27, 2024 · 0 comments
Open

Measure Evaluator Testing #600

Capt-Mac opened this issue Nov 27, 2024 · 0 comments
Assignees

Comments

@Capt-Mac
Copy link
Contributor

Description

MeasureEvaluator class is missing coverage for scenarios where invalid population basis are interacting.

  • population to population (numerator and denominator)
  • stratifier of population (population is encounter based, but stratifier is patient based)

if measure populations are defined to be of basis 'boolean' then the interaction of whether a criteria result is correctly managed requires all other populations are also 'boolean'. If the basis is resource based, like an Encounter, then all populations of that Measure or GroupComponent where defined need to have criteria expressions that produce a list of Encounter resources.

This is because MeasureEvaluator Scoring algorithms manage population sets based on membership of other populations. Numerator-Exclusion membership removes matching membership from Numerator. If these had different population basis then you couldn't compare them.

see https://build.fhir.org/ig/HL7/cqf-measures/measure-conformance.html#proportion-measure-scoring for more info

Scope

  • Add logic to MeasureEvaluator to validate that criteria expressions match the population basis of the GroupDef
  • Add logic to MeasureEvaluator to validate that criteria expressions for stratifiers match the population basis of the GroupDef
  • Throw errors when these populations don't match
  • Build out testing that validates these scenarios are covered and managed appropriately
@lukedegruchy lukedegruchy self-assigned this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants