Prognosis in diabetic patients with acute myocardial infarction treated invasively is related to renal function.