Electrolyte and Acid/Base Disorders — Clinical Documentation Guide (2026)

Code year: FY2026 (Oct 1 2025 – Sep 30 2026) Audience: Certified Coders, Auditors and Clinical Documentation Specialists Access: CCO Members Last updated: April 2026

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 TermAlternative / Colloquial TermsCode
Hyponatremia / Hypo-osmolalityLow sodium, low salt, hyponatremic state, dilutional hyponatremia, SIADH-related sodium deficitE87.1
Hypernatremia / HyperosmolalityHigh sodium, hypernatremic dehydration, salt poisoning, sodium excessE87.0
HypokalemiaLow potassium, potassium deficiency, hypopotassemia, K+ depletionE87.6
HyperkalemiaHigh potassium, elevated K+, potassium overload, K+ toxicityE87.5
Metabolic acidosis (unspecified)Acidosis NOS, metabolic acid-base imbalance, non-respiratory acidosisE87.20
Acute metabolic acidosisAcute lactic acidosis, acute diabetic acidosis (non-DKA), acute acidemic stateE87.21
Chronic metabolic acidosisRenal tubular acidosis (when indexed to E87.2-), CKD-related acidosisE87.22
Alkalosis (metabolic or respiratory)High pH, elevated bicarbonate, contraction alkalosis, vomiting-induced alkalosisE87.3
Mixed acid-base disorderCombined acidosis-alkalosis, triple acid-base disorder, complex acid-base imbalanceE87.4
HyperkalemiaElevated potassium, hyperkalemic stateE87.5
Fluid overloadVolume overload, hypervolemia, fluid excessE87.70
HypomagnesemiaLow magnesium, magnesium deficiency, hypomagnesemic stateE83.42
HypermagnesemiaHigh magnesium, magnesium toxicity, elevated MgE83.41
HypocalcemiaLow calcium, calcium deficiency, hypocalcemic tetanyE83.51
HypercalcemiaHigh calcium, elevated Ca²+, hypercalcemic crisisE83.52
SIADHInappropriate ADH, Schwartz-Bartter syndromeE22.2
DehydrationVolume depletion, hypovolemia, dehydrated stateE86.0
📝 Coder Note

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:

