Difficult-to-treat depression scores predicted post-discharge functioning in patients with minimal prior treatment failures.