What is the ICD-10 (International Classification of Diseases, 10th Revision) code for a chest X-ray in a patient with a history of granulomatous disease?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: January 14, 2026View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

ICD-10 Coding for Chest X-Ray in Granulomatous Disease

For a patient with a history of granulomatous disease requiring a chest X-ray, the appropriate ICD-10 code depends on the specific clinical indication: use the code for the underlying granulomatous condition (e.g., D86.0-D86.9 for sarcoidosis, A15.0-A15.9 for tuberculosis) as the primary diagnosis, not a code for the imaging procedure itself.

Understanding ICD-10 Structure for This Clinical Scenario

ICD-10 codes are organized hierarchically with 3-digit category codes expanding to 6-digit subcategory codes, requiring precise identification of the underlying condition rather than the diagnostic procedure 1, 2.

Primary Diagnostic Categories for Granulomatous Disease

The specific ICD-10 code selection requires identifying which granulomatous condition necessitates chest imaging:

Infectious Granulomatous Diseases:

  • Tuberculosis (A15.0-A15.9): Use when chest X-ray is ordered to evaluate known or suspected TB, which characteristically shows necrotizing granulomas with cavitation 3, 4
  • Histoplasmosis (B39.0-B39.9): Apply when imaging is for endemic fungal infection evaluation, particularly in patients from Ohio/Mississippi River valleys 4, 5
  • Brucellosis (A23.0-A23.9): Select when chest imaging evaluates granulomatous disease in patients with livestock exposure or unpasteurized dairy consumption 4, 5

Non-Infectious Granulomatous Diseases:

  • Sarcoidosis (D86.0-D86.9): Most appropriate when chest X-ray evaluates bilateral hilar adenopathy or perilymphatic nodules characteristic of sarcoidosis 3, 4
    • D86.0 for sarcoidosis of lung specifically
    • D86.2 for sarcoidosis of lung with sarcoidosis of lymph nodes
    • D86.9 for sarcoidosis, unspecified
  • Hypersensitivity pneumonitis (J67.0-J67.9): Use when imaging assesses poorly formed granulomas with lymphocytic alveolitis 3, 4
  • Granulomatosis with polyangiitis (M31.30-M31.31): Apply when chest X-ray evaluates necrotizing granulomatous inflammation with vasculitis 3, 4
  • Chronic granulomatous disease (D71): Select for primary immunodeficiency with recurrent infections requiring chest imaging surveillance 6, 7

Critical Coding Principles

Never code the imaging procedure itself as the primary diagnosis - ICD-10 codes represent diagnoses and reasons for encounter, not the procedures performed 1.

The indication drives code selection: The chest X-ray is ordered because of the granulomatous disease history, so that underlying condition is the appropriate code 1, 2.

Imaging Indications That Refine Code Selection

When chest imaging is specifically ordered to:

  • Evaluate bilateral hilar adenopathy: Use D86.0 or D86.2 for sarcoidosis 8, 3
  • Assess for cavitation or necrotizing lesions: Consider A15.x codes for tuberculosis or B39.x for histoplasmosis 3, 5
  • Monitor known granulomatous disease: Use the established diagnosis code (e.g., D86.9 for known sarcoidosis under surveillance) 8
  • Rule out infection in immunodeficiency: Use D71 for chronic granulomatous disease with secondary infection codes if identified 6, 7

Common Coding Pitfalls

Do not use "abnormal chest X-ray" codes (R91.x) as primary diagnosis when granulomatous disease history is known - these are only appropriate for incidental findings without established diagnosis 1.

Avoid using screening codes (Z13.x) when there is documented granulomatous disease requiring active monitoring 1.

Special stains and cultures must exclude infection before coding non-infectious granulomatous diseases - this distinction has profound treatment implications and should guide whether infectious (A/B codes) or non-infectious (D/M codes) are selected 3, 4.

References

Guideline

Differential Diagnosis of Granulomatous Lung Disease

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Granulomatous Diseases Diagnosis and Characteristics

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Guideline

Distinguishing Lymphoma, Disseminated TB, Sarcoidosis, Histoplasmosis, and Brucellosis

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Chronic granulomatous disease.

British medical bulletin, 2016

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.