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

Support component-based stratifiers #232

Open
brynrhodes opened this issue Jan 24, 2023 · 1 comment
Open

Support component-based stratifiers #232

brynrhodes opened this issue Jan 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@brynrhodes
Copy link
Member

brynrhodes commented Jan 24, 2023

The R4 Measure and MeasureReport resources introduced the ability to represent stratifiers as components:

https://github.com/HL7/fhir/blob/master/source/measure/measure-hiv-indicators.xml#L100

Add support for stratification using components.

This is related to work with the WHO on representing HIV indicators

The specification for multi-component stratification is here:
https://hl7.org/fhir/measure-definitions.html#Measure.group.stratifier.component

The code that implements stratifier support is here:
https://github.com/cqframework/clinical-reasoning/blob/master/evaluator.measure/src/main/java/org/opencds/cqf/cql/evaluator/measure/common/MeasureEvaluator.java#L378

For multi-component stratifiers, two subjects are grouped into the same stratification if all of the components are equal. IOW, if a multi-component stratifer has Age and Gender, two subjects are grouped together if they are both 18 and Male. Someone 17 and Male, or 18 and Female would not be in the same stratification.

Acceptance Criteria:
The multi-component measure (or an analog) is added as a test case to the CR repository and the tests pass.

@litlfred
Copy link

This is critical work. Thanks!

@JPercival JPercival added the enhancement New feature or request label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants