2027 ICD-10-CM Diagnosis Code Q40.2Other specified congenital malformations of stomach

ICD-10-CM Codes›Q00-Q99›Q38-Q45›Q40

ICD-10-CM Q40.2
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

Q40.2 is a billable ICD-10-CM diagnosis code for other specified congenital malformations of stomach. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 393 through 395. The code is exempt from POA reporting. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Digestive congenital anomalies.

Code Identity

ICD-10-CM Code
Q40.2
Billable Status
Yes — Valid for Submission
Code Describes
Other specified congenital malformations of stomach
Short Description
Other specified congenital malformations of stomach
Same as the full description in the CMS dataset.
Parent Code
Other congenital malformations of upper alimentary tract

Code Classification

ChapterQ00-Q99Congenital malformations, deformations and chromosomal abnormalities
SectionQ38-Q45Other congenital malformations of the digestive system
CategoryQ40Other congenital malformations of upper alimentary tract
This CodeQ40.2Other specified congenital malformations of stomach

Present on Admission (POA)Billing

Q40.2 is exempt from POA reporting on inpatient claims to general acute care hospitals. Review the other POA exempt codes in Other congenital malformations of the digestive system (Q38-Q45).

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Agenesis of stomach
  • Autosomal recessive epidermolysis bullosa simplex
  • Complete congenital antral web
  • Congenital absence of gastric muscle
  • Congenital absence of stomach
  • Congenital brachyesophagus, intrathoracic stomach, vertebral anomalies syndrome
  • Congenital diaphragmatic hernia
  • Congenital dilatation of stomach
  • Congenital displacement of stomach
  • Congenital diverticulum of stomach
  • Congenital downward displacement of stomach
  • Congenital duplication of stomach
  • Congenital gastric perforation
  • Congenital hourglass stomach
  • Congenital megalogastria
  • Congenital mesenteroaxial volvulus of stomach
  • Congenital microgastria
  • Congenital microgastria with limb reduction defect syndrome
  • Congenital organoaxial volvulus of stomach
  • Congenital partial absence of gastric muscle
  • Congenital pyloric antral membrane
  • Congenital pyloric membrane
  • Congenital short esophagus
  • Congenital stenosis of stomach
  • Congenital transposition of stomach
  • Congenital volvulus of stomach
  • Dilatation of stomach
  • Ectopic gastric mucosa
  • Ectopic gastric mucosa - multiple sites
  • Ectopic gastric tissue
  • Epidermolysis bullosa simplex with pyloric atresia
  • Gastric atresia
  • Gastric diverticulum
  • Gastric volvulus
  • Incomplete congenital pyloric antral membrane
  • Mesenteroaxial gastric volvulus
  • Organoaxial gastric volvulus
  • Pyloric antral atresia
  • Pyloric atresia
  • Situs inversus abdominalis
  • Situs inversus viscerum
  • Stomach in central position
  • Stomach in right sided position

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to Q40.2: its own notes plus those printed at Chapter 17. A note printed at a category, block or chapter applies to every code under it.

Applicable To

Conditions this code is used for: synonyms of the title or, for "other specified" codes, the conditions assigned to it. The list is not exhaustive.

  • Congenital displacement of stomach
  • Congenital diverticulum of stomach
  • Congenital hourglass stomach
  • Congenital duplication of stomach
  • Megalogastria
  • Microgastria

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

From Chapter 17 (Q00-QA1) Congenital malformations, deformations and chromosomal abnormalities applies to 900 codes
  • inborn errors of metabolism (E70-E88)

Notes

General instructions on how these codes are used.

From Chapter 17 (Q00-QA1) Congenital malformations, deformations and chromosomal abnormalities applies to 900 codes
  • Codes from this chapter are not for use on maternal records

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name Q40.2, its category, or a range that includes it.

Excludes1 2

These codes carry an Excludes1 note naming Q40.2: they are not reported together with it, unless the two conditions are unrelated.

  • K31.2 Hourglass stricture and stenosis of stomach
    congenital hourglass stomach (Q40.2)
  • K31.4 Gastric diverticulum
    congenital diverticulum of stomach (Q40.2)

Index to Diseases and InjuriesGuidance

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR MAL002
Digestive congenital anomalies
Default principal diagnosis: inpatient Yes · outpatient Yes

Patient EducationClinical

Birth Defects

A birth defect is a problem that happens while a baby is developing in the mother's body. Most birth defects happen during the first 3 months of pregnancy. One out of every 33 babies in the United States is born with a birth defect.

The full article covers:

  • What are birth defects?
  • What causes birth defects?
  • Who is at risk of having a baby with birth defects?
  • How are birth defects diagnosed?
  • What are the treatments for birth defects?
  • Can birth defects be prevented?

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Convert Q40.2 to ICD-9-CMHistory

The closest ICD-9-CM equivalents under the General Equivalence Mappings.

ICD-9-CM
750.7 Gastric anomaly NEC
Approximate The match is approximate rather than exact.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About Q40.2Overview

What is the ICD-10 code for other specified congenital malformations of stomach?

The ICD-10-CM code for other specified congenital malformations of stomach is Q40.2 (sometimes written as Q402). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is Q40.2 (Other congenital malformations of upper alimentary tract) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report other specified congenital malformations of stomach on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What MS-DRG does Q40.2 group to?

When other specified congenital malformations of stomach is the principal diagnosis on an inpatient stay, it groups to MS-DRG 394, 395, 393, with relative weights from 0.6379 to 1.5877 depending on complications. Higher weights mean higher Medicare reimbursement.

Is Q40.2 exempt from POA reporting?

Yes. CMS lists this code among those exempt from present on admission reporting, so hospitals do not assign a POA indicator for other specified congenital malformations of stomach on inpatient claims. The code appears in the Other congenital malformations of the digestive system (Q38-Q45) range of the CMS exempt list.

What is the ICD-9 equivalent of Q40.2?

Under the General Equivalence Mappings, other specified congenital malformations of stomach converts to ICD-9-CM 750.7 (gastric anomaly NEC). The mapping is approximate, so confirm the match fits the documentation.