INS and type 2 diabetes mellitus: An automatic system calculating bolus insulin doses on a daily basis is necessary to help both T1DM and T2DM patients undergoing an intensive insulin regimen.