D84.9 ICD-10-CM Code: Immunodeficiency, unspecified
Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.
Coding at a Glance
- Tabular directives
- 6 inclusion terms · 2 Excludes1 · 1 Excludes2
- Risk adjustment
- CMS-HCC V22 category 47 · RxHCC V08 category 99
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 v43, Appendix B.
- MS-DRG 814 — RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITH MCC (MDC 16)
- MS-DRG 815 — RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITH CC (MDC 16)
- MS-DRG 816 — RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITHOUT CC/MCC (MDC 16)
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 D84.9 in the official ICD-10-CM tabular list, quoted as published.
Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2026Effective: October 1, 2025
Notes without a marker are published on D84.9 itself; “inherited from” names the category or block whose note applies here.
This page already reflects the FY2027 tabular note taking effect October 1, 2026.
Includes
Conditions the official ICD-10-CM tabular list includes under this code.
- defects in the complement system
- immunodeficiency disorders, except human immunodeficiency virus [HIV] disease
- sarcoidosis
Source: inherited from D80-D89
Inclusion Terms
Alternative terms the tabular list files under this code.
- Immunocompromised NOS
- Immunodeficient NOS
- Immunosuppressed NOS
Excludes1 — Not Coded Here
Conditions generally not reported together with this code (Excludes1) -- an error unless the two conditions are documented as unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).
- autoimmune disease (systemic) NOS (M35.9) Compare D84.9 vs M35.9 →
- functional disorders of polymorphonuclear neutrophils (D71-) Compare D84.9 vs D71 →
Source: inherited from D80-D89
Excludes2 — Not Included Here
Conditions not covered by this code, but which may be reported alongside it when both are present.
- human immunodeficiency virus [HIV] disease (B20) Compare D84.9 vs B20 →
Source: inherited from D80-D89
Coder workflow for D84.9
MedCoder structured workflow — derived from this code’s own official record
Before you code D84.9
- Unspecified does not mean incorrect. When the record gives no greater specificity, D84.9 may be the appropriate code. Check the record for detail that supports a more specific sibling. An unspecified code is for records that do not provide the detail a more specific code needs; a query, not an assumption, is the route to specificity (Guidelines I.A.9.b, I.B.18).
See the relationships section · Guide: Other vs unspecified (NEC vs NOS) →
- Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with D84.9. Excludes1 conditions are not reported together with this code unless the record shows they are unrelated (Guidelines I.A.12.a).
Choose the right path
- Does the record document the detail a more specific sibling code needs?
Yes → Review the specific siblings in this subcategory.
No → Continue — D84.9 is appropriate when the documentation goes no further. - Does the documentation support a condition named in D84.9’s Excludes1 note?
Yes → Do not simply proceed: review the excluded code. Both are reported only when the record shows the two conditions are unrelated.
No → Continue.
Consider D84.9. Then confirm the code is valid for the date of service in the Verify section.
Documentation check
- The provider’s diagnostic statement
- Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
- Any detail beyond this code’s title
- What the record states that a more specific sibling code would capture — or its absence, which itself supports the unspecified code.
Official instructions as workflow
Excludes1 — check before selecting D84.9(2 notes)
Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with D84.9: the two are not reported together. The one exception is when the record shows the two conditions are unrelated to each other.
See the official tabular notes · Guidelines I.A.12.a
Excludes2 — not part of D84.9(1 note)
Coding workflow: The conditions named in this note are not included in D84.9. When the record documents both, both may be reported; the note is a boundary, not a prohibition.
CompareB20
See the official tabular notes · Guidelines I.A.12.b
Coding decision scenarios
Pattern scenarios for this code’s structure — decision rules, not clinical cases
Documentation: The provider documents the condition in the terms of this code’s title and records no further detail.
Coding question: Is a more specific sibling code supportable?
Path: Review the specific siblings in this subcategory and what each requires the record to state.
Reason: A more specific code needs documentation of the distinguishing element; without it the unspecified code is appropriate, and a provider query is the route to specificity (Guidelines I.A.9.b, I.B.18).
Documentation: Both the condition D84.9 describes and a condition named in its Excludes1 note are documented for the same encounter.
Coding question: Can both codes be reported?
Path: Review the Excludes1 note and the excluded code, and look for a provider statement on whether the two conditions are related.
Reason: Excludes1 means the two are not coded together; the exception is when the record shows the conditions are unrelated to each other (Guidelines I.A.12.a).
Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.
Code Overview
MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.
Indexed Clinical Terms (5)
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.
Official Coding Guidelines
No excerpt in the ICD-10-CM Official Guidelines names this code specifically. Its chapter carries only this chapter-wide note:
Chapter 3: Disease of the blood and blood-forming organs and certain disorders involving the immune mechanism (D50-D89)
Reserved for future guideline expansion
Verify Before Coding
- CC as a secondary diagnosis (FY2026). 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 structured relationships — computed from published CMS and AHRQ datasets
Other codes that name D84.9 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 2 Excludes1 notes: D72 — Other disorders of white blood cells (via D84.-), D84.81 — Immunodeficiency due to conditions classified elsewhere.
These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.
MS-DRG Grouper Relationships (FY2026)
Potential MS-DRG participation — not a DRG assignment.
FY2026 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 3 MS-DRGs: DRG 814 (MDC 16), DRG 815 (MDC 16), DRG 816 (MDC 16).
From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.
Clinical classification (AHRQ CCSR):BLD008 — Immunity disorders (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.
D82.9 — Immunodeficiency associated with major defect, unspecified, D83.0 — Common variable immunodeficiency with predominant abnormalities of B-cell numbers and function, D83.1 — Common variable immunodeficiency with predominant immunoregulatory T-cell disorders, D83.2 — Common variable immunodeficiency with autoantibodies to B- or T-cells, D83.8 — Other common variable immunodeficiencies, D83.9 — Common variable immunodeficiency, unspecified, D84.0 — Lymphocyte function antigen-1 [LFA-1] defect, D84.821 — Immunodeficiency due to drugs, D84.822 — Immunodeficiency due to external causes, D84.89 — Other immunodeficiencies, D89.3 — Immune reconstitution syndrome, D89.40 — Mast cell activation, unspecified, D89.41 — Monoclonal mast cell activation syndrome, D89.42 — Idiopathic mast cell activation syndrome, D89.43 — Secondary mast cell activation, D89.49 — Other mast cell activation disorder, D89.82 — Autoimmune lymphoproliferative syndrome [ALPS], D89.84 — IgG4-related disease, D89.89 — Other specified disorders involving the immune mechanism, not elsewhere classified, D89.9 — Disorder involving the immune mechanism, unspecified, +23 more
Same clinical category (CCSR)
AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Immunity disorders).
D83.2 — Common variable immunodeficiency with autoantibodies to B- or T-cells, D83.8 — Other common variable immunodeficiencies, D83.9 — Common variable immunodeficiency, unspecified, D84.0 — Lymphocyte function antigen-1 [LFA-1] defect, D84.1 — Defects in the complement system, D84.8 — Other specified immunodeficiencies, D84.81 — Immunodeficiency due to conditions classified elsewhere, D84.821 — Immunodeficiency due to drugs, D84.822 — Immunodeficiency due to external causes, D84.89 — Other immunodeficiencies, D86.0 — Sarcoidosis of lung, D86.1 — Sarcoidosis of lymph nodes, D86.2 — Sarcoidosis of lung with sarcoidosis of lymph nodes, D86.3 — Sarcoidosis of skin, D86.81 — Sarcoid meningitis, D86.82 — Multiple cranial nerve palsies in sarcoidosis, D86.83 — Sarcoid iridocyclitis, D86.84 — Sarcoid pyelonephritis, D86.85 — Sarcoid myocarditis, D86.86 — Sarcoid arthropathy, +64 more
Same Index main term, other category
The ICD-10-CM Index to Diseases and Injuries files this code under the main terms “Deficiency, deficient”, “Immunodeficiency”; these codes share that main term but sit in a different category of the Tabular List.
D82.0 — Wiskott-Aldrich syndrome (with, thrombocytopenia and eczema), D82.2 — Immunodeficiency with short-limbed stature (with, short-limbed stature), D82.3 — Immunodeficiency following hereditary defective response to Epstein-Barr virus (following hereditary defective response to Epstein-Barr virus), D82.8 — Immunodeficiency associated with other specified major defects (with, partial albinism), D82.9 — Immunodeficiency associated with major defect, unspecified (with, major defect), D83.0 — Common variable immunodeficiency with predominant abnormalities of B-cell numbers and function (common variable, with, abnormalities of B-cell numbers and function), D83.1 — Common variable immunodeficiency with predominant immunoregulatory T-cell disorders (common variable, with, immunoregulatory T-cell disorders), D83.2 — Common variable immunodeficiency with autoantibodies to B- or T-cells (common variable, with, autoantibodies to B- or T-cells), D83.8 — Other common variable immunodeficiencies (common variable, specified type NEC), D83.9 — Common variable immunodeficiency, unspecified (common variable), E20.9 — Hypoparathyroidism, unspecified (parathyroid), E23.0 — Hypopituitarism (gonadotropin), E23.2 — Diabetes insipidus (vasopressin), E25.0 — Congenital adrenogenital disorders associated with enzyme deficiency (21-hydroxylase), E27.1 — Primary adrenocortical insufficiency (corticoadrenal, primary), E27.40 — Unspecified adrenocortical insufficiency (corticoadrenal), E27.49 — Other adrenocortical insufficiency (glucocorticoid), E28.39 — Other primary ovarian failure (ovarian), E29.1 — Testicular hypofunction (5-alpha reductase), E31.0 — Autoimmune polyglandular failure (polyglandular, autoimmune), +187 more
Contextual Map
Every relationship of D84.9 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 D84.9 with these 2 related codes in Claim Check
Hierarchy
- D50-D89 — Chapter 3: Diseases of the Blood and Blood-forming Organs and Certain Disorders Involving the Immune Mechanism (D50-D89) (D50-D89)[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- D80-D89 — Certain disorders involving the immune mechanism[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
Referenced by Excludes1 notes
- D72 — Other disorders of white blood cells[Excludes1](via D84.-): “immunity disorders (D80-D89)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- D84.81 — Immunodeficiency due to conditions classified elsewhere[Excludes1]: “certain disorders involving the immune mechanism (D80-D83, D84.0, D84.1, D84.9)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Clinical classification (CCSR)
- BLD008 — Immunity disorders[CCSR]— AHRQ CCSR for ICD-10-CM Diagnoses (HCUP)
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) · FY2026
- DRG 814 — RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITH MCC[MS-DRG]: “RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITH MCC (MDC 16)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2026
- DRG 815 — RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITH CC[MS-DRG]: “RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITH CC (MDC 16)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2026
- DRG 816 — RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITHOUT CC/MCC[MS-DRG]: “RETICULOENDOTHELIAL AND IMMUNITY DISORDERS WITHOUT CC/MCC (MDC 16)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2026
MDC crossing
- MDC 16 — Diseases and Disorders of Blood, Blood Forming Organs and Immunologic Disorders[MDC crossing]: “Diseases and Disorders of Blood, Blood Forming Organs and Immunologic Disorders — the grouper's crossing between diagnoses and procedures: a principal diagnosis sets the MDC, and same-MDC procedures move the stay to its surgical DRGs. 1,614 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2026
Index entries
- Deficiency, deficient, immunity[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Immunocompromised NOS[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Immunodeficiency[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Immunodeficient NOS[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Immunosuppressed NOS[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
Nearest codes (9)
- D84 — Other immunodeficiencies[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- D84.0 — Lymphocyte function antigen-1 [LFA-1] defect[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- D84.1 — Defects in the complement system[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- D84.8 — Other specified immunodeficiencies[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- D84.81 — Immunodeficiency due to conditions classified elsewhere[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- D84.82 — Immunodeficiency due to drugs and external causes[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- D84.821 — Immunodeficiency due to drugs[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- D84.822 — Immunodeficiency due to external causes[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- and 1 more
Change history (3)
- FY2027 — Excludes2 note will be added[Change history]— CMS release files (code change ledger) · icd10cm-fy2027
- and 2 more
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 FY2026 tabular list, index and tables, effective October 1, 2025 Release, file and checksum · Publisher’s page
- Coding guidelines Official source data
- ICD-10-CM Official Guidelines for Coding and Reporting (FY2026), quoted by section Release, file and checksum · Publisher’s page
- Claim edits Official source data
- CMS Definitions of Medicare Code Edits — v43.1 (April 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 — v43 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 structured 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 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.
Labels on this page: Official source data · MedCoder structured relationship · MedCoder explanation. How to read the labels · All data sources and release dates
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. "D84.9 — Immunodeficiency, unspecified." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/d84.9-immunodeficiency-unspecified
Change history
- Upcoming · effective FY2027 — October 1, 2026Excludes2 note will be addedhuman immunodeficiency virus [HIV] disease (B20)FY2027 changes
- Upcoming · effective FY2027 — October 1, 2026Excludes1 note will be removedhuman immunodeficiency virus [HIV] disease (B20)FY2027 changes
- FY2016 — October 1, 2015In the code set at ICD-10-CM adoptionImmunodeficiency, unspecified
Nearest Codes in This Family
Official ICD-10-CM classifications closest to D84.9 in its code family, with their registry titles.
- D84 — Other immunodeficiencies
- D84.0 — Lymphocyte function antigen-1 [LFA-1] defect
- D84.1 — Defects in the complement system
- D84.8 — Other specified immunodeficiencies
- D84.81 — Immunodeficiency due to conditions classified elsewhere
- D84.82 — Immunodeficiency due to drugs and external causes
- D84.821 — Immunodeficiency due to drugs
- D84.822 — Immunodeficiency due to external causes
- D84.89 — Other immunodeficiencies