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

DosesPerDay function - direct reference codes are not an option/displaying in Bonnie

XMLWordPrintable

    • Potential Opioid Overuse
    • CMS 460v0
    • All Numerator Test Cases
    • The measure is unable to calculate the numerator correctly without this information. Thank you.

      To calculate 'Frequency', we created logic to convert the code to a number. However, the code is not an option in Bonnie. Please advise. Thank you.
       
      define function "DosesPerDay"(frequency Code ):
      case ToInteger(frequency.code)when 229797004 then 1.0 when 229799001 then 2.0 when 229798009 then 3.0 when 307439001 then 4.0 when 396125000 then 1.0 when 307470009 then 2.0 when 396126004 then 0.67 when 307469008 then 3.0 when 307468000 then 4.0 when 396143001 then 0.34 when 396131002 then 0.5 else null end

            Unassigned Unassigned
            aflanagan Angela Flanagan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: