Biopsy pathology predicts patients with ulcerative colitis subsequently requiring surgery.