It sounds like you are using the number of prescriptions written bu a doctor in the last 30 days as a stand-in for some other function. In converting from your previous bean counting system it might work to count a different bean?
Every time the doctor writes a prescription they could also enter an "order" and send it to the "front desk in-box" that says "prescription written". These orders could be kept in the "results pending" file, counted and "completed" at the end of every month. Could also send as a message to the bean counter's in-box. This tracking method would add 3 clicks to the task of writing a prescription....but, if that is how you get paid...what the heck.