A packet of snacks can look harmless. But for a patient recovering from surgery—especially someone with diabetes—it can sometimes be…