Mathematical modeling using historic prescribing data can generate clinically appropriate electronic dosing rule parameters. This approach represents an automatable and scalable solution that could help reduce alert fatigue and decrease medication dosing errors.