Skip to main content

P71.2 ICD-10-CM Code: Neonatal hypomagnesemia

Compare with another code for P71.2Check this code on a claim

Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.

Coding at a Glance

Official instructions
1 inclusion term

What these terms mean →

Billable · FY2027A valid, specific ICD-10-CM code, reportable for dates of service in FY2027.

What you need to know

Source: CMS/NCHS Official ICD-10-CM tabular notes, quoted. From the CMS/NCHS tabular list for the release in force. A note the category or block publishes applies to this code too, and is marked with where it comes from.

Includesfrom P70-P74What P70-P74 covers
  • transitory endocrine and metabolic disturbances caused by the infant's response to maternal endocrine and metabolic factors, or its adjustment to extrauterine environment

CompareCheck ClaimView Related Codes

Inpatient Payment Groups (MS-DRG)

Potential MS-DRG participation — not a DRG assignment.

MS-DRGs this diagnosis helps define, as principal or secondary, per the CMS ICD-10-CM/PCS MS-DRG Definitions Manual v44, Appendix B.

  • MS-DRG 791 — PREMATURITY WITH MAJOR PROBLEMS (MDC 15)
  • MS-DRG 793 — FULL TERM NEONATE WITH MAJOR PROBLEMS (MDC 15)

A diagnosis appearing in a group's logic does not by itself determine the DRG assigned to a stay; the grouper uses the full claim.

Coding instructions

Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for P71.2 in the official ICD-10-CM tabular list, quoted as published.

Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2027Effective: October 1, 2026

Trace:FY2027 changesChange historyRelease, file and checksum

Notes without a marker are published on P71.2 itself; “inherited from” names the category or block whose note applies here.

Includes

Conditions the official ICD-10-CM tabular list includes under this code.

  • transitory endocrine and metabolic disturbances caused by the infant's response to maternal endocrine and metabolic factors, or its adjustment to extrauterine environment

Source: inherited from P70-P74

Coding context

Guidelines, coding notes, decision aids, relationships (with MS-DRG and CCSR classification), hierarchy, HCC, coverage and the context map: what a coder reaches for after the core. Each section names whether it is official source data, a MedCoder-derived relationship or MedCoder editorial.

Code Overview

Neonatal hypomagnesemia is a billable ICD-10-CM diagnosis code (P71.2).

MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.

Verify Before Coding

  • CC as a secondary diagnosis (FY2027). Can raise the stay's MS-DRG severity tier.

From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.

Relationships & Classification

MedCoder-derived relationships — computed from published CMS and AHRQ datasets

Other codes that name P71.2 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.

Referenced by 1 Excludes1 note: R79.0 — Abnormal level of blood mineral.

These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.

Referenced by 1 Excludes2 note: P00 — Newborn affected by maternal conditions that may be unrelated to present pregnancy (via P71.-).

These codes’ tabular lists name this diagnosis as distinct — both may be reported when both are documented.

MS-DRG Grouper Relationships (FY2027)

Potential MS-DRG participation — not a DRG assignment.

FY2027 MS-DRG: CC — Complication or Comorbidity. Reported as a secondary diagnosis, this code raises the stay's MS-DRG severity tier — except when the principal diagnosis is one of 44 clinically related codes on its CMS exclusion list.

Named in the grouper logic of 2 MS-DRGs: DRG 791 (MDC 15), DRG 793 (MDC 15).

From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.

Clinical classification (AHRQ CCSR):PNL013 — Other specified and unspecified perinatal conditions (default).

Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality.

Related Codes

Same clinical process (MS-DRG)

Acts as CC — raises the severity of other admissions. CMS groups these diagnoses into one MS-DRG principal-diagnosis exclusion process — a CC/MCC on this list never raises severity when the principal diagnosis is also on it.

P29.89 — Other cardiovascular disorders originating in the perinatal period, P29.9 — Cardiovascular disorder originating in the perinatal period, unspecified, P70.0 — Syndrome of infant of mother with gestational diabetes, P70.1 — Syndrome of infant of a diabetic mother, P70.2 — Neonatal diabetes mellitus, P70.3 — Iatrogenic neonatal hypoglycemia, P70.4 — Other neonatal hypoglycemia, P70.9 — Transitory disorder of carbohydrate metabolism of newborn, unspecified, P71.0 — Cow's milk hypocalcemia in newborn, P71.1 — Other neonatal hypocalcemia, P71.3 — Neonatal tetany without calcium or magnesium deficiency, P71.4 — Transitory neonatal hypoparathyroidism, P71.8 — Other transitory neonatal disorders of calcium and magnesium metabolism, P71.9 — Transitory neonatal disorder of calcium and magnesium metabolism, unspecified, P72.1 — Transitory neonatal hyperthyroidism, P72.9 — Transitory neonatal endocrine disorder, unspecified, P74.0 — Late metabolic acidosis of newborn, P74.1 — Dehydration of newborn, P74.21 — Hypernatremia of newborn, P74.22 — Hyponatremia of newborn, +23 more

