Skip to main content

J98.51 ICD-10-CM Code: Mediastinitis

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

Coding at a Glance

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 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 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 J98.51 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 J98.51 itself; “inherited from” names the category or block whose note applies here.

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).

Source: inherited from J98

Excludes2 — Not Included Here

Conditions not covered by this code, but which may be reported alongside it when both are present.

Code First

Underlying conditions that must be sequenced before this code.

  • underlying condition, if applicable, such as postoperative mediastinitis (T81.-)

Use Additional Code

Supplementary codes the tabular list directs you to add.

  • Use additional code to identify:
  • exposure to environmental tobacco smoke (Z77.22)
  • exposure to tobacco smoke in the perinatal period (P96.81)
  • history of tobacco dependence (Z87.891)
  • occupational exposure to environmental tobacco smoke (Z57.31)
  • tobacco dependence (F17.-)
  • tobacco use (Z72.0)

Source: inherited from J98

Coder workflow for J98.51

MedCoder structured workflow — derived from this code’s own official record

Before you code J98.51

  1. Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with J98.51. Excludes1 conditions are not reported together with this code unless the record shows they are unrelated (Guidelines I.A.12.a).

    See the official tabular notes

Choose the right path

  1. Does the documentation support a condition named in J98.51’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.

    ReviewP28.4, P28.3

  2. Is the underlying (etiologic) condition the Code First note names documented?
    Yes → Sequence the underlying condition first, then J98.51.
    No → Continue; do not add an underlying condition the record does not document.

    ReviewT81

Consider J98.51. Then work the Use Additional Code 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 underlying (etiologic) condition
Named in the Code First note; sequenced before this code when documented (Guidelines I.A.13).
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 J98.51(2 notes)

    Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with J98.51: the two are not reported together. The one exception is when the record shows the two conditions are unrelated to each other.

    CompareP28.4, P28.3

    See the official tabular notes · Guidelines I.A.12.a

  • Excludes2 — not part of J98.51(3 notes)

    Coding workflow: The conditions named in this note are not included in J98.51. When the record documents both, both may be reported; the note is a boundary, not a prohibition.

    CompareJ85.3, R06.81, G47.3

    See the official tabular notes · Guidelines I.A.12.b

  • Code First — sequencing check(1 note)

    Coding workflow: Check whether the underlying or etiologic condition the note names is documented. When it is, sequence it before J98.51. Do not add an underlying condition the record does not document.

    ReviewT81

    See the official tabular notes · Guidelines I.A.13

  • Use Additional Code — after identifying J98.51(7 notes)

    Coding workflow: Check whether the documentation supports the additional code(s) the note names, and report them with J98.51 when it does. Where the instruction is conditional (“if applicable”, “if known”), it applies only when the record documents the condition.

    ReviewZ77.22, P96.81, Z87.891, Z57.31, F17, Z72.0

    See the official tabular notes · Guidelines I.A.13

Coding decision scenarios

Pattern scenarios for this code’s structure — decision rules, not clinical cases

Documentation: Both the condition J98.51 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).

ReviewP28.4, P28.3

Documentation: The underlying condition the Code First note names is documented alongside this condition.

Coding question: How are the two sequenced?

Path: Review the Code First note.

Reason: The underlying condition is sequenced first and the manifestation follows (Guidelines I.A.13).

ReviewT81

Documentation: A condition the Use Additional Code note names is documented.

Coding question: Is a second code reported with J98.51?

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).

ReviewZ77.22, P96.81, Z87.891, Z57.31, F17, Z72.0

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

Mediastinitis is a billable ICD-10-CM diagnosis code (J98.51).

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.

Decision Points

The directives on this code's own record, as a pre-claim checklist.

  1. Sequencing: 1 Code First instruction — the underlying condition is sequenced before this code when present. See the Code First notes
  2. 7 Use Additional Code instructions — report the named additional code(s) when the documentation supports them. See the Use Additional Code notes
  3. 2 Excludes1 entries — codes named there are generally not reported together with this code (Guidelines I.A.12.a). See the Excludes1 notes
  4. 3 Excludes2 entries — 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

  • MCC 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

MS-DRG Grouper Relationships (FY2026)

Potential MS-DRG participation — not a DRG assignment.

FY2026 MS-DRG: MCC — Major 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 1 clinically related codes on its CMS exclusion list.

Named in the grouper logic of 5 MS-DRGs: DRG 177 (MDC 04), DRG 178 (MDC 04), DRG 179 (MDC 04), 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):RSP015 — Mediastinal 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 category (CCSR)

AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Mediastinal disorders).

J85.3 — Abscess of mediastinum, J98.5 — Diseases of mediastinum, not elsewhere classified, J98.59 — Other diseases of mediastinum, not elsewhere classified

Same Index main term, other category

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

A15.8 — Other respiratory tuberculosis (tuberculous), A52.73 — Symptomatic late syphilis of other respiratory organs (syphilitic)

Contextual Map

Every relationship of J98.51 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 J98.51 with this related code in Claim Check

Hierarchy

Code First

Clinical classification (CCSR)

MS-DRG Grouper

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. 3,998 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2026
  • MDC 15 — Newborns and Other Neonates with Conditions Originating in Perinatal Period[MDC crossing]: “Newborns and Other Neonates with Conditions Originating in Perinatal Period — 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 · FY2026

Index entries

  • Infection, infected, infective (opportunistic), mediastinum[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Mediastinitis (acute) (chronic)[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026

Nearest codes (15)

Change history

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
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. "J98.51 — Mediastinitis." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/j98.51-mediastinitis

Change history

  • FY2017 — October 1, 2016
    Added to the code set
    Mediastinitis
    FY2017 changes

Nearest Codes in This Family

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

View all codes in the J98 family