Uploaded image for project: 'MADiE Issue Tracker'
  1. MADiE Issue Tracker
  2. MADIE-622

Question about Timing Intervals

XMLWordPrintable

    • Icon: Question Question
    • Resolution: Answered
    • Icon: Moderate Moderate
    • None
    • MAT
    • Hospital Wide Mortality Core Clinical Data Elements
    • CMS844

      Hello, 

      I have a question about how MAT deals with timing intervals when using minutes versus when using hours. 

      My function creates an interval that goes from 24 hours before the start of an encounter to 24 hours after the start of the encounter. (See attachment for full function) When developing the measure, we used 1440 minutes instead of 24 hours to create the interval. This is because we wanted to make sure that there was specificity at the ends of the interval for edge cases.

      It was our understanding that the MAT would truncate time stamps to the nearest minute if we were to define the interval using hours. So if a time stamp happened 24 hours and 1 minute or less after the encounter, MAT would truncate it to just 24 hours and it would be included in our interval. This is based on Appendix H of the CQL Documentation. 

      We did test a version in Bonnie with 24 hours and it did not act as we expected. Cases that occurred one minute outside of the interval were not included in the timing interval. We also tested in Bonnie staging and got the same result.

      Can you explain why this is happening and how MAT deals with timing in hours versus minutes? 

      Thank you!

      Evelyn 

            adongare Ashok Dongare (Inactive)
            Ecody Evelyn Cody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: