Precision dosing to avoid adverse drug reactions