Looking at the CQL, I believe the Initial-Population needs to be included in the definitions:
define "Denominator 1":
{First(
"Depression Encounters" E
where PeriodToIntervalOfDT(E.period) during "Assessment Period One"
sort by start of PeriodToIntervalOfDT(period)
)}
define "Denominator 2":
{First(
"Depression Encounters" E
where PeriodToIntervalOfDT(E.period) during "Assessment Period Two"
sort by start of PeriodToIntervalOfDT(period)
)}
define "Denominator 3":
{First(
"Depression Encounters" E
where PeriodToIntervalOfDT(E.period) during "Assessment Period Three"
sort by start of PeriodToIntervalOfDT(period)
)}
When I run test data on the DMS measure I get denominator values that are greater than the IPP values:
Looking at the CQL, I believe the Initial-Population needs to be included in the definitions: