For this trial, the investigators propose a prospective trial of a collaborative care program to identify and treat depression, generalized anxiety disorder, and panic disorder among patients admitted to the hospital for an acute cardiac illness (acute coronary syndrome, congestive heart failure, or arrhythmia). Such assessment and treatment for depression/generalized anxiety disorder/panic disorder will begin in the hospital, and ongoing management will continue for six months following discharge.