Historical Context & Motivation
Few diseases have shaped modern medicine as profoundly as diabetes mellitus. The term itself derives from the Greek diabetes ("to pass through") and the Latin mellitus ("sweet"), reflecting the ancient observation that the urine of affected individuals attracted insects. Ancient Egyptian papyri from 1500 BCE describe a condition of excessive urination and wasting, and Indian physicians of the same era noted the sweet taste of diabetic urine. For millennia, diabetes remained a uniformly fatal diagnosis, with no effective treatment and only rudimentary understanding of its pathogenesis. The story of how diabetes progressed from an inevitably lethal disease to one that can be managed—and its acute crises averted—is a landmark narrative in the history of endocrinology.
Today, diabetes affects over 537 million adults globally and remains one of the leading causes of cardiovascular death, end-stage renal disease, blindness, and non-traumatic limb amputation. The central clinical challenge—and the focus of this lesson—is threefold: How do we accurately diagnose diabetes? How do we recognize and manage life-threatening hyperglycemic emergencies such as diabetic ketoacidosis (DKA) and hyperosmolar hyperglycemic state (HHS)? And how do we achieve safe glycemic control in the inpatient setting?
Core Principles & Definitions
Before diving into diagnostic criteria and management algorithms, it is essential to establish the foundational concepts that underlie diabetes classification, pathophysiology, and glycemic targets. Diabetes mellitus is not a single disease but a heterogeneous group of metabolic disorders characterized by chronic hyperglycemia resulting from defects in insulin secretion, insulin action, or both. Understanding the interplay between these two mechanisms is the key to rationalizing both chronic management and acute crisis intervention.
Type 1 Diabetes Mellitus
Type 2 Diabetes Mellitus
Gestational Diabetes Mellitus (GDM)
HbA1c as a Glycemic Marker
Anion-Gap Metabolic Acidosis in DKA
Visual Explanation — Diagnostic Criteria & Classification
The diagram above illustrates the four recognized diagnostic pathways according to the American Diabetes Association (ADA). A clinician may use any single criterion—fasting plasma glucose (FPG), 2-hour oral glucose tolerance test (OGTT), or HbA1c—provided the result is confirmed on a separate day. The exception is a random plasma glucose ≥ 200 mg/dL in a patient exhibiting classic symptoms of hyperglycemia (polyuria, polydipsia, unexplained weight loss), which is diagnostic without confirmation. It is important to recognize conditions that can falsely alter HbA1c: hemoglobin variants (HbS, HbC), hemolytic anemias, and chronic kidney disease may produce discordant results, in which case FPG or OGTT should be used instead.
Pathophysiology — DKA vs. HHS
The two major hyperglycemic emergencies—diabetic ketoacidosis (DKA) and hyperosmolar hyperglycemic state (HHS)—share the common thread of insulin deficiency but diverge in their pathophysiologic trajectories. In DKA, the insulin deficiency is typically absolute (or near-absolute), which unleashes counter-regulatory hormones (glucagon, cortisol, catecholamines, growth hormone). Glucagon drives hepatic gluconeogenesis and glycogenolysis, raising blood glucose, while simultaneously promoting lipolysis and hepatic ketogenesis. The resulting accumulation of β-hydroxybutyrate and acetoacetate produces a high anion-gap metabolic acidosis. In HHS, residual insulin secretion is sufficient to suppress ketogenesis but inadequate to control hyperglycemia, leading to profound osmotic diuresis, severe dehydration, and serum glucose levels that often exceed 600 mg/dL with serum osmolality > 320 mOsm/kg.
| Feature | DKA | HHS |
|---|---|---|
| Typical diabetes type | Type 1 (can occur in type 2) | Type 2 |
| Glucose | > 250 mg/dL (often 300–800) | > 600 mg/dL (often > 1000) |
| pH | < 7.30 (mild 7.25–7.30; mod 7.00–7.24; severe < 7.00) | > 7.30 |
| Serum HCO₃⁻ | < 18 mEq/L | > 18 mEq/L |
| Anion gap | Elevated (> 12) | Normal or mildly elevated |
| Ketones | Positive (serum β-hydroxybutyrate > 3 mmol/L) | Absent or trace |
| Osmolality | Variable (usually < 320) | > 320 mOsm/kg |
| Mental status | Alert → stupor (varies with severity) | Stupor → coma (correlates with osmolality) |
| Mortality | < 1% with appropriate management | 5–20% (higher due to age, comorbidities) |
Management of DKA, HHS & Chronic Diabetes
Acute Management: DKA & HHS
The management of both DKA and HHS centers on four pillars: aggressive intravenous fluid resuscitation, insulin therapy, electrolyte replacement (especially potassium), and identification and treatment of the precipitating cause. The mnemonic for common DKA/HHS precipitants is the "5 I's": Infection, Ischemia (MI/stroke), Intoxication, Insulin non-compliance, and Initial presentation of new-onset diabetes.
Chronic Management of Type 2 Diabetes
The foundation of type 2 diabetes management begins with lifestyle modification (dietary changes, 150 min/week moderate-intensity exercise, and 5–7% weight loss) combined with metformin as first-line pharmacotherapy. Metformin reduces hepatic glucose production, improves peripheral insulin sensitivity, and has a favorable weight and cardiovascular profile. Beyond metformin, second-line agent selection is now driven by comorbidities rather than glucose-lowering efficacy alone. Patients with atherosclerotic cardiovascular disease (ASCVD) should receive a GLP-1 receptor agonist (liraglutide, semaglutide, dulaglutide) with proven cardiovascular benefit. Those with heart failure or CKD should receive an SGLT2 inhibitor (empagliflozin, dapagliflozin, canagliflozin), which reduces hospitalizations for HF and slows CKD progression. When additional glucose-lowering is needed, options include DPP-4 inhibitors, thiazolidinediones, sulfonylureas, or insulin—tailored to the patient's glycemic target, hypoglycemia risk, weight concerns, and cost.
- HbA1c target < 7% for most non-pregnant adults (ADA recommendation). More stringent targets (< 6.5%) may be appropriate in younger patients with short disease duration and no CVD. More relaxed targets (< 8%) are recommended in older adults, those with limited life expectancy, or those prone to severe hypoglycemia.
- Insulin therapy in type 2 DM is indicated when HbA1c remains above target despite triple oral/injectable therapy or when glucose toxicity is prominent (HbA1c > 10%, glucose > 300 mg/dL, or symptomatic hyperglycemia at diagnosis). Basal insulin (glargine, detemir, degludec) is typically started at 10 units or 0.1–0.2 U/kg/day and titrated every 2–3 days.
Worked Example — DKA Recognition & Initial Management
Inpatient Glycemic Management
Hyperglycemia in hospitalized patients—whether from known diabetes, stress hyperglycemia, or steroid-induced glucose elevation—is independently associated with increased mortality, surgical site infections, length of stay, and ICU readmission. Achieving safe inpatient glycemic control requires understanding the distinction between ICU and non-ICU settings, the concept of basal-bolus-correction insulin protocols, and the dangers of both hyperglycemia and iatrogenic hypoglycemia.
| Setting | Glycemic Target | Preferred Regimen |
|---|---|---|
| ICU (critically ill) | 140–180 mg/dL (ADA/AACE). Avoid targets < 110 mg/dL (NICE-SUGAR showed increased mortality). | Continuous IV insulin infusion (regular insulin). Hourly glucose monitoring. Nurse-driven protocol. |
| Non-ICU (general ward) | Pre-meal < 140 mg/dL; random < 180 mg/dL. Avoid glucose < 70 mg/dL. | Basal-bolus SC insulin (preferred over sliding-scale-only). Basal (glargine/detemir) + rapid-acting (lispro/aspart) with meals + correction scale. |
| NPO patients (non-ICU) | Same targets. Adjust for lack of carbohydrate intake. | Basal insulin only (at ~50% of total daily dose). Hold prandial/correction. Add D5 IV if needed. |
When calculating the total daily dose (TDD) of insulin for a hospitalized patient, a reasonable starting estimate is 0.4–0.5 U/kg/day for insulin-naïve patients (reduce to 0.2–0.3 U/kg/day if elderly, CKD, or at risk for hypoglycemia). Divide the TDD: 50% as basal insulin and 50% divided equally among three pre-meal prandial doses. Add a correction scale for glucose above target, typically adding 1 unit for every 30–50 mg/dL above 150 mg/dL (sensitivity factor). Crucially, always hold oral hypoglycemics (especially metformin) in acutely ill inpatients due to risks of lactic acidosis, contrast nephropathy, and unpredictable absorption.
Connections to Advanced Endocrine & Critical Care Topics
The principles of glycemic management extend well beyond the boundaries of diabetes alone. Understanding how diabetes intersects with critical care medicine, perioperative management, and cardiovascular risk reduction is essential for advanced clinical practice and board readiness.
| Foundational Concept (This Lesson) | Advanced Application |
|---|---|
| DKA management with IV insulin and potassium monitoring | Cerebral edema prevention in pediatric DKA: avoid overly aggressive fluid resuscitation and rapid glucose correction; target glucose drop ≤ 50–75 mg/dL/hr |
| SGLT2 inhibitors in type 2 DM | SGLT2i cardio-renal protection extends to non-diabetic HFrEF and CKD (DAPA-HF, DAPA-CKD trials). Counsel on risk of euglycemic DKA, genital mycotic infections, and Fournier gangrene |
| GLP-1 RA cardiovascular benefit | Semaglutide (oral and injectable) now approved for obesity (Wegovy) and has emerging data for MASH/NAFLD. Tirzepatide (dual GIP/GLP-1 RA) represents the next generation of incretin therapy |
| Inpatient basal-bolus insulin protocols | Steroid-induced hyperglycemia: anticipate postprandial-predominant spikes with prednisone (peak at 8–12 hrs) and adjust NPH or prandial insulin accordingly. Dexamethasone causes more sustained hyperglycemia → increase basal insulin |
| HbA1c as a diagnostic and monitoring tool | Continuous glucose monitoring (CGM) and time-in-range (TIR: 70–180 mg/dL > 70% of the time) are emerging as complementary and possibly superior metrics to HbA1c for assessing glycemic variability |
Looking forward, the field of diabetes management is rapidly evolving. Closed-loop insulin delivery systems ("artificial pancreas") are increasingly available for type 1 DM, and dual agonists like tirzepatide are redefining glycemic and weight outcomes in type 2 DM. For Step 2 preparation, ensure you can confidently manage the acute crises (DKA and HHS), select appropriate pharmacotherapy based on comorbidity profiles, and implement safe inpatient insulin protocols—these represent the highest-yield clinical scenarios for board examinations.
Practice Problems
Diabetes Mellitus & Glycemic Management — Summary
Diabetes mellitus is diagnosed by any one of four criteria: FPG ≥ 126 mg/dL, 2-hr OGTT ≥ 200 mg/dL, HbA1c ≥ 6.5%, or random glucose ≥ 200 with symptoms. Type 1 DM results from autoimmune β-cell destruction (absolute insulin deficiency), while type 2 DM involves progressive insulin resistance and β-cell failure. First-line treatment for type 2 is metformin plus lifestyle modification, with second-line agent selection guided by comorbidities: GLP-1 RAs for ASCVD and SGLT2 inhibitors for HF/CKD.
The hyperglycemic emergencies—DKA (high AG metabolic acidosis, ketosis, glucose > 250) and HHS (profound hyperglycemia > 600, osmolality > 320, minimal ketosis)—are managed with IV fluids, insulin (after confirming K⁺ ≥ 3.3), and potassium replacement. DKA resolution requires normalization of the anion gap, not merely glucose correction. In the inpatient setting, basal-bolus insulin is preferred over sliding-scale-only regimens, targeting 140–180 mg/dL in the ICU and pre-meal < 140, random < 180 on the general ward. Remember the critical exceptions: euglycemic DKA with SGLT2 inhibitors, false HbA1c in hemoglobinopathies, and the importance of holding oral hypoglycemics in acutely ill hospitalized patients.