DisorderCommon Signs & SymptomsSeverity Indicators
HyponatremiaNausea, headache, confusion, lethargy, seizures, muscle crampsAcute onset, sodium <125 mEq/L, neurologic symptoms → MCC potential
HypernatremiaThirst, dry mucous membranes, restlessness, irritability, seizures in severe casesSodium >160 mEq/L associated with significantly increased mortality
HypokalemiaMuscle weakness, fatigue, constipation, ECG changes (flattened T-waves, U waves), arrhythmiasK+ <2.5 mEq/L: rhabdomyolysis, respiratory paralysis risk (MCC if documented)
HyperkalemiaMuscle weakness, paresthesias, peaked T-waves, wide QRS, bradycardia, cardiac arrest riskK+ >6.5 mEq/L: life-threatening arrhythmia; document ECG changes
HypomagnesemiaTremors, muscle cramps, Chvostek’s/Trousseau’s sign, cardiac arrhythmias, coexistent hypokalemiaSevere: refractory hypokalemia/hypocalcemia, ventricular arrhythmias
Metabolic AcidosisKussmaul respirations, fruity breath (DKA), confusion, fatigue, nausea/vomitingpH <7.1 or HCO₃⁻ <10 mEq/L: critical; document acuity for E87.21
Metabolic AlkalosisMuscle twitching, hand tremors, tingling, hypoventilation, confusionSevere contraction alkalosis; document etiology (vomiting, diuretics)
Respiratory AcidosisDyspnea, confusion, somnolence, headache, cyanosisAcute hypercapnic respiratory failure is the primary diagnosis; acidosis is secondary
Mixed DisorderComplex, overlapping features; requires ABG interpretationTwo or more primary disturbances; requires explicit physician documentation
⚠️ Common Pitfall

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 FindingDifferential DiagnosesKey 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 polydipsiaSIADH: 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), pseudohyperkalemiaCKD-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 acidosisDKA (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 alkalosisVomiting/NG suction, loop/thiazide diuretics, hyperaldosteronism, posthypercapnic stateDocument etiology in record; contraction alkalosis from diuretics requires T-code if drug-induced.
Respiratory acidosisCOPD 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.
HypocalcemiaHypoparathyroidism (E20.x), vitamin D deficiency (E55.x), CKD (N18.xx), pancreatitis (K85.xx), massive transfusionHypoparathyroidism as cause: E20.x + E83.51. Do not duplicate if combination code captures both.
HypomagnesemiaMalabsorption (K90.x), PPI use, alcoholism (F10.xx), cisplatin therapy, loop diureticsE83.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 IndicatorRelevant DiagnosisCC/MCC Status (MS-DRG)Action
Serum Na <125 mEq/L with neurologic symptomsSevere hyponatremia (E87.1)CCConfirm provider names “hyponatremia” and documents severity/treatment
Serum K+ <2.5 mEq/L or >6.0 mEq/L with ECG changesSevere hypo/hyperkalemia (E87.5/E87.6)CCQuery for severity documentation; note telemetry findings
Arterial blood gas: pH <7.35 with HCO₃⁻ <18Metabolic 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 arrhythmiaHypomagnesemia (E83.42)CCVerify E83.42 + E87.6 coded together when both documented
IV potassium replacement orderedHypokalemia (E87.6)CCConfirm provider documentation supports diagnosis — do not code from order alone
Bicarbonate supplementation (IV NaHCO₃)Metabolic acidosis (E87.21/E87.22)CCQuery for acuity classification; note severity markers
Kayexalate, patiromer, or SPS orderedHyperkalemia (E87.5)CCEnsure E87.5 documented and coded; note CKD as etiology if applicable
Dehydration documented with electrolyte abnormalityDehydration (E86.0) + electrolyte codeCCCode both E86.0 and the specific electrolyte code per FY2026 guidelines
SIADH documented as cause of hyponatremiaSIADH (E22.2) + E87.1CCAssign both codes; SIADH is separately identifiable etiology
💬 CDI Query Trigger

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 / AgentElectrolyte/Acid-Base EffectCoding Approach
Loop diuretics (furosemide, torsemide, bumetanide)Hypokalemia, hypomagnesemia, metabolic alkalosisE87.6 (or E83.42/E87.3) + T50.1x5A (adverse effect, initial encounter)
Thiazide diuretics (HCTZ, chlorthalidone)Hypokalemia, hyponatremia, hypercalcemiaE87.6/E87.1/E83.52 + T50.2x5A (adverse effect)
ACE inhibitors / ARBsHyperkalemiaE87.5 + T46.4x5A or T46.5x5A (adverse effect)
Potassium-sparing diuretics (spironolactone, amiloride)HyperkalemiaE87.5 + T50.1x5A
IV potassium chloride (KCl) replacementTreatment for hypokalemiaNo separate HCPCS in most settings; document route and rate in record
IV sodium bicarbonate (NaHCO₃)Treatment for metabolic acidosis; can cause metabolic alkalosis if overusedCode underlying acidosis (E87.21/E87.22); track iatrogenic alkalosis risk
Calcium gluconate / calcium chlorideCardiac membrane stabilization in severe hyperkalemia or hypocalcemiaSupports 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, SPSTreatment of chronic hyperkalemiaE87.5; outpatient use supports E87.5 as reportable condition
PPIs (proton pump inhibitors)Hypomagnesemia with prolonged useE83.42 + T47.1x5A (adverse effect) for drug-induced hypomagnesemia
Amphotericin B, cisplatinRenal magnesium and potassium wastingE83.42 + E87.6; T-code for adverse effect if applicable
🛡️ Audit Alert

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

8. ICD-10-CM Guidelines (FY2026)

The following guidelines from the FY2026 ICD-10-CM Official Guidelines for Coding and Reporting (effective October 1, 2025, updated April 1, 2026) 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 (FY2022 Forward, Applicable FY2026)

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.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 FY2026 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
📝 Coder Note

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. Guideline Section I.C.4 instructs coders to assign both the dehydration code and any specific electrolyte abnormality when both are documented and clinically significant. Do not assume dehydration “includes” the electrolyte disorder — assign each separately.

9. ICD-10-CM Code Set (FY2026)

All codes below are valid for FY2026 (effective October 1, 2025 – September 30, 2026) per the CMS FY2026 ICD-10-CM Tabular List:

CodeDescriptionCC/MCC StatusNotes
E86.0DehydrationCCOften co-coded with electrolyte disorders; separate code assignment per guidelines
E87.0Hyperosmolality and hypernatremiaCCSodium disorder; includes hypernatremia + elevated serum osmolality
E87.1Hypo-osmolality and hyponatremiaCCMost common electrolyte disorder in hospitalized patients; SIADH (E22.2) may be coded additionally
E87.20Acidosis, unspecifiedCCUse only when acuity of metabolic acidosis is not documented; avoid if acute/chronic is specified
E87.21Acute metabolic acidosisCCIncludes acute lactic acidosis; added FY2023; requires provider documentation of “acute”
E87.22Chronic metabolic acidosisCCCKD-related chronic acidosis; added FY2023; requires provider documentation of “chronic”
E87.29Other acidosisCCIndex destination for “respiratory acidosis”; also captures other non-metabolic acidoses
E87.3AlkalosisCCIncludes metabolic alkalosis, respiratory alkalosis; no acuity subcodes — document type in record
E87.4Mixed disorder of acid-base balanceCCTwo or more primary acid-base disturbances; requires explicit physician documentation
E87.5HyperkalemiaCCK+ >5.0 mEq/L; life-threatening at >6.5 mEq/L; MS-DRG 640/641 with MCC/CC pairing
E87.6HypokalemiaCCK+ <3.5 mEq/L; MS-DRG 640 (with MCC), 641 (without MCC)
E87.70Fluid overload, unspecifiedCCDistinct from edema; code separately when documented with other electrolyte conditions
E87.71Transfusion-associated circulatory overloadCCTACO; code when fluid overload is specifically transfusion-related
E87.79Other fluid overloadCCOther specified fluid overload states
E87.8Other disorders of electrolyte and fluid balance, not elsewhere classifiedCCResidual category; hyperchloremia, hypochloremia not elsewhere coded
E83.40Disorder of magnesium metabolism, unspecifiedCCUse when type not specified
E83.41HypermagnesemiaCCSerum Mg >2.6 mg/dL; associated with renal failure, excessive supplementation
E83.42HypomagnesemiaCCSerum Mg <1.7 mg/dL; frequently co-occurs with E87.6; code both when documented
E83.51HypocalcemiaCCSerum Ca <8.5 mg/dL; hypoparathyroidism (E20.x) is common etiology — code separately
E83.52HypercalcemiaCCSerum Ca >10.5 mg/dL; malignancy (C-code) or hyperparathyroidism (E21.x) as etiology — code separately
E22.2Syndrome of inappropriate secretion of antidiuretic hormone (SIADH)CCCode E22.2 + E87.1 when SIADH is documented as cause of hyponatremia
⚠️ Common Pitfall

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.

10. Indexing

Use the FY2026 ICD-10-CM Alphabetic Index to locate codes. Key index entries for electrolyte and acid/base disorders:

Index Lead TermSubterm(s)Code Result
Acidosismetabolic — unspecifiedE87.20
Acidosismetabolic — acuteE87.21
Acidosismetabolic — chronicE87.22
AcidosislacticE87.21 (indexes to acute metabolic acidosis)
AcidosisrespiratoryE87.29
Alkalosismetabolic / respiratoryE87.3
Disorder, acid-base balancemixedE87.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)unspecifiedP19.9 — NOT E87.2x (neonatal exclusion)
📝 Coder Note

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.

