Among obese patients with uncontrolled type 2 diabetes , 3 years of intensive medical therapy plus bariatric surgery resulted in glycemic control in significantly more patients than did medical therapy alone .