Use of an electronic medical record to detect patients at high risk of metformin-induced lactic acidosis.