-
Type:
None
-
Resolution: Done
-
Priority:
Moderate
-
Component/s: None
-
None
The CQL stratification definition for CMS159 and CMS160 select the patients birth date as the element to stratify against but the measure itself is patient based (the population clauses select a bool). CMS137 correctly performs stratification against the birth date for a patient based measure where it also returns a Boolean value.The CQL stratification definition for CMS159 and CMS160 select the patients birth date as the element to stratify against but the measure itself is patient based (the population clauses select a bool). CMS137 correctly performs stratification against the birth date for a patient based measure where it also returns a Boolean value.
CMS159
Stratification 1 ["Patient Characteristic Birthdate"] Birthdate with "Index Depression Assessment" IndexAssessment such that Global."CalendarAgeInYearsAt"(Birthdate.birthDatetime, IndexAssessment.authorDatetime)>= 12 and Global."CalendarAgeInYearsAt"(Birthdate.birthDatetime, IndexAssessment.authorDatetime)< 18
CMS137v7
Stratification 1 exists ( ["Patient Characteristic Birthdate"] BirthDate where Global."CalendarAgeInYearsAt"(BirthDate.birthDatetime, start of "Measurement Period")>= 13 and Global."CalendarAgeInYearsAt"(BirthDate.birthDatetime, start of "Measurement Period")< 18)
Note the presence of the exists operator at the root of the CQL statement in 137 and it's absence in 159 and 160.