An educational intervention for internal medicine residents significantly reduced prescribing errors at an academic medical center.