Uploaded image for project: 'BONNIE MAT MADiE Issue Tracker'
  1. BONNIE MAT MADiE Issue Tracker
  2. BONNIEMAT-622

Question about Timing Intervals

XMLWordPrintable

    • Icon: Question Question
    • Resolution: Answered
    • Icon: Moderate Moderate
    • None
    • MAT
    • Ecody
    • 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 

        1. Timing_Interval.JPG
          27 kB
          Evelyn Cody

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

              Created:
              Updated:
              Resolved: