diff --git a/cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/common/MeasureMultiSubjectEvaluator.java b/cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/common/MeasureMultiSubjectEvaluator.java index 2e1a2adc7..96ceaa34f 100644 --- a/cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/common/MeasureMultiSubjectEvaluator.java +++ b/cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/common/MeasureMultiSubjectEvaluator.java @@ -412,10 +412,11 @@ private static List buildValueOrNonSubjectValueStrata( * to match function row keys when mixed with function components. * * - *

Mixed Function and Scalar Components

- *

When a stratifier has both function components (per-resource) and scalar components (per-subject), - * the scalar values are expanded to match the function row keys. This ensures all components align - * for proper grouping. + *

Mixed Multi-Value and Scalar Components

+ *

When a stratifier has both multi-value components (function results per-resource OR iterable + * results per-subject) and scalar components (per-subject), the scalar values are expanded to match + * the multi-value row keys. This ensures all components align for proper grouping so that each + * resulting stratum contains a value from every declared component. * *

Example: Stratifier with 3 components

*