Skip to main content
Inpatient Procedure Code

0DP040Z ICD-10-PCS Code: Removal of Drainage Device from Upper Intestinal Tract, Percutaneous Endoscopic Approach

Remove of Drain Dev from Up Intest Tract, Perc Endo Approach

Check this code on a claim

Axis Breakdown

Every ICD-10-PCS code is exactly seven characters, one per axis. Each character's meaning is defined by its position in the code.

PositionValueMeaning
1
Section0

Medical and Surgical

2
Body SystemD

Gastrointestinal System

3
Root OperationP

Removal

Taking out or off a device from a body part

4
Body Part0

Upper Intestinal Tract

5
Approach4

Percutaneous Endoscopic

6
Device0

Drainage Device

7
QualifierZ

No Qualifier

MS-DRG Grouper Relationships (FY2027)

Potential MS-DRG participation — not a DRG assignment.

The MS-DRG grouper treats this as an operating room procedure. It appears in the surgical logic of 6 MS-DRGs:

From the CMS MS-DRG Definitions Manual, Appendix E. Actual DRG assignment depends on the complete claim.

Related Codes

Same operation — other Body Part

Same table and root operation, differing only in the body part character.

0DP640Z — Removal of Drainage Device from Stomach, Percutaneous Endoscopic Approach, 0DPD40Z — Removal of Drainage Device from Lower Intestinal Tract, Percutaneous Endoscopic Approach, 0DPU40Z — Removal of Drainage Device from Omentum, Percutaneous Endoscopic Approach, 0DPV40Z — Removal of Drainage Device from Mesentery, Percutaneous Endoscopic Approach, 0DPW40Z — Removal of Drainage Device from Peritoneum, Percutaneous Endoscopic Approach

Same operation — other Approach

Same table and root operation, differing only in the approach character.

0DP000Z — Removal of Drainage Device from Upper Intestinal Tract, Open Approach, 0DP030Z — Removal of Drainage Device from Upper Intestinal Tract, Percutaneous Approach, 0DP070Z — Removal of Drainage Device from Upper Intestinal Tract, Via Natural or Artificial Opening, 0DP080Z — Removal of Drainage Device from Upper Intestinal Tract, Via Natural or Artificial Opening Endoscopic, 0DP0X0Z — Removal of Drainage Device from Upper Intestinal Tract, External Approach

Same operation — other Device

Same table and root operation, differing only in the device character.

0DP042Z — Removal of Monitoring Device from Upper Intestinal Tract, Percutaneous Endoscopic Approach, 0DP043Z — Removal of Infusion Device from Upper Intestinal Tract, Percutaneous Endoscopic Approach, 0DP047Z — Removal of Autologous Tissue Substitute from Upper Intestinal Tract, Percutaneous Endoscopic Approach, 0DP04CZ — Removal of Extraluminal Device from Upper Intestinal Tract, Percutaneous Endoscopic Approach, 0DP04DZ — Removal of Intraluminal Device from Upper Intestinal Tract, Percutaneous Endoscopic Approach, 0DP04JZ — Removal of Synthetic Substitute from Upper Intestinal Tract, Percutaneous Endoscopic Approach, 0DP04KZ — Removal of Nonautologous Tissue Substitute from Upper Intestinal Tract, Percutaneous Endoscopic Approach, 0DP04UZ — Removal of Feeding Device from Upper Intestinal Tract, Percutaneous Endoscopic Approach, +1 more

Same procedure category (CCSR), other tables

AHRQ's Clinical Classifications Software Refined groups these ICD-10-PCS procedures with this one under GI system drainage (excluding paracentesis) (Gastrointestinal System Procedures); listed here are the members in other PCS tables. Source: Clinical Classifications Software Refined (CCSR), Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality, November 2025.

