D84.822 ICD-10-CM Code: Immunodeficiency due to external causes
Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.
Coding at a Glance
- Tabular directives
- 3 inclusion terms · 2 Excludes1 · 1 Excludes2 · 2 use-additional codes · 1 code-also instruction
- 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 v44, 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.822 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 D84.822 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.
- defects in the complement system
- immunodeficiency disorders, except human immunodeficiency virus [HIV] disease
- sarcoidosis
Source: inherited from D80-D89
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.822 vs M35.9 →
- functional disorders of polymorphonuclear neutrophils (D71-) Compare D84.822 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.822 vs B20 →
Source: inherited from D80-D89
Code Also
Additional codes that may be required to fully describe the encounter.
- Code also, if applicable, radiological procedure and radiotherapy (Y84.2)
Use Additional Code
Supplementary codes the tabular list directs you to add.
- Use additional code for external cause such as:
- exposure to ionizing radiation (W88)
Coder workflow for D84.822
MedCoder structured workflow — derived from this code’s own official record
Before you code D84.822
- D84.822’s title joins a condition with an associated condition or complication. Confirm each component is documented. Where the classification presumes the link through the “with” convention, only a provider statement that the conditions are unrelated defeats it. A combination code is assigned only when it fully identifies the documented conditions; a required second code for the stage, type or manifestation is still reported when the notes ask for it (Guidelines I.B.9, I.A.15).
- Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with D84.822. 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 documentation support a condition named in D84.822’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.822. Then work the Use Additional Code note and review the Code Also note, and 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).
- The associated condition or complication
- Whether the associated condition the title names is documented; the “with” convention presumes some links, and a provider statement that the conditions are unrelated defeats it (Guidelines I.A.15).
- The conditions the Use Additional Code note names
- Reported with this code when documented; a conditional instruction (“if applicable”, “if known”) applies only when the record supports it.
Official instructions as workflow
Excludes1 — check before selecting D84.822(2 notes)
Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with D84.822: 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.822(1 note)
Coding workflow: The conditions named in this note are not included in D84.822. 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
Use Additional Code — after identifying D84.822(2 notes)
Coding workflow: Check whether the documentation supports the additional code(s) the note names, and report them with D84.822 when it does. Where the instruction is conditional (“if applicable”, “if known”), it applies only when the record documents the condition.
ReviewW88
See the official tabular notes · Guidelines I.A.13
Code Also — related condition(1 note)
Coding workflow: Review the related condition when both are documented and the instruction applies. A Code Also note does not fix sequencing; the order follows the circumstances of the encounter.
ReviewY84.2
See the official tabular notes · Guidelines I.A.17
Coding decision scenarios
Pattern scenarios for this code’s structure — decision rules, not clinical cases
Documentation: Both the condition D84.822 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).
Documentation: Only one of the components this code’s title joins is documented.
Coding question: Is D84.822 supported?
Path: Review the code for the documented component on its own.
Reason: A combination code is assigned only when it fully identifies the documented conditions; otherwise the documented component takes its own code (Guidelines I.B.9).
Documentation: A condition the Use Additional Code note names is documented.
Coding question: Is a second code reported with D84.822?
Path: Review the Use Additional Code note and the code it names.
Reason: The additional code is reported when the record documents the condition; a conditional instruction applies only when its condition is met (Guidelines I.A.13).
ReviewW88
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 (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.
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
Decision Points
The directives on this code's own record, as a pre-claim checklist.
- 2 Use Additional Code instructions — report the named additional code(s) when the documentation supports them. See the Use Additional Code notes
- 1 Code Also note — a second code may apply; the guidelines leave its sequencing to the circumstances of the encounter. See the Code Also notes
- 2 Excludes1 entries — codes named there are generally not reported together with this code (Guidelines I.A.12.a). See the Excludes1 notes
- 1 Excludes2 entry — those conditions are not part of this code and may be reported additionally when documented. See the Excludes2 notes
Checklist rows are derived from this code's own official directives; the wording of each check is MedCoder editorial. The official notes themselves are in the sections each row links to.
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 structured relationships — computed from published CMS and AHRQ datasets
Other codes that name D84.822 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: D72 — Other disorders of white blood cells (via D84.-).
These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.
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 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.4 — Hyperimmunoglobulin E [IgE] syndrome, D82.8 — Immunodeficiency associated with other specified major defects, 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.89 — Other immunodeficiencies, D84.9 — Immunodeficiency, unspecified, 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, +23 more
Same clinical category (CCSR)
AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Immunity disorders).
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.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.89 — Other immunodeficiencies, D84.9 — Immunodeficiency, unspecified, 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, +64 more
Same Index main term, other category
The ICD-10-CM Index to Diseases and Injuries files this code under the main term “Immunodeficiency”; these codes share that main term but sit in a different category of the Tabular List.
D81.0 — Severe combined immunodeficiency [SCID] with reticular dysgenesis (combined, severe, with, reticular dysgenesis), D81.1 — Severe combined immunodeficiency [SCID] with low T- and B-cell numbers (combined, severe, with, low T- and B-cell numbers), D81.2 — Severe combined immunodeficiency [SCID] with low or normal B-cell numbers (combined, severe, with, low or normal B-cell numbers), D81.30 — Adenosine deaminase deficiency, unspecified (with, adenosine-deaminase deficiency), D81.31 — Severe combined immunodeficiency due to adenosine deaminase deficiency (severe combined, due to adenosine deaminase deficiency), D81.810 — Biotinidase deficiency (combined, biotin-dependent carboxylase, biotinidase), D81.818 — Other biotin-dependent carboxylase deficiency (combined, biotin-dependent carboxylase, specified type NEC), D81.819 — Biotin-dependent carboxylase deficiency, unspecified (combined, biotin-dependent carboxylase), D81.89 — Other combined immunodeficiencies (combined, specified type NEC), D81.9 — Combined immunodeficiency, unspecified (combined), 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), +8 more
Contextual Map
Every relationship of D84.822 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.822 with these 3 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
Use Additional Code
- W88 — Exposure to ionizing radiation[Use Additional Code]: “exposure to ionizing radiation (W88)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Code Also
- Y84.2 — Radiological procedure and radiotherapy as the cause of abnormal reaction of the patient, or of later complication, without mention of misadventure at the time of the procedure[Code Also]: “, if applicable, radiological procedure and radiotherapy (Y84.2)”— CMS ICD-10-CM tabular instructional notes · 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
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) · FY2027
- 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) · FY2027
- 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) · FY2027
- 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) · FY2027
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,615 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2027
Index entries
- Immunodeficiency, due to, external causes[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.89 — Other immunodeficiencies[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- and 1 more
Change history (3)
- FY2027 — Excludes2 note 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 FY2027 tabular list, index and tables, effective October 1, 2026 Release, file and checksum · Publisher’s page
- Coding guidelines Official source data
- ICD-10-CM Official Guidelines for Coding and Reporting (FY2027), quoted by section 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 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.822 — Immunodeficiency due to external causes." ICD-10-CM FY2027. https://medcoder.ai/icd10/code/d84.822-immunodeficiency-due-to-external-causes
Change history
Changed in FY2027, the release in force: Excludes2 note added; Excludes1 note removed.
- FY2027 — October 1, 2026Excludes2 note addedhuman immunodeficiency virus [HIV] disease (B20)FY2027 changes
- FY2027 — October 1, 2026Excludes1 note removedhuman immunodeficiency virus [HIV] disease (B20)FY2027 changes
- FY2021 — October 1, 2020Added to the code setImmunodeficiency due to external causesFY2021 changes
Nearest Codes in This Family
Official ICD-10-CM classifications closest to D84.822 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.89 — Other immunodeficiencies
- D84.9 — Immunodeficiency, unspecified