INS and diabetes mellitus: These results confirm the importance of age, insulin intake, and body-mass index in the prediction of diabetes past duration from electronic health records.