Same clinical category (CCSR)

AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Other specified and unspecified perinatal conditions).

P29.9 — Cardiovascular disorder originating in the perinatal period, unspecified, P70.0 — Syndrome of infant of mother with gestational diabetes, P70.1 — Syndrome of infant of a diabetic mother, P70.2 — Neonatal diabetes mellitus, P70.3 — Iatrogenic neonatal hypoglycemia, P70.4 — Other neonatal hypoglycemia, P70.8 — Other transitory disorders of carbohydrate metabolism of newborn, P70.9 — Transitory disorder of carbohydrate metabolism of newborn, unspecified, P71.0 — Cow's milk hypocalcemia in newborn, P71.1 — Other neonatal hypocalcemia, P71.3 — Neonatal tetany without calcium or magnesium deficiency, P71.4 — Transitory neonatal hypoparathyroidism, P71.8 — Other transitory neonatal disorders of calcium and magnesium metabolism, P71.9 — Transitory neonatal disorder of calcium and magnesium metabolism, unspecified, P72.0 — Neonatal goiter, not elsewhere classified, P72.1 — Transitory neonatal hyperthyroidism, P72.2 — Other transitory neonatal disorders of thyroid function, not elsewhere classified, P72.8 — Other specified transitory neonatal endocrine disorders, P72.9 — Transitory neonatal endocrine disorder, unspecified, P74.0 — Late metabolic acidosis of newborn, +74 more

Same Index main term, other category

The ICD-10-CM Index to Diseases and Injuries files this code under the main term “Hypomagnesemia”; these codes share that main term but sit in a different category of the Tabular List.

E83.42 — Hypomagnesemia

Contextual Map

Every relationship of P71.2 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.

Run P71.2 with these 2 related codes in Claim Check

Hierarchy

Referenced by Excludes1 notes

Referenced by Excludes2 notes

Clinical classification (CCSR)

MS-DRG Grouper

  • CC — Complication or Comorbidity [MS-DRG severity]: “As a secondary diagnosis this code can raise the stay's MS-DRG severity tier (CC).”— CMS MS-DRG Definitions Manual (Appendix C) · FY2027
  • DRG 791 — PREMATURITY WITH MAJOR PROBLEMS[MS-DRG]: “PREMATURITY WITH MAJOR PROBLEMS (MDC 15)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
  • DRG 793 — FULL TERM NEONATE WITH MAJOR PROBLEMS[MS-DRG]: “FULL TERM NEONATE WITH MAJOR PROBLEMS (MDC 15)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027

MDC crossing

Index entries

  • Hypomagnesemia, neonatal[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2027

Nearest codes

Change history

  • FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016

Reference

Index terms and tables, published questions and FAQ, every source behind this page with its release and checksum, the date-of-service check and the complete change history.

Indexed Clinical Terms (1)

Official source data — entries quoted as published, in the Index’s own lookup phrasing

Clinical term phrases from the official ICD-10-CM Index to Diseases and Injuries that map to this code. These are alphabetic-index entries shown as the Index writes them — lookup phrasing, not necessarily the wording of a final diagnosis.

Sources for this page

Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.

Code, title, tabular notes and index terms Official source data
CMS/CDC ICD-10-CM FY2027 tabular list, index and tables, effective October 1, 2026 Release, file and checksum · Publisher’s page
Claim edits Official source data
CMS Definitions of Medicare Code Edits — v44.0 (October 2026) Release, file and checksum · Publisher’s page
Inpatient payment groups Official source data
CMS MS-DRG Definitions Manual (incl. Appendix B diagnosis index, Appendix C CC/MCC list, Appendix E procedure index) and IPPS Final Rule tables — v44 Release, file and checksum · Publisher’s page
Change history and date-of-service validity Official source data
CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
Comparisons, relationships and the contextual map MedCoder-derived relationship
Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
Summary and FAQ answers MedCoder editorial explanation
Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.

Current data releases:ICD-10-CM FY2027 · ICD-10-PCS FY2027 · HCPCS October 2026 · MS-DRG v44 · Medicare Code Editor v44.0 · NCCI PTP Q4 2026 · MUE Q4 2026 · NCD code lists 2026-01 · LCD export September 28, 2026 · All releases and sources

Labels on this page: Official source data · MedCoder-derived relationship · MedCoder editorial explanation. How to read the labels · All data sources and release dates · CMS coding rules

Cite this page

Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.

MedCoder.ai. "P71.2 — Neonatal hypomagnesemia." ICD-10-CM FY2027. https://medcoder.ai/icd10/code/p71.2-neonatal-hypomagnesemia

Change history

  • FY2016 — October 1, 2015
    In the code set at ICD-10-CM adoption
    Neonatal hypomagnesemia

No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027, and none are recorded for this code. Note changes are tracked from FY2027 only.

Nearest Codes in This Family

Official ICD-10-CM classifications closest to P71.2 in its code family, with their registry titles.

View all codes in the P71 family