Triggered upon entry into a pharmacy ordering dialog. If the patient's number of active medications exceeds the limit set in a parameter, the order check occurs.