function GetConversionFactor(ingredientCode Code, dailyDose Quantity, doseFormCode Code

XMLWordPrintable

    • Type: Question
    • Resolution: Done
    • Priority: Major
    • Component/s: None
    • Potential Opioid Overuse

      In the function: define function GetConversionFactor(ingredientCode Code, dailyDose Quantity, doseFormCode Code):
      case ToInteger(ingredientCode.code)
      when 161 then 0 // Acetaminophen

      The measure has been drafted using value sets for each drug being converted to MME so the logic above was tweaked to use the value set rather than the RxNorm code ( when "Dihydrocodeine" then 0.25). The concern with this is that combination drugs are included in the value set. For example, the dihydrocodeine value set includes the drug - Acetaminophen 356.4 MG / Caffeine 30 MG / dihydrocodeine bitartrate 16 MG Oral Capsule. The logic above would not know to convert only the Dihydrocodeine mg by 0.25. So should we be using the ingredient specific direct reference code (23088 Dihydrocodeine) instead of a value set? Thank you.

      Okay, it looks like the ingredient is used for the "GetConversionFactor" so direct reference code here and the SCDC value set for each drug for "GetIngredient" logic? thanks

            Assignee:
            Bryn Rhodes
            Reporter:
            Angela Flanagan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: