-
OQR eCQMs - Outpatient Quality Reporting
-
Resolution: Answered
-
Blocker
-
None
-
CMS0996v3
Hi Team,
Consider the below statements :
1.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 { EDVisit.facilityLocations, Visit.facilityLocations }
Query 1 :
Please guide us on the argument used ‘flatten’. What does it imply?
Query 2 :
Consider the part of the main statement :
let EDVisit: Last(["Encounter, Performed": "Emergency Department Visit"] LastED
where LastED.relevantPeriod ends 1 hour or less on or before start of Visit.relevantPeriod
How do we interpret which type of visit needs to be considered in 1 hour or less on or before start of Visit.relevantPeriod.
2.Global.HospitalDepartureTime(Encounter "Encounter, Performed")
end of Last(("HospitalizationLocations"(Encounter))HospitalLocation
sort by start of locationPeriod.locationPeriod
Query 3 :
In the above statement we need to consider end date of last hospitalization location (Emergency Department Visit). Please confirm if our interpretation is correct.
Request you to provide us with the resolution urgently as our client deliverables are dependent on it.
Thank you.