Expected behavior
When using subgroups in cohort characterization, the denominators used for percents should be for each subgroup.
Actual behavior
When using cohort event date ranges as subgroups (Jan-Apr, May-July, etc), the percents are using the total cohort as the denominator rather than the subgroup patients.
Steps to reproduce behavior
Create a cohort characterization, add some features, and add some subgroups.
Cross posted from https://github.com/OHDSI/Atlas/issues/2420
Expected behavior When using subgroups in cohort characterization, the denominators used for percents should be for each subgroup.
Actual behavior When using cohort event date ranges as subgroups (Jan-Apr, May-July, etc), the percents are using the total cohort as the denominator rather than the subgroup patients.
Steps to reproduce behavior Create a cohort characterization, add some features, and add some subgroups.