Uploaded image for project: 'eCQM Issue Tracker'
  1. eCQM Issue Tracker
  2. CQM-593

Error in Time Duration Guidance

XMLWordPrintable

    • Icon: Intent/Governance affecting more than 1 eCQM Intent/Governance affecting more than 1 eCQM
    • Resolution: Fixed
    • Icon: Minor Minor
    • Guidance
    • None
    • Yes
    • Hide
      The revision below was included in the June 2013 updated Guidance document and the CMS Blueprint 9.2.

      2. Day (date 2) < day (date 1)
      Duration (months) = (year(date 2) – year(date 1))*12 + (month(date 2) –month (date 1)) – 1
       
      Example 2:
      Date 1: 2012-03-10 22:05:09
      Date 2: 2013-01-09 07:19:33 (currently the date is 2013-01-29, so 29 isn't less than 10)
      Duration = (year(date 2) – year(date 1))*12 + (month (date 2) –(month date 1)) – 1
      = (2013 – 2012)*12 + (1 – 3) -1 = 12 – 2 -1 = 9 months *(missing -1)*
      Show
      The revision below was included in the June 2013 updated Guidance document and the CMS Blueprint 9.2. 2. Day (date 2) < day (date 1) Duration (months) = (year(date 2) – year(date 1))*12 + (month(date 2) –month (date 1)) – 1   Example 2: Date 1: 2012-03-10 22:05:09 Date 2: 2013-01-09 07:19:33 (currently the date is 2013-01-29, so 29 isn't less than 10) Duration = (year(date 2) – year(date 1))*12 + (month (date 2) –(month date 1)) – 1 = (2013 – 2012)*12 + (1 – 3) -1 = 12 – 2 -1 = 9 months *(missing -1)*

      Someone on the cypress talk list has identified an error in the implementation guidance for the date calculations (from TJC).
      Just wanted to make sure you concur before slating this for correction.

      In example 2, which illustrates the case where Day (date2) < day(date 1), the example does not satisfy this property.
      So, the calculation shown is correct, but does not reflect the the The example #2 should have a day component for date 2 that is less than the day component of date 1.

      I suggest a revision, as follows:
      2. Day (date 2) < day (date 1)
      Duration (months) = (year(date 2) – year(date 1))*12 + (month(date 2) –month (date 1)) – 1

      Example 2:
      Date 1: 2012-03-10 22:05:09
      Date 2: 2013-01-09 07:19:33 (currently the date is 2013-01-29, so 29 isn't less than 10)
      Duration = (year(date 2) – year(date 1))*12 + (month (date 2) –(month date 1)) – 1
      = (2013 – 2012)*12 + (1 – 3) - 1 = 12 – 2 - 1 = 9 months (missing -1)

            julia.skapik Julia Skapik (Inactive)
            saul.kravitz Saul Kravitz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: