This Clinical Documentation Guide (CDG) provides AAPC/AHIMA-credentialed coders and CDI specialists with comprehensive FY2026 coding, clinical, and documentation guidance for electrolyte and acid/base disorders. These conditions — ranging from hyponatremia and hyperkalemia to metabolic acidosis and mixed acid-base imbalances — are among the most frequently documented secondary diagnoses in both inpatient and outpatient settings. Accurate code assignment affects CC/MCC capture, MS-DRG assignment, and Medicare Advantage risk adjustment. Content reflects FY2026 ICD-10-CM guidelines effective October 1, 2025 and is updated for the April 1, 2026 guideline revision. The full code set, E87.0–E87.8, E86.0, E83.40–E83.42, and E22.2, is covered in depth.
1. Definition
Electrolyte and acid/base disorders are a broad category of metabolic disturbances involving abnormal concentrations of key ions (sodium, potassium, calcium, magnesium, phosphate) in body fluids, or aberrant regulation of blood pH and bicarbonate levels. These conditions are classified in ICD-10-CM Chapter 4 (Endocrine, Nutritional and Metabolic Diseases) primarily under categories E83, E86, and E87.
Electrolyte disorders occur when serum levels of specific ions fall outside physiologic reference ranges. The most clinically significant include:
- Hyponatremia — serum sodium < 135 mEq/L (E87.1)
- Hypernatremia — serum sodium > 145 mEq/L (E87.0)
- Hypokalemia — serum potassium < 3.5 mEq/L (E87.6)
- Hyperkalemia — serum potassium > 5.0 mEq/L (E87.5)
- Hypomagnesemia — serum magnesium < 1.7 mg/dL (E83.42)
- Hypermagnesemia — serum magnesium > 2.6 mg/dL (E83.41)
- Hypocalcemia — serum calcium < 8.5 mg/dL (E83.51)
- Hypercalcemia — serum calcium > 10.5 mg/dL (E83.52)
Acid/base disorders involve derangements of blood pH and the bicarbonate/CO₂ buffering system:
- Metabolic acidosis — low pH, low HCO₃⁻, may be acute (E87.21) or chronic (E87.22)
- Metabolic alkalosis — elevated pH, high HCO₃⁻ (E87.3)
- Respiratory acidosis — low pH, elevated pCO₂ (E87.29)
- Respiratory alkalosis — elevated pH, low pCO₂ (E87.3)
- Mixed disorder — two or more primary acid/base disturbances coexisting (E87.4)
Dehydration (E86.0) frequently coexists with electrolyte disorders and may be separately reportable per FY2026 ICD-10-CM guidelines Section I.C.4. SIADH (syndrome of inappropriate antidiuretic hormone secretion, E22.2) is a common underlying cause of hyponatremia and should be coded when documented, per NIH clinical data on SIADH prevalence.
2. Alternative Terminology
Documentation in the medical record may use clinical, lay, or colloquial terms that map to the same ICD-10-CM codes. The following table captures terminology coders and CDI specialists will encounter across physician notes, nursing documentation, and discharge summaries:
| Formal / ICD-10-CM Term | Alternative / Colloquial Terms | Code |
|---|---|---|
| Hyponatremia / Hypo-osmolality | Low sodium, low salt, hyponatremic state, dilutional hyponatremia, SIADH-related sodium deficit | E87.1 |
| Hypernatremia / Hyperosmolality | High sodium, hypernatremic dehydration, salt poisoning, sodium excess | E87.0 |
| Hypokalemia | Low potassium, potassium deficiency, hypopotassemia, K+ depletion | E87.6 |
| Hyperkalemia | High potassium, elevated K+, potassium overload, K+ toxicity | E87.5 |
| Metabolic acidosis (unspecified) | Acidosis NOS, metabolic acid-base imbalance, non-respiratory acidosis | E87.20 |
| Acute metabolic acidosis | Acute lactic acidosis, acute diabetic acidosis (non-DKA), acute acidemic state | E87.21 |
| Chronic metabolic acidosis | Renal tubular acidosis (when indexed to E87.2-), CKD-related acidosis | E87.22 |
| Alkalosis (metabolic or respiratory) | High pH, elevated bicarbonate, contraction alkalosis, vomiting-induced alkalosis | E87.3 |
| Mixed acid-base disorder | Combined acidosis-alkalosis, triple acid-base disorder, complex acid-base imbalance | E87.4 |
| Hyperkalemia | Elevated potassium, hyperkalemic state | E87.5 |
| Fluid overload | Volume overload, hypervolemia, fluid excess | E87.70 |
| Hypomagnesemia | Low magnesium, magnesium deficiency, hypomagnesemic state | E83.42 |
| Hypermagnesemia | High magnesium, magnesium toxicity, elevated Mg | E83.41 |
| Hypocalcemia | Low calcium, calcium deficiency, hypocalcemic tetany | E83.51 |
| Hypercalcemia | High calcium, elevated Ca²+, hypercalcemic crisis | E83.52 |
| SIADH | Inappropriate ADH, Schwartz-Bartter syndrome | E22.2 |
| Dehydration | Volume depletion, hypovolemia, dehydrated state | E86.0 |
Respiratory acidosis indexes to E87.29 (Other acidosis) in the ICD-10-CM index, not to the acute/chronic metabolic subcategories. When respiratory acidosis occurs with acute or chronic respiratory failure, code the respiratory failure (J96.xx) as the principal diagnosis and add E87.29 as an additional code only if the acidosis represents a separately treatable or clinically significant condition per ICD-10 Monitor guidance on the acidosis coding update.
3. Signs & Symptoms
Signs and symptoms vary substantially by disorder type, severity, and rate of onset. CDI specialists should recognize these clinical presentations to trigger appropriate queries and ensure all diagnoses are captured:
| Disorder | Common Signs & Symptoms | Severity Indicators |
|---|---|---|
| Hyponatremia | Nausea, headache, confusion, lethargy, seizures, muscle cramps | Acute onset, sodium <125 mEq/L, neurologic symptoms → MCC potential |
| Hypernatremia | Thirst, dry mucous membranes, restlessness, irritability, seizures in severe cases | Sodium >160 mEq/L associated with significantly increased mortality |
| Hypokalemia | Muscle weakness, fatigue, constipation, ECG changes (flattened T-waves, U waves), arrhythmias | K+ <2.5 mEq/L: rhabdomyolysis, respiratory paralysis risk (MCC if documented) |
| Hyperkalemia | Muscle weakness, paresthesias, peaked T-waves, wide QRS, bradycardia, cardiac arrest risk | K+ >6.5 mEq/L: life-threatening arrhythmia; document ECG changes |
| Hypomagnesemia | Tremors, muscle cramps, Chvostek's/Trousseau's sign, cardiac arrhythmias, coexistent hypokalemia | Severe: refractory hypokalemia/hypocalcemia, ventricular arrhythmias |
| Metabolic Acidosis | Kussmaul respirations, fruity breath (DKA), confusion, fatigue, nausea/vomiting | pH <7.1 or HCO₃⁻ <10 mEq/L: critical; document acuity for E87.21 |
| Metabolic Alkalosis | Muscle twitching, hand tremors, tingling, hypoventilation, confusion | Severe contraction alkalosis; document etiology (vomiting, diuretics) |
| Respiratory Acidosis | Dyspnea, confusion, somnolence, headache, cyanosis | Acute hypercapnic respiratory failure is the primary diagnosis; acidosis is secondary |
| Mixed Disorder | Complex, overlapping features; requires ABG interpretation | Two or more primary disturbances; requires explicit physician documentation |
Abnormal laboratory values alone — including serum sodium, potassium, or arterial blood gas results — cannot be coded as diagnoses in the outpatient setting per FY2026 ICD-10-CM Official Guidelines Section IV.B. The provider must document the clinical significance and interpret the abnormal result as a named diagnosis. CDI specialists should query providers when lab values are abnormal but the condition is not explicitly named in the assessment.
4. Differential Diagnosis
Many electrolyte and acid/base disorders overlap in presentation, and the underlying etiology determines both the principal diagnosis and required secondary codes. The following table assists coders in understanding the diagnostic differentiation:
| Presenting Finding | Differential Diagnoses | Key Distinguishing Feature / Code Note |
|---|---|---|
| Low sodium (hyponatremia) | SIADH (E22.2), hypothyroidism (E03.9), heart failure (I50.xx), cirrhosis (K74.6x), renal disease (N18.xx), psychogenic polydipsia | SIADH: euvolemic, urine Na >20, urine osm > serum osm. Code SIADH + E87.1 when both documented. |
| High potassium (hyperkalemia) | CKD/ESRD (N18.xx), ACE inhibitor/ARB effect (T-code adverse), adrenal insufficiency (E27.1), rhabdomyolysis (M62.82), pseudohyperkalemia | CKD-related hyperkalemia: sequence CKD first; add E87.5. Adverse drug effect: E87.5 + T-code. |
| Low potassium (hypokalemia) | Diuretic effect (T50.1x5A), vomiting/diarrhea (K59.1/R11.x), hyperaldosteronism (E26.0x), Gitelman/Bartter syndrome (E26.81) | Drug-induced: E87.6 sequenced first, then T-code adverse effect. Gitelman/Bartter: code separately. |
| Metabolic acidosis | DKA (E1x.10), lactic acidosis (E87.21), renal tubular acidosis (N25.89), diarrhea-induced, toxic ingestion (T-code) | DKA has its own combination code; do NOT add E87.21 when DKA is the cause. Lactic acidosis codes to E87.21 per ICD-10 Monitor. |
| Metabolic alkalosis | Vomiting/NG suction, loop/thiazide diuretics, hyperaldosteronism, posthypercapnic state | Document etiology in record; contraction alkalosis from diuretics requires T-code if drug-induced. |
| Respiratory acidosis | COPD exacerbation (J44.1), acute respiratory failure (J96.0x), drug overdose (T-code), obesity hypoventilation (E66.2 + G47.33) | Code respiratory failure as principal; E87.29 is additional code if independently significant. |
| Hypocalcemia | Hypoparathyroidism (E20.x), vitamin D deficiency (E55.x), CKD (N18.xx), pancreatitis (K85.xx), massive transfusion | Hypoparathyroidism as cause: E20.x + E83.51. Do not duplicate if combination code captures both. |
| Hypomagnesemia | Malabsorption (K90.x), PPI use, alcoholism (F10.xx), cisplatin therapy, loop diuretics | E83.42 should be coded alongside E87.6 when both hypomagnesemia and hypokalemia are present and documented. |
5. Clinical Indicators for Coders/CDI
CDI specialists and coders should review the following clinical indicators to identify reportable conditions and assess CC/MCC status:
| Clinical Indicator | Relevant Diagnosis | CC/MCC Status (MS-DRG) | Action |
|---|---|---|---|
| Serum Na <125 mEq/L with neurologic symptoms | Severe hyponatremia (E87.1) | CC | Confirm provider names "hyponatremia" and documents severity/treatment |
| Serum K+ <2.5 mEq/L or >6.0 mEq/L with ECG changes | Severe hypo/hyperkalemia (E87.5/E87.6) | CC | Query for severity documentation; note telemetry findings |
| Arterial blood gas: pH <7.35 with HCO₃⁻ <18 | Metabolic acidosis (E87.20–E87.22) | CC (E87.20–E87.22) | Query for acute vs. chronic; confirm not integral to DKA or other condition |
| Serum Mg <1.2 mg/dL with arrhythmia | Hypomagnesemia (E83.42) | CC | Verify E83.42 + E87.6 coded together when both documented |
| IV potassium replacement ordered | Hypokalemia (E87.6) | CC | Confirm provider documentation supports diagnosis — do not code from order alone |
| Bicarbonate supplementation (IV NaHCO₃) | Metabolic acidosis (E87.21/E87.22) | CC | Query for acuity classification; note severity markers |
| Kayexalate, patiromer, or SPS ordered | Hyperkalemia (E87.5) | CC | Ensure E87.5 documented and coded; note CKD as etiology if applicable |
| Dehydration documented with electrolyte abnormality | Dehydration (E86.0) + electrolyte code | CC | Code both E86.0 and the specific electrolyte code per FY2026 guidelines |
| SIADH documented as cause of hyponatremia | SIADH (E22.2) + E87.1 | CC | Assign both codes; SIADH is separately identifiable etiology |
When the clinical record documents IV bicarbonate therapy, Kussmaul respirations, or an ABG with metabolic acidosis pattern (low pH, low HCO₃⁻, low pCO₂), consider querying the provider: "The clinical record reflects metabolic acidosis based on ABG findings [pH X, HCO₃⁻ X, pCO₂ X] and IV bicarbonate therapy. Could you please clarify whether this represents: (a) acute metabolic acidosis; (b) chronic metabolic acidosis; (c) an integral component of [underlying condition]; or (d) other — please specify?"
6. Anatomy & Pathophysiology
A sound understanding of the underlying physiology enables coders and CDI specialists to recognize when electrolyte or acid/base disorders are clinically distinct diagnoses versus integral manifestations of another condition.
Electrolyte Homeostasis
Sodium and water balance are regulated by the hypothalamic-pituitary-renal axis. Antidiuretic hormone (ADH/vasopressin) controls free water reabsorption in the collecting duct, while aldosterone governs sodium reabsorption in the distal tubule. Disruptions in this axis (e.g., SIADH with inappropriately elevated ADH) cause dilutional hyponatremia. Conversely, insufficient ADH or impaired renal water retention causes hypernatremia. Per NIH/Indian Journal of Endocrinology and Metabolism, SIADH accounts for the most common cause of hyponatremia in hospitalized patients (approximately 30% of hospital admissions involve hyponatremia).
Potassium balance depends on renal excretion (regulated by aldosterone), cellular uptake (regulated by insulin and catecholamines), and GI intake/losses. The kidney excretes 90% of dietary potassium through principal cells of the collecting duct. Hyperkalemia is most commonly caused by CKD-related impaired excretion, while hypokalemia results from renal wasting (diuretics, hyperaldosteronism) or GI losses (vomiting, diarrhea).
Magnesium is the second most abundant intracellular cation. Roughly 60% is stored in bone, 20% in muscle. Renal conservation is the primary defense against hypomagnesemia. Magnesium is a cofactor for the Na/K-ATPase pump — deficiency causes renal potassium wasting, explaining why hypokalemia is often refractory to potassium replacement until magnesium is corrected, as noted in AAPC ICD-10 E83.42 coding guidance.
Acid/Base Physiology
The body maintains arterial pH between 7.35 and 7.45 through three buffering systems: chemical buffers (bicarbonate/carbonic acid being primary), respiratory compensation (CO₂ elimination via lungs), and renal regulation (H⁺ excretion and HCO₃⁻ reabsorption). The Henderson-Hasselbalch equation describes the relationship: pH = pKa + log([HCO₃⁻] / 0.03 × pCO₂). When metabolic acidosis develops, the body compensates by increasing ventilation to reduce pCO₂ (Kussmaul breathing), while respiratory acidosis triggers renal retention of bicarbonate over days.
Anion gap (Na⁺ – [Cl⁻ + HCO₃⁻], normal 8–12 mEq/L) helps categorize metabolic acidosis. An elevated anion gap (MUDPILES: Methanol, Uremia, DKA, Propylene glycol, Isoniazid/Iron, Lactic acidosis, Ethylene glycol, Salicylates) has distinct coding implications versus normal anion gap acidosis (HARDUP: Hyperalimentation, Addison's disease, Renal tubular acidosis, Diarrhea, Ureteral diversion, Pancreatic fistula). Coders should recognize that lactic acidosis codes to E87.21 per ICD-10 Monitor/MedLearn Publishing.
7. Medication Impact / Treatment
Many electrolyte and acid/base disorders are caused by — or treated with — medications that have direct coding implications. Adverse effects, underdosing, and poisoning scenarios each require specific T-code sequencing per FY2026 ICD-10-CM Official Guidelines Section I.C.19.e.
| Medication / Agent | Electrolyte/Acid-Base Effect | Coding Approach |
|---|---|---|
| Loop diuretics (furosemide, torsemide, bumetanide) | Hypokalemia, hypomagnesemia, metabolic alkalosis | E87.6 (or E83.42/E87.3) + T50.1x5A (adverse effect, initial encounter) |
| Thiazide diuretics (HCTZ, chlorthalidone) | Hypokalemia, hyponatremia, hypercalcemia | E87.6/E87.1/E83.52 + T50.2x5A (adverse effect) |
| ACE inhibitors / ARBs | Hyperkalemia | E87.5 + T46.4x5A or T46.5x5A (adverse effect) |
| Potassium-sparing diuretics (spironolactone, amiloride) | Hyperkalemia | E87.5 + T50.1x5A |
| IV potassium chloride (KCl) replacement | Treatment for hypokalemia | No separate HCPCS in most settings; document route and rate in record |
| IV sodium bicarbonate (NaHCO₃) | Treatment for metabolic acidosis; can cause metabolic alkalosis if overused | Code underlying acidosis (E87.21/E87.22); track iatrogenic alkalosis risk |
| Calcium gluconate / calcium chloride | Cardiac membrane stabilization in severe hyperkalemia or hypocalcemia | Supports severity documentation for E87.5 or E83.51 |
| Insulin + dextrose (for hyperkalemia) | Transcellular potassium shift (acute management) | Document hyperkalemia (E87.5); insulin use supports severity query |
| Sodium polystyrene sulfonate (Kayexalate), patiromer, SPS | Treatment of chronic hyperkalemia | E87.5; outpatient use supports E87.5 as reportable condition |
| PPIs (proton pump inhibitors) | Hypomagnesemia with prolonged use | E83.42 + T47.1x5A (adverse effect) for drug-induced hypomagnesemia |
| Amphotericin B, cisplatin | Renal magnesium and potassium wasting | E83.42 + E87.6; T-code for adverse effect if applicable |
When electrolyte disorders are caused by correctly prescribed, properly administered medications, they represent adverse effects — the electrolyte code is sequenced first, followed by the T-code (adverse effect, 5th or 6th character = 5). Do NOT use poisoning codes (T-code 7th character A/D/S) for adverse effects. Missequencing is a common audit finding per AAPC guidance on drug coding sequencing. Document whether the medication was correctly prescribed and taken as directed.
Preview ends here. The full guide continues with FY2026 ICD-10-CM code sets, CPT surgical coding, MS-DRG mapping, reimbursement guidance, CDI query templates, and an audit checklist — all available to CCO Members.
← Back to All Clinical Documentation Guides
🔒 Register or sign in to read the full guide
Unlock the full guide including:
- • 📘 8. ICD-10-CM Guidelines (FY2026)
- • 🔢 9. ICD-10-CM Code Set (FY2026)
- • 🔎 10. Indexing
- • 🏥 11. CPT (2026)
- • 🧾 12. HCPCS (2026)
- • 📚 13. AHA Coding Clinic (Recent Guidance)
- • 💰 14. HCC / Risk Adjustment (v28)
- • ✍️ 15. CDI Query Templates
- • 🧑⚕️ 16. Treatments (Clinical)
- • 🎓 17. Patient Education / Summary