We used data from 917 patients with type 2 diabetes mellitus , coronary artery disease , and stable angina from the multinational Type 2 Diabetes Evaluation of Ranolazine in Subjects With Chronic Stable Angina ( TERISA ) trial .