B38.2 ICD-10-CM Code: Pulmonary coccidioidomycosis, unspecified
Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.
Coding at a Glance
- Tabular directives
- 2 Excludes2 · 2 code-also instructions
- Risk adjustment
- CMS-HCC V22 category 115
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 177 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH MCC (MDC 04)
- MS-DRG 178 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH CC (MDC 04)
- MS-DRG 179 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITHOUT CC/MCC (MDC 04)
- MS-DRG 974 — HIV WITH MAJOR RELATED CONDITION WITH MCC (MDC 25)
- MS-DRG 975 — HIV WITH MAJOR RELATED CONDITION WITH CC (MDC 25)
- MS-DRG 976 — HIV WITH MAJOR RELATED CONDITION WITHOUT CC/MCC (MDC 25)
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 B38.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 B38.2 itself; “inherited from” names the category or block whose note applies here.
Excludes2 — Not Included Here
Conditions not covered by this code, but which may be reported alongside it when both are present.
- hypersensitivity pneumonitis due to organic dust (J67.-) Compare B38.2 vs J67 →
- mycosis fungoides (C84.0-) Compare B38.2 vs C84.0 →
Source: inherited from B35-B49
Code Also
Additional codes that may be required to fully describe the encounter.
- Code also, if applicable:
- pulmonary mycetoma (J4B)
Coder workflow for B38.2
MedCoder structured workflow — derived from this code’s own official record
Before you code B38.2
- Unspecified does not mean incorrect. When the record gives no greater specificity, B38.2 may be the appropriate code. Check the record for detail that supports a more specific sibling — in this subcategory the siblings differ by acute versus chronic. 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).
ReviewB38.0, B38.1, B38.3, B38.4, B38.7, B38.8
See the relationships section · Guide: Other vs unspecified (NEC vs NOS) →
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 — B38.2 is appropriate when the documentation goes no further.
Consider B38.2. Then 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).
- Acuity
- Acute or chronic as documented; when both are documented and separate codes exist, both are reported with the acute code first (Guidelines I.B.8).
- 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
Excludes2 — not part of B38.2(2 notes)
Coding workflow: The conditions named in this note are not included in B38.2. When the record documents both, both may be reported; the note is a boundary, not a prohibition.
See the official tabular notes · Guidelines I.A.12.b
Code Also — related condition(2 notes)
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.
ReviewJ4B
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: 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).
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 (2)
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.
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 B38.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 2 Excludes1 notes: J17 — Pneumonia in diseases classified elsewhere, J99 — Respiratory disorders in diseases classified elsewhere.
These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.
Referenced by 1 Code First instruction: M01 — Direct infections of joint in infectious and parasitic diseases classified elsewhere (via B38.-).
Each of these codes carries a Code First note naming this condition — when that code is reported, THIS code is sequenced first, ahead of it.
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 16 clinically related codes on its CMS exclusion list. Does not count toward severity when the stay groups to DRGs 974-976 (HIV with Major Related Condition).
Named in the grouper logic of 6 MS-DRGs: DRG 177 (MDC 04), DRG 178 (MDC 04), DRG 179 (MDC 04), DRG 974 (MDC 25), DRG 975 (MDC 25), DRG 976 (MDC 25).
From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.
Clinical classification (AHRQ CCSR):RSP002 — Pneumonia (except that caused by tuberculosis) (default); INF004 — Fungal infections.
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.
B38.0 — Acute pulmonary coccidioidomycosis, B38.1 — Chronic pulmonary coccidioidomycosis, B38.3 — Cutaneous coccidioidomycosis, B38.4 — Coccidioidomycosis meningitis, B38.7 — Disseminated coccidioidomycosis, B38.81 — Prostatic coccidioidomycosis, B38.89 — Other forms of coccidioidomycosis, B38.9 — Coccidioidomycosis, unspecified, B39.0 — Acute pulmonary histoplasmosis capsulati, B39.1 — Chronic pulmonary histoplasmosis capsulati, B39.2 — Pulmonary histoplasmosis capsulati, unspecified, B39.3 — Disseminated histoplasmosis capsulati, B39.4 — Histoplasmosis capsulati, unspecified, B39.5 — Histoplasmosis duboisii, B39.9 — Histoplasmosis, unspecified
Same clinical category (CCSR)
AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical categories (Pneumonia (except that caused by tuberculosis), Fungal infections).
B37.6 — Candidal endocarditis, B37.7 — Candidal sepsis, B37.81 — Candidal esophagitis, B37.82 — Candidal enteritis, B37.83 — Candidal cheilitis, B37.84 — Candidal otitis externa, B37.89 — Other sites of candidiasis, B37.9 — Candidiasis, unspecified, B38.0 — Acute pulmonary coccidioidomycosis, B38.1 — Chronic pulmonary coccidioidomycosis, B38.3 — Cutaneous coccidioidomycosis, B38.4 — Coccidioidomycosis meningitis, B38.7 — Disseminated coccidioidomycosis, B38.81 — Prostatic coccidioidomycosis, B38.89 — Other forms of coccidioidomycosis, B38.9 — Coccidioidomycosis, unspecified, B39.0 — Acute pulmonary histoplasmosis capsulati, B39.1 — Chronic pulmonary histoplasmosis capsulati, B39.2 — Pulmonary histoplasmosis capsulati, unspecified, B39.3 — Disseminated histoplasmosis capsulati, +147 more
Same Index main term, other category
The ICD-10-CM Index to Diseases and Injuries files this code under the main term “Pneumonia”; these codes share that main term but sit in a different category of the Tabular List.
A50.04 — Early congenital syphilitic pneumonia (alba), A54.84 — Gonococcal pneumonia (gonococcal), A69.8 — Other specified spirochetal infections (spirochetal NEC), A70 — Chlamydia psittaci infections (psittacosis), A78 — Q fever (in, Q fever), B01.2 — Varicella pneumonia (varicella), B05.2 — Measles complicated by pneumonia (giant cell), B06.81 — Rubella pneumonia (in, rubella), B25.0 — Cytomegaloviral pneumonitis (cytomegaloviral), B37.1 — Pulmonary candidiasis (Candida), B39.0 — Acute pulmonary histoplasmosis capsulati (in, histoplasmosis, acute), B39.1 — Chronic pulmonary histoplasmosis capsulati (in, histoplasmosis, chronic), B39.2 — Pulmonary histoplasmosis capsulati, unspecified (in, histoplasmosis), B44.9 — Aspergillosis, unspecified (in, aspergillosis), B58.3 — Pulmonary toxoplasmosis (in, toxoplasmosis), B59 — Pneumocystosis (plasma cell), B65.9 — Schistosomiasis, unspecified (in, schistosomiasis), B77.81 — Ascariasis pneumonia (Ascaris), B99 — Other and unspecified infectious diseases (postinfectional NEC), I00 — Rheumatic fever without heart involvement (rheumatic), +80 more
Lab tests where this diagnosis supports Medicare coverage (NCD)
Medicare's National Coverage Determination (NCD) program lists this diagnosis as medical justification for these lab tests.
Contextual Map
Every relationship of B38.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 B38.2 with these 4 related codes in Claim Check
Hierarchy
- A00-B99 — Chapter 1: Certain Infectious and Parasitic Diseases (A00-B99) (A00-B99)[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- B35-B49 — Mycoses[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
Code Also
- J4B — Pulmonary mycetoma[Code Also]: “pulmonary mycetoma (J4B)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Excludes1 notes
- J17 — Pneumonia in diseases classified elsewhere[Excludes1]: “pneumonia in coccidioidomycosis (B38.0-B38.2)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- J99 — Respiratory disorders in diseases classified elsewhere[Excludes1]: “coccidioidomycosis (B38.0-B38.2)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Code First instructions
- M01 — Direct infections of joint in infectious and parasitic diseases classified elsewhere[Code First](via B38.-): “mycoses (B35-B49)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Clinical classification (CCSR)
- RSP002 — Pneumonia (except that caused by tuberculosis)[CCSR]— AHRQ CCSR for ICD-10-CM Diagnoses (HCUP)
- INF004 — Fungal infections[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). Not counted when the stay groups to DRGs 974-976 (HIV with Major Related Condition).”— CMS MS-DRG Definitions Manual (Appendix C) · FY2027
- DRG 177 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH MCC[MS-DRG]: “RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH MCC (MDC 04)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
- DRG 178 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH CC[MS-DRG]: “RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH CC (MDC 04)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
- DRG 179 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITHOUT CC/MCC[MS-DRG]: “RESPIRATORY INFECTIONS AND INFLAMMATIONS WITHOUT CC/MCC (MDC 04)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
- DRG 974 — HIV WITH MAJOR RELATED CONDITION WITH MCC[MS-DRG]: “HIV WITH MAJOR RELATED CONDITION WITH MCC (MDC 25)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
- DRG 975 — HIV WITH MAJOR RELATED CONDITION WITH CC[MS-DRG]: “HIV WITH MAJOR RELATED CONDITION WITH CC (MDC 25)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
- DRG 976 — HIV WITH MAJOR RELATED CONDITION WITHOUT CC/MCC[MS-DRG]: “HIV WITH MAJOR RELATED CONDITION WITHOUT CC/MCC (MDC 25)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
MDC crossing
- MDC 04 — Diseases and Disorders of the Respiratory System[MDC crossing]: “Diseases and Disorders of the Respiratory System — 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. 4,000 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2027
- MDC 25 — Human Immunodeficiency Virus Infections[MDC crossing]: “Human Immunodeficiency Virus Infections — 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.”— CMS MS-DRG Definitions Manual · FY2027
Index entries
- Coccidioidomycosis, pulmonary[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Pneumonia (acute) (double) (migratory) (purulent) (septic) (unresolved), in (due to), coccidioidomycosis[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
Nearest codes (10)
- B38 — Coccidioidomycosis[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- B38.0 — Acute pulmonary coccidioidomycosis[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- B38.1 — Chronic pulmonary coccidioidomycosis[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- B38.3 — Cutaneous coccidioidomycosis[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- B38.4 — Coccidioidomycosis meningitis[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- B38.7 — Disseminated coccidioidomycosis[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- B38.8 — Other forms of coccidioidomycosis[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- B38.81 — Prostatic coccidioidomycosis[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- and 2 more
Change history (3)
- FY2027 — Code Also 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
- 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. "B38.2 — Pulmonary coccidioidomycosis, unspecified." ICD-10-CM FY2027. https://medcoder.ai/icd10/code/b38.2-pulmonary-coccidioidomycosis-unspecified
Change history
Changed in FY2027, the release in force: Code Also note added.
- FY2027 — October 1, 2026Code Also note addedpulmonary mycetoma (J4B)FY2027 changes
- FY2027 — October 1, 2026Code Also note added, if applicable:FY2027 changes
- FY2016 — October 1, 2015In the code set at ICD-10-CM adoptionPulmonary coccidioidomycosis, unspecified
Nearest Codes in This Family
Official ICD-10-CM classifications closest to B38.2 in its code family, with their registry titles.
- B38 — Coccidioidomycosis
- B38.0 — Acute pulmonary coccidioidomycosis
- B38.1 — Chronic pulmonary coccidioidomycosis
- B38.3 — Cutaneous coccidioidomycosis
- B38.4 — Coccidioidomycosis meningitis
- B38.7 — Disseminated coccidioidomycosis
- B38.8 — Other forms of coccidioidomycosis
- B38.81 — Prostatic coccidioidomycosis
- B38.89 — Other forms of coccidioidomycosis
- B38.9 — Coccidioidomycosis, unspecified