The most important variables that contributed to the mortality model were age, BMI, history of heart failure, insulin use and smoking status. The IDC risk scores were better than RECODe in all outcomes examined, in terms of IPA, AUC and calibration. The final model is used as the IDC risk calculator, the online version of which is freely available at https://riskcalc.org or as a smartphone mobile app called BariatricCalc. The gene discussed is INS; the disease is heart failure.