Pharmacotherapy in bipolar disorders during hospitalization and at discharge predicts clinical and psychosocial functioning at follow-up.