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

CRP: Replace TJC.TruncateDateTime() function with 'date from'

XMLWordPrintable

    • Icon: Other Other
    • Resolution: Resolved
    • Icon: Moderate Moderate
    • None
    • ​We will not move forward with the proposed change during this Annual Update
    • Hide
      Brief description of measure
      CMS71: Anticoagulation Therapy for Atrial Fibrillation/Flutter:
      Ischemic stroke patients with atrial fibrillation/flutter who are prescribed or continuing to take anticoagulation therapy at hospital discharge.

      CMS108: Venous Thromboembolism Prophylaxis:
      This measure assesses the number of patients who received Venous Thromboembolism (VTE) prophylaxis or have documentation why no VTE prophylaxis was given between the day of arrival to the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission.

      CMS190: Intensive Care Unit Venous Thromboembolism Prophylaxis:
      These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty.

      Description of issue
      ​​The function of TJC.TruncateDateTime() was created during the last maintenance cycle due to the removal of Global.ToDate() function from the Global Common Library. To make definitions much simpler without changing logic results we plan to  remove this function from the TJCOverall library and replace it with 'date from' for STK and VTE measures. This removal will also alleviate an issue with the TJC.TruncateDateTime() function where cases unintentionally failed the logic due to the TJC.TruncateDateTime() function capturing the time zone.

      Goal of review
      Obtain technical feedback
      Show
      Brief description of measure CMS71: Anticoagulation Therapy for Atrial Fibrillation/Flutter: Ischemic stroke patients with atrial fibrillation/flutter who are prescribed or continuing to take anticoagulation therapy at hospital discharge. CMS108: Venous Thromboembolism Prophylaxis: This measure assesses the number of patients who received Venous Thromboembolism (VTE) prophylaxis or have documentation why no VTE prophylaxis was given between the day of arrival to the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission. CMS190: Intensive Care Unit Venous Thromboembolism Prophylaxis: These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty. Description of issue ​​The function of TJC.TruncateDateTime() was created during the last maintenance cycle due to the removal of Global.ToDate() function from the Global Common Library. To make definitions much simpler without changing logic results we plan to  remove this function from the TJCOverall library and replace it with 'date from' for STK and VTE measures. This removal will also alleviate an issue with the TJC.TruncateDateTime() function where cases unintentionally failed the logic due to the TJC.TruncateDateTime() function capturing the time zone. Goal of review Obtain technical feedback
    • Hide
      Proposed solution
      We propose to remove TJC.TruncateTime() from the TJCOverall Library.This function will be replaced with 'date from' in the following functions in TJCOverall library and VTE library to be:

      1) TJC.CalendarDayOfOrDayAfter()
      Interval[date from (StartValue), date from (StartValue + 1 day)]

      2) VTE.FromDayOfStartOfHospitalizationToDayAfterAdmission():
      Interval[date from ( start of Global."HospitalizationWithObservation" ( Encounter ) ), date from ( start of Encounter.relevantPeriod + 1 days)]

      3) VTE.FromDayOfStartOfHospitalizationToDayAfterFirstICU():
      Interval[date from ( start of Global."HospitalizationWithObservation" ( Encounter ) ), date from ( StartOfFirstICU(Encounter)+  1 day ) ]

      4). Update VTE-1 definition "Encounter with ICU Location Stay 1 Day or More" to:
      VTE."Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
        where ...
              and Location.locationPeriod starts on or after start of QualifyingEncounter.relevantPeriod
      and  Location.locationPeriod ends 1 day after day of start of QualifyingEncounter.relevantPeriod
        )

      Rationale for change
      ​This change is intended to ​ simplify definitions without any impact to the logic results. This change will also alleviate an issue with the TJC.TruncateDateTime() function where cases unintentionally failed the logic due to the function still capturing the time zone.
      Show
      Proposed solution We propose to remove TJC.TruncateTime() from the TJCOverall Library.This function will be replaced with 'date from' in the following functions in TJCOverall library and VTE library to be: 1) TJC.CalendarDayOfOrDayAfter() Interval[date from (StartValue), date from (StartValue + 1 day)] 2) VTE.FromDayOfStartOfHospitalizationToDayAfterAdmission(): Interval[date from ( start of Global."HospitalizationWithObservation" ( Encounter ) ), date from ( start of Encounter.relevantPeriod + 1 days)] 3) VTE.FromDayOfStartOfHospitalizationToDayAfterFirstICU(): Interval[date from ( start of Global."HospitalizationWithObservation" ( Encounter ) ), date from ( StartOfFirstICU(Encounter)+  1 day ) ] 4). Update VTE-1 definition "Encounter with ICU Location Stay 1 Day or More" to: VTE."Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter   where ...         and Location.locationPeriod starts on or after start of QualifyingEncounter.relevantPeriod and  Location.locationPeriod ends 1 day after day of start of QualifyingEncounter.relevantPeriod   ) Rationale for change ​This change is intended to ​ simplify definitions without any impact to the logic results. This change will also alleviate an issue with the TJC.TruncateDateTime() function where cases unintentionally failed the logic due to the function still capturing the time zone.

          JLeflore Mathematica EH eCQM Team
          JLeflore Mathematica EH eCQM Team
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved: