-
Type:
Question
-
Resolution: Done
-
Priority:
Moderate
-
Component/s: None
-
None
-
-
Median Admit Decision Time to ED Departure Time for Admitted Patients (CMS 111)
Could the Global ."HospitalizationLocations" function being causes the measure observation calculation issues ED-2 is producing?
Global.HospitalizationLocations(Encounter "Encounter, Performed")
Encounter Visit
let EDVisit: Last(["Encounter, Performed": "Emergency Department Visit"] LastED
where LastED.relevantPeriod ends 1 hour or less on or before start of Visit.relevantPeriod
sort by
end of relevantPeriod
)
return if EDVisit is null then Visit.facilityLocations
else flatten
For CMS 111, if the ED encounter does not include the facility location, it should not calculate a "Visit" encounter for the measure observation time. If the ED facility location departure time is missing, a measure observation time should not be calculated but in Bonnie this does occur. Is this due to the above logic? Should we add a null clause in the IP to indicate if there is no ED facility location departure time the encounter will not be included?
Thank you,
Angela