Internal medicine residents identify gaps in medical education on outpatient referrals