The primary clinical outcome was the cardiac index ( CI ) since it represents the most sensitive measure of cardiac work in the immediate postoperative period , and the secondary clinical outcomes were the glycemic control , insulin consumption , duration of mechanical ventilation ( MV ) , potassium level and atrial fibrillation ( AF ) appearance .