Can drug orders continue indefinitely until explicitly stopped?

Correct. If the code is requiring this, it’s a bug.

Burke just went on vacation for 2 weeks, so I’ll answer as best I can:

The quantity and numRefills are details that the ordering doctor communicates to the pharmacy that is going to fulfill the order, so that the pharmacy knows how many pills to give the patient.

In the DOTS scenario the patient is not going to pick up this prescription at the pharmacy, so it is appropriate to store these as quantity=0 (and hide this in the application).


For later: generally I think this argues for dropping the validation that we require quantity for all outpatient orders, unless @burke wants to argue that outpatient DOT therapy is a separate care setting or something like that.