Uploaded image for project: 'OpenMRS 3.x Frontend'
  1. OpenMRS 3.x Frontend
  2. O3-1552

Drug Orders multiply dosage dangerously

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • None
    • Undetermined
    • 2022 November

    Description

      It seems that the Dose section of the Drug Order form is multiplying itself by the Drug Dose from the Drug csv - so if I order 250mg/day of Cipro 250mg, this becomes recorded as 62500mg in the patient chart. 

      Similarly, if I order 5mg/day of Morphine 10mg (i.e. half a pill), this becomes 50mg. Some patients do take such high doses of morphine but for most people this dose would be fatal. Thus we cannot release to O3 until this bug is fixed. 

      Screenshots: (reproduced on dev3 and test3; and these screenshots are from a demo on Sam's local 2 months ago but are the same behavior right now)

      Appears correct in the "confirm order" screen: ("DOSE 5mg")

      But now in history/active medications shows as "DOSE 1500mg":

       

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                vasharma05 Vineet Sharma
                grace Grace Potma
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: