[CQM-3626] 1 hour calculation in the IPP for the ED-1 measure Created: 06/17/19  Updated: 06/20/19  Resolved: 06/20/19

Status: Closed
Project: eCQM Issue Tracker
Component/s: None

Type: Other Priority: Moderate
Reporter: Manish Parekhji Assignee: Albert W. Taylor (Inactive)
Resolution: Duplicate Votes: 0
Labels: None

Attachments: Microsoft Word Calculation of duration in hours.docx     PNG File image-2019-06-14-11-57-32-262.png     PNG File image-2019-06-14-11-57-49-651.png    
Issue Links:
Cloners
clones CQM-3624 1 hour calculation in the IPP for the... Closed
Impact: Potential for inaccurately including or excluding patients in the population for ED measures and other measures that check if there is an ED encounter than ends within one hour before the start of the inpatient encounter

Details of the question are provided in the attached document.

 Description   

Reference https://github.com/esacinc/CQL-Formatting-and-Usage-Wiki/wiki/Authoring-Measures-in-CQL#calculating-duration-in-hours

We have a question to verify the expectation about the calculation of duration in hours in the example provided below which is used in any Eligible Hospital eCQM where an ED visit is being evaluated.

 

 Example

ED End Date/Time = 2019-03-01 03:10:00

Inp Admission Start Date/Time = 2019-03-01 05:09:00

The duration calculation as per above example would return 1 hour while in minutes this would be 119 minutes (or 1 hour and 59 minutes).

 

Would you expect this patient to meet the condition specified in the ED-1 Initial Population logic below-  

Outcome 1 - If you go by minutes then the ED visit end date/time is not within 1 hour or less before or on start of inpatient encounter, so this condition should return false and patient should not meet the IPP

Outcome 2 - But if you go by the hour calculation above, after truncation it returns 1 hour, and therefore the condition ends 1 hour or less before or on start of inpatient encounter would return true and patient would be included in the encounter.

Could you help verify which outcome is expected?

Thanks in advance for our review and guidance.



 Comments   
Comment by Albert W. Taylor (Inactive) [ 06/20/19 ]

I will close this measure and respond to the primary ticket.

Comment by Manish Parekhji [ 06/17/19 ]

Please close this as it is a clone of https://oncprojectracking.healthit.gov/support/browse/CQM-3624. I'm trying to change the Issue Type on the original ticket to EH/CAH eCQMs/Logic/Intent/Data Elements/Value Set but have not been able to do so. Can someone help change the issue type for it?

Generated at Sun Aug 31 08:15:43 UTC 2025 using Jira 10.3.8#10030008-sha1:cdaed80cecc964184c5b19b002388d56f96e274e.