Cureus | Understanding the Complexity of Hyperglycemic Emergencies: Exploring the Influence of the Type and Duration of Diabetes Mellitus and Its Impact on Mortality