0D9U30Z — Drainage of Omentum with Drainage Device, Percutaneous Approach, 0D9U3ZZ — Drainage of Omentum, Percutaneous Approach, 0D9U40Z — Drainage of Omentum with Drainage Device, Percutaneous Endoscopic Approach, 0D9U4ZZ — Drainage of Omentum, Percutaneous Endoscopic Approach, 0D9V00Z — Drainage of Mesentery with Drainage Device, Open Approach, 0D9V0ZZ — Drainage of Mesentery, Open Approach, 0D9V30Z — Drainage of Mesentery with Drainage Device, Percutaneous Approach, 0D9V3ZZ — Drainage of Mesentery, Percutaneous Approach, 0D9V40Z — Drainage of Mesentery with Drainage Device, Percutaneous Endoscopic Approach, 0D9V4ZZ — Drainage of Mesentery, Percutaneous Endoscopic Approach, 0DW000Z — Revision of Drainage Device in Upper Intestinal Tract, Open Approach, 0DW030Z — Revision of Drainage Device in Upper Intestinal Tract, Percutaneous Approach, 0DW040Z — Revision of Drainage Device in Upper Intestinal Tract, Percutaneous Endoscopic Approach, 0DW070Z — Revision of Drainage Device in Upper Intestinal Tract, Via Natural or Artificial Opening, 0DW080Z — Revision of Drainage Device in Upper Intestinal Tract, Via Natural or Artificial Opening Endoscopic, 0DW0X0Z — Revision of Drainage Device in Upper Intestinal Tract, External Approach, 0DW600Z — Revision of Drainage Device in Stomach, Open Approach, 0DW630Z — Revision of Drainage Device in Stomach, Percutaneous Approach, 0DW640Z — Revision of Drainage Device in Stomach, Percutaneous Endoscopic Approach, 0DW670Z — Revision of Drainage Device in Stomach, Via Natural or Artificial Opening, +258 more

Contextual Map

Every relationship of 0DP040Z 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 0DP040Z with these 5 related codes in Claim Check

PCS table

MS-DRG participation

Clinical classification (CCSR)

MDC crossing · diagnoses (7627)

  • MDC 06 — Diseases and Disorders of the Digestive System[MDC crossing]: “Diseases and Disorders of the Digestive 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.”— CMS MS-DRG Definitions Manual · FY2027
  • MDC 21 — Injuries, Poisonings and Toxic Effects of Drugs[MDC crossing]: “Injuries, Poisonings and Toxic Effects of Drugs — 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
  • A00.0 — Cholera due to Vibrio cholerae 01, biovar cholerae[Same-MDC diagnosis]: “Cholera due to Vibrio cholerae 01, biovar cholerae — grouped in MDC 06, the diagnosis side of this code's crossing.”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
  • A00.1 — Cholera due to Vibrio cholerae 01, biovar eltor[Same-MDC diagnosis]: “Cholera due to Vibrio cholerae 01, biovar eltor — grouped in MDC 06, the diagnosis side of this code's crossing.”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
  • A00.9 — Cholera, unspecified[Same-MDC diagnosis]: “Cholera, unspecified — grouped in MDC 06, the diagnosis side of this code's crossing.”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
  • A02.0 — Salmonella enteritis[Same-MDC diagnosis]: “Salmonella enteritis — grouped in MDC 06, the diagnosis side of this code's crossing.”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
  • A03.0 — Shigellosis due to Shigella dysenteriae[Same-MDC diagnosis]: “Shigellosis due to Shigella dysenteriae — grouped in MDC 06, the diagnosis side of this code's crossing.”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
  • and 7622 more

Nearest codes

Change history

No changes recorded for this code. This ledger tracks additions, deletions and description changes from FY2016 onward. Note changes are not tracked.

Read from: CMS ICD-10-PCS code tables, index and definitions — FY2027; 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; AHRQ HCUP Clinical Classifications Software Refined for ICD-10-PCS Procedures (hcup-us.ahrq.gov/toolssoftware/ccsr/PRCCSR_v2026-1.zip) — v2026.1. All data sources · How to read the labels · How MedCoder verifies its implementation

Current data releases:ICD-10-CM FY2027 · ICD-10-PCS FY2027 · HCPCS October 2026 · MS-DRG v44 · Medicare Code Editor v44.0 · NCCI PTP Q4 2026 · MUE Q4 2026 · NCD code lists 2026-01 · LCD export September 28, 2026 · All releases and sources