Skip to content
Dx

ICD-10-PCS 2027 procedure code

0D9P40ZDrainage of Rectum with Drainage Device, Percutaneous Endoscopic Approach

✓ Valid for 2027O.R. procedure

Short description: Drainage of Rectum with Drainage Device, Perc Endo Approach

Code unchanged since ICD-10-PCS took effect on October 1, 2015. Source: official FY2027 ICD-10-PCS release from CMS. Page updated September 29, 2026. About our data

About 0D9P40Z

0D9P40Z is the ICD-10-PCS code for a drainage procedure on the rectum using a percutaneous endoscopic approach with drainage device. In ICD-10-PCS, drainage means taking or letting out fluids and/or gases from a body part.

In plain terms, this corresponds to proctostomy, the ICD-9-CM procedure title it maps to (48.1).

For a different body part, codes include 0D9140Z (esophagus, upper), 0D9240Z (esophagus, middle), 0D9340Z (esophagus, lower), 0D9440Z (esophagogastric junction), 0D9540Z (esophagus), 0D9640Z (stomach) and 20 more.

The same procedure with a different approach is coded 0D9P00Z (open), 0D9P30Z (percutaneous), 0D9P70Z (via natural or artificial opening) and 0D9P80Z (via natural or artificial opening endoscopic).

With a different device, use 0D9P4ZZ (no device).

It is an operating-room procedure in the MS-DRG logic for DRG 329 (Major Small and Large Bowel Procedures with MCC), DRG 330 (Major Small and Large Bowel Procedures with CC), DRG 331 (Major Small and Large Bowel Procedures without CC/MCC), DRG 907 (Other O.R. Procedures for Injuries with MCC), DRG 908 (Other O.R. Procedures for Injuries with CC) and DRG 909 (Other O.R. Procedures for Injuries without CC/MCC), under the surgical categories “Major Small and Large Bowel Procedures”, “Other O.R. Procedures for Injuries” and “Other O.R. Procedures for Multiple Significant Trauma”.

It has been valid since ICD-10-PCS took effect on October 1, 2015.

What each character means

1. Section
0Medical and Surgical
2. Body System
DGastrointestinal System
3. Operation
9Drainage

Taking or letting out fluids and/or gases from a body part

The qualifier DIAGNOSTIC is used to identify drainage procedures that are biopsies

Includes: Thoracentesis, incision and drainage

4. Body Part
PRectum

Includes: Anorectal junction

5. Approach
4Percutaneous Endoscopic

Entry, by puncture or minor incision, of instrumentation through the skin or mucous membrane and any other body layers necessary to reach and visualize the site of the procedure

6. Device
0Drainage Device

Includes: Cystostomy tube; Foley catheter; Percutaneous nephrostomy catheter; Thoracostomy tube

7. Qualifier
ZNo Qualifier

Other versions of this procedure

MS-DRG v44.0 grouping

All DRGs →

Surgical MS-DRGs this procedure can group to, depending on the principal diagnosis's MDC.

ICD-9-CM equivalent

Converter →
  • 48.1Proctostomyapproximate

From the CMS 2018 General Equivalence Mappings (GEMs), the final GEMs release.

Code history

  1. 2016
  2. 2017
  3. 2018
  4. 2019
  5. 2020
  6. 2021
  7. 2022
  8. 2023
  9. 2024
  10. 2025
  11. 2026
  12. 2027
  • FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
  • No changes since FY2016.

Common questions about 0D9P40Z

Is 0D9P40Z a valid ICD-10-PCS code for 2027?

Yes. 0D9P40Z is valid for inpatient procedures from October 1, 2026 through September 30, 2027.

Is 0D9P40Z an O.R. procedure?

Yes. 0D9P40Z is an O.R. procedure in MS-DRG v44.0.

What DRG does 0D9P40Z group to?

Depending on the principal diagnosis, 0D9P40Z can group to MS-DRG 329, MS-DRG 330, MS-DRG 331, MS-DRG 907, MS-DRG 908 and MS-DRG 909.

What is the ICD-9 procedure code for 0D9P40Z?

The CMS GEMs map 0D9P40Z to ICD-9-CM 48.1 (Proctostomy).