🔍 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₂; respiratory acidosis NOS (E87.29), acute respiratory acidosis/acute respiratory failure with hypercapnia (J96.02), or chronic respiratory acidosis/chronic respiratory failure with hypercapnia (J96.12)
- 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 when independently documented, clinically significant, and not integral to another disease process. SIADH (syndrome of inappropriate secretion of antidiuretic hormone, E22.2) is a common underlying cause of hyponatremia and should be coded when documented.
🗂️ 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 | 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 acidemic state | E87.21 |
| Chronic metabolic acidosis | Chronic lactic acidosis, CKD-related chronic 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 NOS indexes to E87.29 (Other acidosis), not to the acute/chronic metabolic subcategories. Acute respiratory acidosis is reported with J96.02, and chronic respiratory acidosis is reported with J96.12. When documentation states only respiratory acidosis NOS, assign E87.29 only when the condition is separately reportable and not integral to the disease process.
🩺 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 respiratory acidosis/acute hypercapnic respiratory failure is reported with J96.02; chronic respiratory acidosis is reported with J96.12; respiratory acidosis NOS may be E87.29 when separately reportable |
| 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 unless the provider indicates their clinical significance, per FY2027 ICD-10-CM Official Guidelines. 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.
🧭 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:
📋 Clinical Indicators
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 when both are documented, clinically significant, and not integral to another condition per FY2027 guidelines |
| SIADH documented as cause of hyponatremia | SIADH (E22.2) | CC | Do not add E87.1 for SIADH-related hyponatremia unless the provider documents an unrelated hyponatremia condition; E87.1 has an Excludes1 note for E22.2 |
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?”
🦴 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 assign E87.20 for lactic acidosis NOS and E87.21 only when acute lactic acidosis is documented.
💊 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 FY2027 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.0X5A for spironolactone adverse effect; use the drug-specific adverse-effect T-code for other agents |
| 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
📘 ICD-10-CM Guidelines
The following guidelines from the FY2027 ICD-10-CM Official Guidelines for Coding and Reporting (effective October 1, 2026–September 30, 2027) govern assignment of electrolyte and acid/base disorder codes:
General Sequencing Rules
- Outpatient (Section IV): Electrolyte disorders may only be coded when the provider has documented the condition as a diagnosis — not merely from laboratory values alone. Abnormal lab findings (Section IV.B) are not coded unless the provider explicitly links them to a diagnosis.
- Inpatient (Section II): For inpatient encounters, conditions documented as “present on admission” (POA) must be flagged appropriately. Electrolyte disorders are frequently POA-Y conditions unless they developed or worsened after admission.
- Principal diagnosis: When an electrolyte disorder is the primary condition for which the patient was admitted and receives treatment, it may serve as the principal diagnosis. When it is a complication or secondary condition, sequence the underlying cause first (per Section I.C.4 for metabolic diseases).
Acidosis Coding (FY2023 Forward, Applicable FY2027)
Effective October 1, 2022, the ICD-10-CM code set expanded the acidosis subcategory from a single E87.2 code to include E87.20 (unspecified), E87.21 (acute metabolic), and E87.22 (chronic metabolic), per ICD-10 Monitor. Coders must:
- Use E87.21 when the provider documents “acute metabolic acidosis” — including acute lactic acidosis; use E87.20 for lactic acidosis or metabolic acidosis NOS when acuity is not documented
- Use E87.22 when the provider documents “chronic metabolic acidosis” — including CKD-related chronic acidosis
- Use E87.20 only when acuity is not specified in the documentation
- Use E87.29 for respiratory acidosis (as it indexes under “other acidosis”)
- Do NOT add E87.2x codes when the acidosis is integral to and indexed under another condition (e.g., DKA E1x.10–E1x.11, uremic acidosis N18.xx)
Multiple Electrolyte Disorders
Per FY2027 guidelines, when a patient has multiple concurrent electrolyte disorders, each disorder that is separately documented, evaluated, and managed should be individually coded. For example, concurrent hypokalemia (E87.6) and hypomagnesemia (E83.42) require separate codes — coders should not choose one over the other.
Excludes Notes — Category E87
Category E87 carries the following Excludes 1 notes (conditions that cannot be coded with E87.x):
- Diabetes insipidus → E23.2 (not E87.1 or E87.0)
- Electrolyte imbalance associated with hyperemesis gravidarum → O21.1
- Electrolyte imbalance following ectopic or molar pregnancy → O08.5
- Familial periodic paralysis → G72.3 (not E87.5/E87.6)
- Metabolic acidemia in newborn, unspecified → P19.9
All E87.2x diagnoses (acidosis codes) qualify as Complication/Comorbidity (CC) conditions for MS-DRG purposes, provided the principal diagnosis is not another fluid/electrolyte disorder in E86–E87, per ICD-10 Monitor’s acidosis coding analysis. Capturing acute vs. chronic specificity is clinically important for documentation integrity even though both map to CC status at present.
Dehydration and Electrolyte Disorders — Section I.C.4
Dehydration (E86.0) and electrolyte disorders may be coded together when both are documented, clinically significant, and not integral to another disease process. Do not assume dehydration “includes” the electrolyte disorder — assign each separately when both conditions meet reporting criteria.
🔢 ICD-10-CM Code Set (Tabular)
All codes below are valid for FY2027 (effective October 1, 2026 – September 30, 2027) per the CMS FY2027 ICD-10-CM Tabular List:
| Code | Description | CC/MCC Status | Notes |
|---|---|---|---|
| E86.0 | Dehydration | CC | Often co-coded with electrolyte disorders; separate code assignment per guidelines |
| E87.0 | Hyperosmolality and hypernatremia | CC | Sodium disorder; includes hypernatremia + elevated serum osmolality |
| E87.1 | Hypo-osmolality and hyponatremia | CC | Most common electrolyte disorder in hospitalized patients; SIADH (E22.2) may be coded additionally |
| E87.20 | Acidosis, unspecified | CC | Use only when acuity of metabolic acidosis is not documented; avoid if acute/chronic is specified |
| E87.21 | Acute metabolic acidosis | CC | Includes acute lactic acidosis; added FY2023; requires provider documentation of “acute” |
| E87.22 | Chronic metabolic acidosis | CC | CKD-related chronic acidosis; added FY2023; requires provider documentation of “chronic” |
| E87.29 | Other acidosis | CC | Index destination for “respiratory acidosis”; also captures other non-metabolic acidoses |
| E87.3 | Alkalosis | CC | Includes metabolic alkalosis, respiratory alkalosis; no acuity subcodes — document type in record |
| E87.4 | Mixed disorder of acid-base balance | CC | Two or more primary acid-base disturbances; requires explicit physician documentation |
| E87.5 | Hyperkalemia | CC | K+ >5.0 mEq/L; life-threatening at >6.5 mEq/L; MS-DRG 640/641 with MCC/CC pairing |
| E87.6 | Hypokalemia | CC | K+ <3.5 mEq/L; MS-DRG 640 (with MCC), 641 (without MCC) |
| E87.70 | Fluid overload, unspecified | CC | Distinct from edema; code separately when documented with other electrolyte conditions |
| E87.71 | Transfusion-associated circulatory overload | CC | TACO; code when fluid overload is specifically transfusion-related |
| E87.79 | Other fluid overload | CC | Other specified fluid overload states |
| E87.8 | Other disorders of electrolyte and fluid balance, not elsewhere classified | CC | Residual category; hyperchloremia, hypochloremia not elsewhere coded |
| E83.40 | Disorder of magnesium metabolism, unspecified | CC | Use when type not specified |
| E83.41 | Hypermagnesemia | CC | Serum Mg >2.6 mg/dL; associated with renal failure, excessive supplementation |
| E83.42 | Hypomagnesemia | CC | Serum Mg <1.7 mg/dL; frequently co-occurs with E87.6; code both when documented |
| E83.51 | Hypocalcemia | CC | Serum Ca <8.5 mg/dL; hypoparathyroidism (E20.x) is common etiology — code separately |
| E83.52 | Hypercalcemia | CC | Serum Ca >10.5 mg/dL; malignancy (C-code) or hyperparathyroidism (E21.x) as etiology — code separately |
| E22.2 | Syndrome of inappropriate secretion of antidiuretic hormone (SIADH) | CC | Use for documented SIADH; do not additionally assign E87.1 for SIADH-related hyponatremia because E87.1 excludes E22.2 |
Coders sometimes assign E87.2 (the parent code, now a non-billable header) instead of the specific E87.20, E87.21, E87.22, or E87.29 subcodes. For FY2026, the E87.2 category itself is non-billable — always assign the 5-character subcode. Similarly, E87.7 is non-billable; use E87.70, E87.71, or E87.79 per AAPC ICD-10 E87.2 code details.
🔎 Indexing
Use the FY2027 ICD-10-CM Alphabetic Index to locate codes. Key index entries for electrolyte and acid/base disorders:
| Index Lead Term | Subterm(s) | Code Result |
|---|---|---|
| Acidosis | metabolic — unspecified | E87.20 |
| Acidosis | metabolic — acute | E87.21 |
| Acidosis | metabolic — chronic | E87.22 |
| Acidosis | lactic — NOS / acute lactic acidosis | E87.20 / E87.21 |
| Acidosis | respiratory | E87.29 |
| Alkalosis | metabolic / respiratory | E87.3 |
| Disorder, acid-base balance | mixed | E87.4 |
| Hyperkalemia | (no subterms) | E87.5 |
| Hypokalemia | (no subterms) | E87.6 |
| Hypernatremia | (no subterms) | E87.0 |
| Hyponatremia | (no subterms) | E87.1 |
| Overload, fluid | (no subterms) | E87.70 |
| Hypomagnesemia | (no subterms) | E83.42 |
| Hypermagnesemia | (no subterms) | E83.41 |
| Hypocalcemia | (no subterms) | E83.51 |
| Hypercalcemia | (no subterms) | E83.52 |
| Syndrome, inappropriate secretion ADH | (no subterms) | E22.2 |
| Dehydration | (no subterms) | E86.0 |
| Acidemia, metabolic (newborn) | unspecified | P19.9 — NOT E87.2x (neonatal exclusion) |
When documentation states “renal tubular acidosis” or “propionic acidemia,” these conditions may index under E87.20 in the tabular but have Excludes notes or code-first instructions. Per ICD-10 Monitor: “If acidosis or acidemia appears in the name of the condition, it is considered inherent to it” and should be coded to the specific condition’s code (e.g., N25.89 for renal tubular acidosis), not to E87.2x.
🏥 CPT
The following CPT codes are commonly used for laboratory testing, monitoring, and treatment procedures related to electrolyte and acid/base disorders. All codes reflect AMA CPT 2027:
| CPT Code | Description | Global Period | Clinical Use / Notes |
|---|---|---|---|
| 80048 | Basic metabolic panel (Calcium, total): calcium total, carbon dioxide (bicarbonate), chloride, creatinine, glucose, potassium, sodium, urea nitrogen (BUN) | N/A (Lab) | Primary panel for electrolyte surveillance; do not separately report component tests when the panel definition is met |
| 80051 | Electrolyte panel: Carbon dioxide (bicarbonate) (82374), Chloride (82435), Potassium (84132), Sodium (84295) | N/A (Lab) | Focused electrolyte assessment without full BMP; do not unbundle panel components separately when all required panel components are performed |
| 82803 | Arterial Blood Gas (ABG) — pH, pCO₂, pO₂, CO₂, HCO₃ (including calculated O₂ saturation) | N/A (Lab) | Essential for acid/base disorder evaluation; measures pH, bicarbonate, and pCO₂ for characterizing disorder type per AAPC CPT 82803 |
| 82805 | Blood gases with direct O₂ saturation measurement | N/A (Lab) | Use when O₂ saturation is measured directly in addition to blood gases; do not report a code range as a single CPT code |
| 84132 | Potassium; serum, plasma or whole blood | N/A (Lab) | Most common standalone lab for hypokalemia/hyperkalemia coding support; do not bill separately with 80048/80051 |
| 84295 | Sodium; serum, plasma or whole blood | N/A (Lab) | Sodium level for hypo/hypernatremia diagnosis support |
| 83735 | Magnesium; serum | N/A (Lab) | Required to document hypo/hypermagnesemia; billable separately — not included in BMP |
| 82310 | Calcium, total | N/A (Lab) | Serum calcium for hypocalcemia/hypercalcemia; included in BMP |
| 82330 | Calcium, ionized | N/A (Lab) | Ionized calcium more clinically accurate; not included in standard BMP (80048); bill separately |
| 82374 | Carbon dioxide (bicarbonate) | N/A (Lab) | Bicarbonate for acid/base assessment; part of BMP/electrolyte panel — do not unbundle |
| 93000 | ECG with interpretation and report | N/A (Global) | Required for hyperkalemia/hypokalemia with ECG changes; supports MCC/CC documentation |
| 96365 | Intravenous infusion, therapeutic, initial up to 1 hour | N/A | IV potassium, IV magnesium, IV calcium gluconate administration |
| 96366 | IV infusion, each additional hour | N/A | Add-on for extended IV electrolyte replacement |
| 36600 | Arterial puncture, withdrawal of blood for diagnosis | 0 days | Arterial blood draw for ABG; distinct from venipuncture (36415) |
| 99495–99496 | Transitional care management (TCM) — 7-day/14-day follow-up | N/A | Applicable for post-discharge electrolyte management, e.g., post-hospital hypokalemia monitoring |
🧾 HCPCS
HCPCS Level II codes apply primarily to outpatient/hospital settings for drug administration and specific supplies. The following codes are relevant to electrolyte and acid/base disorder management per CMS HCPCS 2026 Release:
| HCPCS Code | Description | Typical Use |
|---|---|---|
| J3480 | Injection, potassium chloride, per 2 mEq | IV potassium replacement for documented hypokalemia (E87.6); hospital outpatient/ASC settings |
| J3475 | Injection, magnesium sulfate, per 500 mg | IV magnesium replacement for hypomagnesemia (E83.42) or eclampsia prophylaxis |
| J0612 | Injection, calcium gluconate, not otherwise specified, 10 mg | IV calcium for hypocalcemia (E83.51) or acute hyperkalemia cardiac membrane stabilization |
| J7042 | 5% dextrose/0.45% normal saline solution, 500 ml = 1 unit | Fluid replacement; paired with electrolyte correction orders |
| J7060 | 5% dextrose/water solution, per 500 ml | Dextrose-water for dilute electrolyte corrections |
| J7030 | Infusion, normal saline solution, 1000 ml | Normal saline for volume replacement in dehydration (E86.0) with electrolyte disorder |
| J8499 | Prescription drug, oral, non-chemotherapeutic, NOS | Oral potassium supplementation (KCl tablets) when no specific HCPCS applies |
| A4216 | Sterile water, per 10 ml | Diluent for IV electrolyte preparations |
In the hospital outpatient setting, HCPCS drug codes (J-codes) are billed per unit of the drug administered. Verify the exact dose administered against the HCPCS unit denomination. For example, J3480 (potassium chloride) is billed per 2 mEq — a 40 mEq IV infusion requires 20 units. Always cross-reference with the pharmacy record and nursing administration documentation. Per CMS HCPCS guidelines, only the actual administered dose is billable.
📚 AHA Coding Clinic
The following summarizes relevant guidance from AHA Coding Clinic for ICD-10-CM/PCS. Coders should obtain the original Coding Clinic references for complete context. Access to AHA Coding Clinic is available through the AHA Central Office:
💰 HCC / Risk Adjustment
Under the CMS-HCC clinical classification V28 used in the 2024 CMS-HCC risk adjustment model for CY 2027 — most E87 electrolyte disorder codes do not map independently to an HCC category. However, these codes carry significant indirect impact on documentation quality through their influence on MS-DRG assignment and their support for clinically related HCC-mapped conditions.
| ICD-10-CM Code | HCC v28 Category | RAF Weight (Community Non-Dual) | Risk Adjustment Impact |
|---|---|---|---|
| E87.1 (Hyponatremia) | No HCC mapping in V28 | N/A | CC for MS-DRG; documents clinical complexity; supports MEAT criteria for comorbid HCC conditions |
| E87.5 (Hyperkalemia) | No HCC mapping in V28 | N/A | CC for MS-DRG; hyperkalemia in CKD supports HCC 326/327/328 (CKD) documentation when comorbid |
| E87.6 (Hypokalemia) | No HCC mapping in V28 | N/A | CC; DRG 640/641; may support complexity documentation for heart failure HCC 224/225/226 |
| E87.20–E87.22 (Metabolic Acidosis) | No HCC mapping in V28 | N/A | CC; important for CKD documentation — chronic metabolic acidosis (E87.22) supports CKD stage coding |
| E83.42 (Hypomagnesemia) | No HCC mapping in V28 | N/A | CC; complements malnutrition documentation; may indicate nutritional deficiency complex |
| E22.2 (SIADH) | No HCC mapping in V28 | N/A | CC; documents endocrine pathology underlying hyponatremia |
| E86.0 (Dehydration) | No HCC mapping in V28 | N/A | CC; combined with other electrolyte codes supports higher MS-DRG weight |
CKD + Chronic Metabolic Acidosis HCC Capture: When a patient with documented CKD (N18.3x–N18.5) has a bicarbonate level consistently below 22 mEq/L and receives sodium bicarbonate supplementation, consider querying: “The clinical record reflects chronic renal-related metabolic acidosis based on [bicarbonate X mEq/L, consistent with patient’s CKD stage X]. Could you please document whether this represents chronic metabolic acidosis (E87.22), and whether it is causally related to the patient’s chronic kidney disease?” Capturing E87.22 alongside N18.xx strengthens the clinical complexity profile for CMS-HCC V28 HCC 326–329 (CKD) documentation purposes.
MS-DRG Impact for Inpatient Electrolyte Disorders
For inpatient encounters where an electrolyte disorder is the principal diagnosis, the following MS-DRGs (FY2027 V44.0) apply:
- DRG 640: Miscellaneous Disorders of Nutrition, Metabolism, Fluids/Electrolytes with MCC — average LOS ~4.5 days; higher weight
- DRG 641: Miscellaneous Disorders of Nutrition, Metabolism, Fluids/Electrolytes with CC
- DRG 642: Miscellaneous Disorders of Nutrition, Metabolism, Fluids/Electrolytes without CC/MCC
The most powerful DRG optimization strategy for these encounters is ensuring all coexisting MCCs (e.g., acute respiratory failure J96.0x, septicemia A41.xx, rhabdomyolysis M62.82) are captured when documented, as these shift assignment from DRG 642 to 640 per MedSole RCM’s DRG analysis for E87.6.
✍️ CDI Query Templates
All query templates below are drafted in compliance with ACDIS and AHIMA query format standards: non-leading, multiple-choice, clinically grounded, and based on documented clinical indicators. Queries must never suggest a specific code to the physician.
| Clinical Scenario | Query Template (Non-Leading, Multiple Choice) |
|---|---|
| Metabolic acidosis — acuity not specified | “The clinical record documents metabolic acidosis based on ABG findings [pH __, HCO₃⁻ __ mEq/L] and [treatment: IV bicarbonate / bicarbonate supplementation / other]. Could you clarify whether this represents: (a) Acute metabolic acidosis; (b) Chronic metabolic acidosis; (c) An inherent/integral component of [specify underlying condition]; (d) Clinically insignificant finding not requiring separate coding; (e) Other — please specify?” |
| Hyponatremia — etiology not documented | “The clinical record documents hyponatremia with serum sodium __ mEq/L. [Treatment: fluid restriction / hypertonic saline / tolvaptan]. Could you clarify the etiology: (a) SIADH; (b) Dehydration-related (hypovolemic hyponatremia); (c) Heart failure–related (hypervolemic hyponatremia); (d) CKD/renal cause; (e) Other — please specify? Or is this finding not a separately addressable condition for this encounter?” |
| Hyperkalemia — severity and cause not documented | “The clinical record documents potassium of __ mEq/L with [ECG changes / Kayexalate ordered / patiromer initiated]. Could you clarify: (a) Is hyperkalemia a confirmed, clinically significant diagnosis for this encounter? (b) Is the cause: CKD-related; ACE inhibitor/ARB adverse effect; adrenal insufficiency; other — please specify? (c) Are there associated cardiac manifestations (arrhythmia) that should be documented?” |
| Hypokalemia + hypomagnesemia — documentation of both | “The clinical record documents potassium of __ mEq/L and magnesium of __ mg/dL, with IV potassium and IV magnesium replacement ordered. Could you confirm: (a) Are both hypokalemia and hypomagnesemia separately diagnosed conditions for this encounter? (b) Was the hypokalemia refractory due to the concurrent hypomagnesemia? (c) Any additional electrolyte disorder (e.g., hypophosphatemia) that should be documented?” |
| Chronic metabolic acidosis in CKD patient | “The clinical record documents CKD stage __ (N18.__) with bicarbonate consistently at __ mEq/L and oral/IV bicarbonate supplementation. Could you clarify whether: (a) This represents chronic metabolic acidosis related to CKD; (b) The acidosis is a separately managed condition for this encounter; (c) Other — please specify? Or is the bicarbonate abnormality not clinically significant for this encounter?” |
| Mixed acid-base disorder on ABG | “The clinical ABG shows [pH __, pCO₂ __, HCO₃⁻ __] suggesting a complex acid-base pattern. Could you clarify whether this represents: (a) A single primary acid-base disorder with appropriate compensation; (b) A mixed acid-base disorder (two or more independent primary disorders); (c) Clinically insignificant; (d) Other — please specify?” |
Dehydration + Electrolyte Disorder: When discharge documentation lists “dehydration” as the principal diagnosis but the patient was also treated for hyponatremia or hypokalemia with specific interventions, consider: “The clinical record documents dehydration as the principal diagnosis. The patient also received [IV potassium / hypertonic saline / fluid restriction] for [hypokalemia / hyponatremia]. Could you clarify whether [hypokalemia / hyponatremia] is a separately identified condition that should be documented as an additional diagnosis for this encounter?” Per ACDIS guidance on secondary diagnosis capture, separately managed conditions must be individually documented.
🧑⚕️ Treatments (Clinical)
Clinical treatment data helps coders verify documented diagnoses through correlation with medication orders and procedures. Treatment does not establish a diagnosis — provider documentation must explicitly name the condition per FY2027 coding guidelines — but treatment evidence strengthens CDI queries.
| Condition | Acute Treatment | Ongoing/Chronic Management | Coding Correlation |
|---|---|---|---|
| Hyponatremia (E87.1) | Fluid restriction; hypertonic 3% saline for symptomatic/severe cases; tolvaptan for SIADH | Free water restriction; treat underlying cause (SIADH, heart failure); demeclocycline for chronic SIADH | IV hypertonic saline or tolvaptan use supports severity documentation; query for SIADH if applicable |
| Hypernatremia (E87.0) | Gradual free water replacement (oral or IV D5W); correction rate ≤10–12 mEq/L per 24h to prevent cerebral edema | Identify and treat underlying cause (dehydration, diabetes insipidus) | D5W infusion supports hypernatremia diagnosis; document rate of correction for severity indicators |
| Hypokalemia (E87.6) | IV or oral KCl replacement; address underlying cause; telemetry monitoring | Oral KCl supplementation; dietary potassium counseling; treat hypomagnesemia concurrently | IV KCl or oral potassium supplementation strongly supports E87.6 diagnosis query trigger |
| Hyperkalemia (E87.5) | Calcium gluconate (cardiac membrane stabilization); insulin + dextrose (transcellular shift); sodium bicarbonate; albuterol; dialysis for severe/refractory | Patiromer (Veltassa), sodium zirconium cyclosilicate (Lokelma), sodium polystyrene sulfonate (Kayexalate); dietary restriction | Kayexalate/patiromer/Lokelma orders strongly support E87.5; dialysis use indicates severe hyperkalemia — document accordingly |
| Metabolic Acidosis (E87.21/E87.22) | IV sodium bicarbonate for severe acute acidosis (pH <7.1); treat underlying cause (DKA: insulin; lactic acidosis: address etiology) | Oral sodium bicarbonate for CKD-related chronic acidosis; dietary protein restriction in advanced CKD | IV NaHCO₃ administration is a strong CDI trigger for query regarding acute vs. chronic metabolic acidosis |
| Metabolic Alkalosis (E87.3) | Correct underlying cause; potassium chloride for hypovolemic/contraction alkalosis; stop offending diuretic; normal saline infusion | Address chronic diuretic overuse; treat Conn’s syndrome (E26.0x) if present | Contraction alkalosis with diuretic use — T-code adverse effect sequencing applies |
| Hypomagnesemia (E83.42) | IV magnesium sulfate (J3475) for severe deficiency or when oral not tolerated; replace concomitant potassium | Oral magnesium oxide/citrate; address underlying malabsorption or drug cause (PPI, cisplatin) | IV magnesium sulfate administration supports E83.42 diagnosis; code both E83.42 and E87.6 when both treated |
| Hypercalcemia (E83.52) | IV normal saline hydration; furosemide (after adequate hydration); IV bisphosphonates (zoledronic acid); calcitonin; dialysis for crisis | Treat underlying cause: malignancy (C-code) or hyperparathyroidism (E21.x); cinacalcet for secondary hyperparathyroidism | Bisphosphonate use in hypercalcemia supports malignancy query if cancer not yet coded; code E83.52 + C-code when malignancy-related |
🎓 Patient Education / Summary
The following plain-language summary is intended to help CDI specialists and coders understand how patients experience these conditions — supporting more effective documentation improvement conversations with clinical staff and enabling better patient-facing materials in care coordination.
What Patients Need to Know About Electrolyte Disorders
Electrolytes are minerals in your blood — sodium, potassium, calcium, magnesium — that carry electrical signals needed for your heart, muscles, and nerves to work properly. When these minerals are too high or too low, it can cause symptoms from muscle cramps and fatigue to life-threatening heart rhythm problems. Most electrolyte disorders are treatable once identified, often with oral or IV replacement and by addressing the underlying cause (such as stopping a medication that’s causing the imbalance).
What Patients Need to Know About Acid/Base Disorders
Your body works best when the blood’s acidity (pH) stays in a narrow range. When the blood becomes too acidic (acidosis) or too alkaline (alkalosis), it can affect how all your organs function. The lungs and kidneys are the primary regulators of this balance — lung or kidney disease can disrupt it. Treatment depends on the type and severity of the imbalance.
Key Documentation Summary for Coders and CDI Specialists
- Always document and code the specific electrolyte disorder (e.g., hyponatremia E87.1, not just “electrolyte imbalance NOS E87.8”) when the specific disorder is identified
- For metabolic acidosis, always document acuity (acute E87.21 or chronic E87.22) to enable maximum clinical specificity and avoid the unspecified E87.20 code
- Code all documented co-occurring electrolyte disorders — hypokalemia (E87.6) plus hypomagnesemia (E83.42) when both are present and managed
- Document the underlying cause of each electrolyte disorder — it affects code sequencing, T-code requirements, and clinical completeness
- Electrolyte disorders frequently affect CC capture and MS-DRG assignment — accurate capture supports appropriate DRG assignment and reflects true clinical complexity per FY2027 CMS guidance
- Under CMS-HCC V28 (100% effective PY 2026), E87 codes do not independently map to HCC categories, but they document comorbidity complexity supporting CKD, heart failure, and other HCC-carrying diagnoses
- Never code electrolyte disorders from lab values alone — the provider must document the clinical significance and diagnosis per FY2027 Official Guidelines
FY2026 ICD-10-CM guidelines were updated in two waves: October 1, 2025 and April 1, 2026. For encounters with dates of service on or after April 1, 2026, use the April 2026 version of the official guidelines as the authoritative reference per CMS ICD-10-CM FY2026 guidance. The E87.2x subcode structure introduced in FY2023 remains unchanged for FY2026.
About this Guide
This Clinical Documentation Guide is published by CCO Academy and is intended for credentialed coding, CDI, and clinical documentation professionals. Content is updated for FY2026 ICD-10-CM (effective October 1, 2025). All code assignments should be verified against the official ICD-10-CM Tabular List, AHA Coding Clinic, and applicable payer-specific policies. This guide does not constitute legal, medical, or compliance advice.
Last reviewed: April 2026 · Next scheduled review: October 2026 (FY2027 update)
Ready to turn this knowledge into a credential?
These Clinical Documentation Guides are a free companion to CCO’s paid training programs. Browse our full CCO Course, Blitz & Practice Exam Catalog — every core course, review blitz, practice exam, textbook, and free resource in one place — and find the perfect next step for your coding career.