Patients who used an interactive computer program about depression while waiting to see their primary-care doctor were nearly twice as likely to ask about the condition and significantly more likely to receive a recommendation for antidepressant drugs or a mental-health referral from their physician, according to a new study.