Eight ( 42 % ) patients who underwent gastric bypass and 13 ( 68 % ) patients who underwent biliopancreatic diversion had an HbA1c concentration of 65 % or less ( 475 mmol/mol ) with or without medication , compared with four ( 27 % ) medically treated patients ( p = 00457 ) .