Pain specialists' evaluation of patient's prognosis during the first visit predicts subsequent depression and the affective dimension of pain.