11. CPT (2026)

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 2026:

CPT CodeDescriptionGlobal PeriodClinical Use / Notes
80048Basic Metabolic Panel (BMP) — calcium, CO₂, chloride, creatinine, glucose, potassium, sodium, BUNN/A (Lab)Primary panel for electrolyte surveillance; includes all major electrolytes; do not unbundle individual components when 80048 is billed per AMA bundling rules
80051Electrolyte Panel — CO₂, chloride, potassium, sodium (82374 + 82435 + 84132 + 84295)N/A (Lab)Focused electrolyte assessment without full BMP; cannot unbundle components separately per panel bundling rules
82803Arterial 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
82803-82805ABG with additional O₂ saturation measurementN/A (Lab)82805 when direct O₂ saturation measured separately
84132Potassium; serum, plasma or whole bloodN/A (Lab)Most common standalone lab for hypokalemia/hyperkalemia coding support; do not bill separately with 80048/80051
84295Sodium; serum, plasma or whole bloodN/A (Lab)Sodium level for hypo/hypernatremia diagnosis support
83735Magnesium; serumN/A (Lab)Required to document hypo/hypermagnesemia; billable separately — not included in BMP
82310Calcium, totalN/A (Lab)Serum calcium for hypocalcemia/hypercalcemia; included in BMP
82330Calcium, ionizedN/A (Lab)Ionized calcium more clinically accurate; not included in standard BMP (80048); bill separately
82374Carbon dioxide (bicarbonate)N/A (Lab)Bicarbonate for acid/base assessment; part of BMP/electrolyte panel — do not unbundle
93000ECG with interpretation and reportN/A (Global)Required for hyperkalemia/hypokalemia with ECG changes; supports MCC/CC documentation
96365Intravenous infusion, therapeutic, initial up to 1 hourN/AIV potassium, IV magnesium, IV calcium gluconate administration
96366IV infusion, each additional hourN/AAdd-on for extended IV electrolyte replacement
36600Arterial puncture, withdrawal of blood for diagnosis0 daysArterial blood draw for ABG; distinct from venipuncture (36415)
99495–99496Transitional care management (TCM) — 7-day/14-day follow-upN/AApplicable for post-discharge electrolyte management, e.g., post-hospital hypokalemia monitoring

