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

2024 : Regarding stopdate calculation confirmation and custom function requirement_ECQM128v12

XMLWordPrintable

    • Icon: EC eCQMs - Eligible Clinicians EC eCQMs - Eligible Clinicians
    • Resolution: Answered
    • Icon: Moderate Moderate
    • None
    • None
    • Hide
      Thank you for your inquiry for CMS128v12, Anti-depressant Medication Management (2024 performance period). Assuming the following information is documented, the returned calculation from function "MedicationDispensedPeriod" would be 2023-09-25 through 2024-01-08. Note that this return would then be used to calculate cumulative medication duration in the measure via the function "CumulativeDuration".

      Medication Dispensed relevantPeriod.low = 2023-09-25
      Medication Dispensed relevantPeriod.high = 2024-01-09
      Medication Dispensed supply = 106
      Medication Dispensed dosage = 1
      Medication Dispensed frequency = 24 h
      totalDaysSupplied = 106/(1*(24/24)) = 106

      See functions referenced below.

      CMD.MedicationDispensedPeriod(MedDispense "Medication, Dispensed")

      MedDispense Dispense
      let startDate: date from Coalesce(Dispense.relevantPeriod.low, Dispense.relevantDatetime, Dispense.authorDatetime),
      totalDaysSupplied: Coalesce(Dispense.supply.value /(Dispense.dosage.value * ToDaily(Dispense.frequency)), Dispense.daysSupplied)
      return if startDate is null then null
      else if totalDaysSupplied is not null then Interval[startDate, startDate + Quantity { value: totalDaysSupplied - 1, unit: 'day' }]
      else if Dispense.relevantPeriod.high is not null then Interval[startDate, date from end of Dispense.relevantPeriod]
      else null


      CMD.CumulativeDuration(Intervals List<Interval<Date>>)

      if Intervals is not null then ( Sum((collapse Intervals per day)X
      return all(difference in days between start of X and
      end of X
      )+ 1
      )
      )
      else null
      Show
      Thank you for your inquiry for CMS128v12, Anti-depressant Medication Management (2024 performance period). Assuming the following information is documented, the returned calculation from function "MedicationDispensedPeriod" would be 2023-09-25 through 2024-01-08. Note that this return would then be used to calculate cumulative medication duration in the measure via the function "CumulativeDuration". Medication Dispensed relevantPeriod.low = 2023-09-25 Medication Dispensed relevantPeriod.high = 2024-01-09 Medication Dispensed supply = 106 Medication Dispensed dosage = 1 Medication Dispensed frequency = 24 h totalDaysSupplied = 106/(1*(24/24)) = 106 See functions referenced below. CMD.MedicationDispensedPeriod(MedDispense "Medication, Dispensed") MedDispense Dispense let startDate: date from Coalesce(Dispense.relevantPeriod.low, Dispense.relevantDatetime, Dispense.authorDatetime), totalDaysSupplied: Coalesce(Dispense.supply.value /(Dispense.dosage.value * ToDaily(Dispense.frequency)), Dispense.daysSupplied) return if startDate is null then null else if totalDaysSupplied is not null then Interval[startDate, startDate + Quantity { value: totalDaysSupplied - 1, unit: 'day' }] else if Dispense.relevantPeriod.high is not null then Interval[startDate, date from end of Dispense.relevantPeriod] else null CMD.CumulativeDuration(Intervals List<Interval<Date>>) if Intervals is not null then ( Sum((collapse Intervals per day)X return all(difference in days between start of X and end of X )+ 1 ) ) else null
    • Not measure related
    • Not measure related
    • Not measure related
    • Not measure related
    • CMS0128v12
    • Not measure related
    • CMS0128v11
    • Not measure related

      With the refrence of ticket

      https://oncprojectracking.healthit.gov/support/browse/CQM-6586

       

      Following is  our question 

      Hello 

      As per the MedicationDispensedPeriod function, we get all the Medication, Dispensed attributes(supply, dosage, and frequency) and calculate as below. Calculated stopdate is 2024-01-08 is it correct?

      Below data is present for patient "Ramon Townsend" from product P5.

      low value='20230925163500' , high value='20240109170000'

      period value='24' unit='h'

      doseQuantity value="1.0"

      quantity value="106.0"

      Formula : totalDaysSupplied = Dispense.supply.value /(Dispense.dosage.value * ToDaily(Dispense.frequency)

      startDate + Quantity { value: totalDaysSupplied - 1, unit: 'day' }

      Stopdate calculation :

      106.0/(1*(24/24)) = 106

      2023-09-25 + (106 - 1) = 2024-01-08

      Please give the confirmation regarding stopdate  2024-01-08 is it correct ? for the same patient.

            edave Mathematica EC eCQM Team
            sagark Sagar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Solution Posted On: