Skip to main content

K31.4 vs Q40.2

K31.4 (Gastric diverticulum) compared with Q40.2 (Other specified congenital malformations of stomach), from the official CMS tabular data.

Summary

These codes should not be reported together because K31.4’s tabular entry lists Q40.2 under Excludes1.

Official rule
What is different?

The conditions named and chapter.K31.4 is “Gastric diverticulum”; Q40.2 is “Other specified congenital malformations of stomach”. K31.4 sits in K00-K95 — Diseases of the Digestive System (K00-K95); Q40.2 in Q00-QA1 — Congenital Malformations, Deformations and Chromosomal Abnormalities (Q00-QA1).

Registry fact

Can these codes be reported together?

No.K31.4’s entry carries an Excludes1 note covering Q40.2: “congenital diverticulum of stomach (Q40.2)”. Both may be reported only when the documentation shows the two conditions are unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).

Official ruleGuide: Excludes1 vs Excludes2

Is there an Excludes1 relationship?

Yes.K31.4’s tabular entry: “congenital diverticulum of stomach (Q40.2)”. The note covers Q40.2.

Official ruleGuide: Excludes1 vs Excludes2

Is there an Excludes2 relationship?

None.Neither entry carries an Excludes2 note that names the other code. K31.4 carries 3 Excludes2 notes covering other codes; the side-by-side table quotes them.

Official rule

Is one more specific?

Not comparable.The codes sit in different categories; specificity is only comparable within one category.

Is one a parent or header code?

No.Both are billable codes, and neither contains the other.

Registry fact

Are there sequencing instructions?

None.Neither entry carries a Code First or Use Additional Code note that names the other.

Official rule

Are there other coding relationships?

None found.No laterality, encounter-phase, Table of Neoplasms, Table of Drugs and Chemicals, or history-versus-active-disease relationship links these codes.

MedCoder-derived

Official rule: a tabular instructional note or a section of the ICD-10-CM Official Guidelines, quoted as published. Registry fact: the codes’ own published attributes (titles, billable status, position in the hierarchy, code set). MedCoder-derived: a reading MedCoder computes from those facts; it is not itself a rule. How to read the labels

Can these codes be reported together?

Excludes1 — generally not reported together

Excludes1 conflict

K31.4
Gastric diverticulum
↔
Q40.2
Other specified congenital malformations of stomach

What we found

No — do not report together.K31.4 carries an Excludes1 note covering Q40.2: “congenital diverticulum of stomach (Q40.2)”

Sole exception: when the two conditions are documented as unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).

What to review

Report one of the two. Both may be reported only when the documentation shows the two conditions are unrelated to each other.

Guide: Excludes1 vs Excludes2Check these on a claim

Why it matters

An Excludes1 note means the two conditions are not ordinarily reported together for the same encounter, because the classification treats them as mutually exclusive forms of the same condition. The documented exception is when the two conditions are unrelated to each other.

Source / rule

CMS ICD-10-CM tabular instructional notes; ICD-10-CM Official Guidelines, Section I.A.12.a

Official guidance behind these answers

  • Section I.A.12.a — Excludes1 · applies to: Excludes1

    A type 1 Excludes note is a pure excludes note. It means “NOT CODED HERE!” An Excludes1 note indicates that the code excluded should never be used at the same time as the code above the Excludes1 note. An Excludes1 is used when two conditions cannot occur together, such as a congenital form versus an acquired form of the same condition. An exception to the Excludes1 definition is the circumstance when the two conditions are unrelated to each other. If it is not clear whether the two conditions involving an Excludes1 note are related or not, query the provider. For example, code F45.8, Other somatoform disorders, has an Excludes1 note for "sleep related teeth grinding (G47.63)," because "teeth grinding" is an inclusion term under F45.8. Only one of these two codes should be assigned for teeth grinding. However psychogenic dysmenorrhea is also an inclusion term under F45.8, and a patient could have both this condition and sleep related teeth grinding. In this case, the two conditions are clearly unrelated to each other, and so it would be appropriate to report F45.8 and G47.63 together.

    ICD-10-CM Official Guidelines FY2026

Quoted from the ICD-10-CM Official Guidelines for Coding and Reporting in effect for the release shown. The tabular notes above are the code-level instruction; these sections are the convention that says how such a note is applied. Source document (CMS PDF) · Release and checksum

Side by side

K31.4Gastric diverticulumQ40.2Other specified congenital malformations of stomach
Billing statusBillableBillable
ClassificationK00-K95 — Diseases of the Digestive System (K00-K95)Q00-QA1 — Congenital Malformations, Deformations and Chromosomal Abnormalities (Q00-QA1)
DefinitionGastric diverticulum is a billable ICD-10-CM diagnosis code (K31.4).Other specified congenital malformations of stomach is a billable ICD-10-CM diagnosis code (Q40.2).
Includes
functional disorders of stomach
Congenital displacement of stomach
Congenital diverticulum of stomach
Congenital hourglass stomach
Congenital duplication of stomach
Excludes1
congenital diverticulum of stomach (Q40.2)
—
Excludes2
diabetic gastroparesis (E08.43, E09.43, E10.43, E11.43, E13.43)
diverticulum of duodenum (K57.00-K57.13)
hiatus hernia (K44.-)
—

Notes are the code’s own tabular entry, quoted as published. A note that names the other code is the one the verdict above rests on.

Derived from the official CMS ICD-10-CM tabular data (FY2027). A coding-rule comparison, not billing advice: payer-specific edits and medical-necessity policy are outside its scope. All data sources