12. HCPCS (2026)

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 CodeDescriptionTypical Use
J3480Injection, potassium chloride, per 2 mEqIV potassium replacement for documented hypokalemia (E87.6); hospital outpatient/ASC settings
J3475Injection, magnesium sulfate, per 500 mgIV magnesium replacement for hypomagnesemia (E83.42) or eclampsia prophylaxis
J0610Injection, calcium gluconate, per 10 mlIV calcium for hypocalcemia (E83.51) or acute hyperkalemia cardiac membrane stabilization
J70425% dextrose/0.45% normal saline solution, 500 ml = 1 unitFluid replacement; paired with electrolyte correction orders
J70605% dextrose/water solution, per 500 mlDextrose-water for dilute electrolyte corrections
J7030Infusion, normal saline solution, 1000 mlNormal saline for volume replacement in dehydration (E86.0) with electrolyte disorder
J8499Prescription drug, oral, non-chemotherapeutic, NOSOral potassium supplementation (KCl tablets) when no specific HCPCS applies
G0001Routine venipuncture for collection of specimensBlood draw for electrolyte panels (used by laboratories; not typically billed by physicians)
A4216Sterile water, per 10 mlDiluent for IV electrolyte preparations
📝 Coder Note

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.

13. AHA Coding Clinic (Recent Guidance)

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:

TopicGuidance SummaryApproximate Reference Period
Metabolic acidosis — acute vs. chronic subcategoriesFollowing the FY2023 code expansion, AHA Coding Clinic confirmed that E87.21 (acute) and E87.22 (chronic) require explicit provider documentation of acuity. Coders may not infer acuity from lab values or clinical context alone — a provider query is appropriate when acuity is not specified.2023 (4th Quarter)
Lactic acidosis codingLactic acidosis indexes to E87.21 (Acute metabolic acidosis) per the ICD-10-CM Index. When lactic acidosis is documented in the setting of sepsis, both the sepsis code (A41.xx) and E87.21 may be assigned if the acidosis is separately evaluated and treated per AHA Coding Clinic guidance on code sequencing for metabolic complications per ICD-10 Monitor analysis.2023–2024
SIADH with hyponatremiaWhen SIADH (E22.2) is documented as the etiology of hyponatremia, both E22.2 and E87.1 should be assigned. SIADH is not excluded by E87.1 — the two conditions are separately captured for completeness of the diagnostic picture.2022–2023
Hypokalemia and hypomagnesemia — dual codingBoth E87.6 and E83.42 should be assigned when both conditions are independently documented and managed. Hypomagnesemia is not considered inherent to hypokalemia; they are distinct disorders that happen to frequently co-occur and must each be separately documented to be separately coded.2022–2024
Dehydration sequencing with electrolyte disordersCoding Clinic has reiterated that when dehydration and an electrolyte disorder are both present and clinically addressed, both E86.0 and the specific electrolyte code (e.g., E87.1) should be assigned. Dehydration does not subsume the electrolyte imbalance under the ICD-10-CM code set.2021–2024
Drug-induced hyperkalemia — adverse effect sequencingWhen ACE inhibitors or ARBs cause hyperkalemia as an adverse effect of correctly administered medication, Coding Clinic and Section I.C.19.e guidelines direct coders to sequence E87.5 first, followed by the appropriate T-code for the specific drug adverse effect. The principal diagnosis is the manifestation (hyperkalemia), not the drug.2023

