INS and type 2 diabetes mellitus: Diabetic ketoacidosis occurs mainly in patients with uncontrolled type 1 diabetes mellitus and in adults with poorly controlled type 2 diabetes mellitus (T2DM) due to impaired insulin secretion or action under stressful circumstances, such as acute illnesses, medical or surgical, and, in adolescents, in new-onset T2DM.