-
EH/CAH eCQMs - Eligible Hospitals/Critical Access Hospitals
-
Resolution: Answered
-
Moderate
-
None
-
None
-
-
CMS0871v3
-
It's unclear what measure logic should be doing in the logic that starts "Where not.....
What is the Purpose of the "Where Not "part of the Denominator Exclusion Logic of a Glucose >= 1000?
Is it saying that there can't be any Glucose results in the timeframe of 1 hour before to 6 hours after the start of the HospitalizationInterval, that are before the Glucose of >=1000?, no matter what that earlier glucose result is? That if there is an earlier glucose to the >=1000 glucose result, that the Denominator Exclusion is not valid?
Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start *
from
"Initial Population" InpatientHospitalization,
["Laboratory Test, Performed": "Glucose Lab Test Mass Per Volume"] GlucoseTest
let HospitalizationInterval: Global."HospitalizationWithObservation" ( InpatientHospitalization ),
GlucoseTestTime: Global."EarliestOf" ( GlucoseTest.relevantDatetime, GlucoseTest.relevantPeriod )
where GlucoseTest.result >= 1000 'mg/dL'
and GlucoseTest.result is not null
and GlucoseTestTime during Interval[( start of HospitalizationInterval - 1 hour ), ( start of HospitalizationInterval + 6 hours )]
return GlucoseTest
Glucose Tests Earlier Than Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start *
from
"Initial Population" InpatientHospitalization,
"Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start" GlucoseResult1000,
["Laboratory Test, Performed": "Glucose Lab Test Mass Per Volume"] EarlierGlucoseTest
let HospitalizationInterval: Global."HospitalizationWithObservation" ( InpatientHospitalization ),
GlucoseTest1000Time: Global."EarliestOf" ( GlucoseResult1000.relevantDatetime, GlucoseResult1000.relevantPeriod ),
EarlierGlucoseTestTime: Global."EarliestOf" ( EarlierGlucoseTest.relevantDatetime, EarlierGlucoseTest.relevantPeriod )
where GlucoseTest1000Time during Interval[( start of HospitalizationInterval - 1 hour ), ( start of HospitalizationInterval + 6 hour )]
and EarlierGlucoseTestTime during Interval[( start of HospitalizationInterval - 1 hour ), GlucoseTest1000Time )
and EarlierGlucoseTest is not null
and EarlierGlucoseTest.id !~ GlucoseResult1000.id
return GlucoseResult1000
Initial Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start *
"Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start" GlucoseResult1000 where not ( GlucoseResult1000.id in "Glucose Tests Earlier Than Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start".id )