14. HCC / Risk Adjustment (v28)

Under the CMS-HCC Model V28 — fully operative for payment year 2026 (100% V28) — most E87 electrolyte disorder codes do not map independently to an HCC category. However, these codes carry significant indirect impact on risk adjustment through their influence on MS-DRG assignment and their role as CC/MCC conditions driving higher-intensity care.

ICD-10-CM CodeHCC v28 CategoryRAF Weight (Community Non-Dual)Risk Adjustment Impact
E87.1 (Hyponatremia)No HCC mapping in V28N/ACC for MS-DRG; documents clinical complexity; supports MEAT criteria for comorbid HCC conditions
E87.5 (Hyperkalemia)No HCC mapping in V28N/ACC for MS-DRG; hyperkalemia in CKD supports HCC 326/327/328 (CKD) documentation when comorbid
E87.6 (Hypokalemia)No HCC mapping in V28N/ACC; DRG 640/641; may support complexity documentation for heart failure HCC 224/225/226
E87.20–E87.22 (Metabolic Acidosis)No HCC mapping in V28N/ACC; important for CKD documentation — chronic metabolic acidosis (E87.22) supports CKD stage coding
E83.42 (Hypomagnesemia)No HCC mapping in V28N/ACC; complements malnutrition documentation; may indicate nutritional deficiency complex
E22.2 (SIADH)No HCC mapping in V28N/ACC; documents endocrine pathology underlying hyponatremia
E86.0 (Dehydration)No HCC mapping in V28N/ACC; combined with other electrolyte codes supports higher MS-DRG weight
💬 CDI Query Trigger

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 (FY2026 V43.0/V43.1) 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.

15. 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 ScenarioQuery 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?”
💬 CDI Query Trigger

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.

16. 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 FY2026 coding guidelines — but treatment evidence strengthens CDI queries.

ConditionAcute TreatmentOngoing/Chronic ManagementCoding Correlation
Hyponatremia (E87.1)Fluid restriction; hypertonic 3% saline for symptomatic/severe cases; tolvaptan for SIADHFree water restriction; treat underlying cause (SIADH, heart failure); demeclocycline for chronic SIADHIV 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 edemaIdentify 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 monitoringOral KCl supplementation; dietary potassium counseling; treat hypomagnesemia concurrentlyIV 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/refractoryPatiromer (Veltassa), sodium zirconium cyclosilicate (Lokelma), sodium polystyrene sulfonate (Kayexalate); dietary restrictionKayexalate/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 CKDIV 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 infusionAddress chronic diuretic overuse; treat Conn’s syndrome (E26.0x) if presentContraction 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 potassiumOral 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 crisisTreat underlying cause: malignancy (C-code) or hyperparathyroidism (E21.x); cinacalcet for secondary hyperparathyroidismBisphosphonate use in hypercalcemia supports malignancy query if cancer not yet coded; code E83.52 + C-code when malignancy-related

17. 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 are CCs for MS-DRG purposes — accurate capture supports appropriate DRG assignment and reflects true clinical complexity per FY2026 CMS guidelines
  • 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 in the outpatient setting — the provider must document the clinical diagnosis per FY2026 Official Guidelines Section IV.B
📝 Coder Note — FY2026 Guideline Update Reminder

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.

Photo of author

CCO Certified Professionals

The CCO Certified Professionals team brings together experienced, credentialed medical coders, CDI specialists, and clinical documentation experts with decades of combined expertise in inpatient, outpatient, and risk-adjustment coding. Every Clinical Documentation Guide is built and reviewed by certified instructors who teach, code, and audit in the field every day. Content is verified against current ICD-10-CM, AHA Coding Clinic, and CMS guidance.

Leave a Comment

Clinical Doc Guides