Refer to original ticket on CQL Issue Tracker (
https://oncprojectracking.healthit.gov/support/browse/CQLIT-118)
We do have one additional comment for this JIRA. One of the reasons our team was debating MP Exclusions in this way is because we find it confusing how aliases are used in the measure. Again using CMS111 as an example, here is an excerpt of logic from the Measure Population Exclusions:
"Inpatient Encounter" Encounter
with ["Encounter, Performed": "Emergency Department Visit"] EDVisit
such that EDVisit.relevantPeriod ends 1 hour or less before or on start of Encounter.relevantPeriod
and EDVisit.admissionSource in "Hospital Settings"
To us, the EDVisit alias here is implying any ED visit, but in reality we know that it has to be the ED visit which satisfied the IPP/Measure Population criteria (since it is a subset). Assuming our understanding is correct, it would be great if the Measure Population Exclusion logic looked like this instead:
"Inpatient Encounter" Encounter
with "ED Visit with Admit Order" EDAdmitOrder
such that EDAdmitOrder.relevantPeriod ends 1 hour or less before or on start of Encounter.relevantPeriod
and EDAdmitOrder.admissionSource in "Hospital Settings"
Just sharing some feedback. thanks