# Claim edit: ICD-10-PCS procedure codes on outpatient institutional claims

> Stedi now rejects 837I institutional claims that include an ICD-10-PCS procedure code but whose facility type code doesn't indicate an inpatient claim.

Published Nov 16, 2026

Product: Claim edits

Stedi now rejects [837I institutional claims](https://www.stedi.com/docs/healthcare/submit-institutional-claims) that include an ICD-10-PCS procedure code but aren't inpatient claims.

## ICD-10-PCS codes

In institutional claims, procedure codes describe the procedures performed on the patient during an inpatient stay. HIPAA requires that inpatient hospital claims use valid [ICD-10-PCS codes](https://www.cms.gov/medicare/coding-billing/icd-10-codes) as procedure codes.

Each ICD-10-PCS code has seven characters. Together, they describe the procedure: the action performed, the body part, the approach, and any device left in the patient. For example, a code can describe removing the entire gallbladder through a laparoscopic approach.

Payers use ICD-10-PCS codes, along with other claim information, to assign a Diagnosis Related Group (DRG). The DRG determines payment for the inpatient stay. ICD-10-PCS codes only apply to inpatient claims.

Each procedure code is paired with a qualifier identifying its code set and position. ICD-10-PCS codes use `BBR` (principal procedure) or `BBQ` (other procedure).

**Principal procedure**

| **Claim type**     | **JSON API field**                                                                                                                                                                               | **X12 element**                                                                           |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- |
| 837I institutional | [`claimInformation.principalProcedureInformation`](https://www.stedi.com/docs/healthcare/api-reference/post-healthcare-institutional-claims#body.claimInformation.principalProcedureInformation) | `HI01` (Health Care Code Information, qualifier `BBR`) of Loop `2300` (Claim Information) |

**Other procedures**

| **Claim type**     | **JSON API field**                                                                                                                                                                               | **X12 element**                                                                           |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- |
| 837I institutional | [`claimInformation.otherProcedureInformationList`](https://www.stedi.com/docs/healthcare/api-reference/post-healthcare-institutional-claims#body.claimInformation.otherProcedureInformationList) | `HI01` (Health Care Code Information, qualifier `BBQ`) of Loop `2300` (Claim Information) |

## Facility type codes

In an institutional claim, the facility type code tells the payer what kind of facility, such as a hospital or a skilled nursing facility, delivered the care.

**Facility type code**

| **Claim type**     | **JSON API field**                                                                                                                                                         | **X12 element**                                                    |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| 837I institutional | [`claimInformation.placeOfServiceCode`](https://www.stedi.com/docs/healthcare/api-reference/post-healthcare-institutional-claims#body.claimInformation.placeOfServiceCode) | `CLM05-01` (Facility Type Code) of Loop `2300` (Claim Information) |

Every valid facility type code consists of two digits. The first digit represents the type of facility. The second digit represents the bill classification. For example, `13` indicates a hospital (first digit of `1`) outpatient claim (second digit of `3`).

Only some facility type codes, such as `11` (hospital inpatient), indicate an inpatient claim.

## How the edit works

If a claim includes an ICD-10-PCS procedure code but its facility type code doesn't indicate an inpatient claim, the payer may reject the claim.

This [edit](https://www.stedi.com/docs/healthcare/claim-edits-and-repairs#edits) catches the issue before the claim reaches the payer. It prevents payer rejections, which take longer to resolve and delay payment for the provider.

## Rejection errors

How you get the error depends on how you submit the claim.

**Claim Submission API**

If you submit a claim using Stedi's [Claim Submission API endpoints](https://www.stedi.com/docs/healthcare/intro-to-claim-submission#api-claim-submission) and the claim fails the edit, you'll get back an error response in real time. The response includes details in the `errors` array.

```json
{
  "errors": [
    {
      "code": "33",
      "description": "Invalid Other Procedure for outpatient claim. Other procedure codes (ICD-10-PCS) are only to be used on inpatient claims. The submitted code(s): 02139Y3. Correct and resubmit.",
      "followupAction": "Please Correct and Resubmit"
    }
  ]
}
```

**SFTP**

If you submit a claim using [SFTP](https://www.stedi.com/docs/healthcare/submit-claims-sftp-connection) and the claim fails the edit, Stedi will reject the claim with a [277CA claim acknowledgment](https://www.stedi.com/docs/healthcare/claim-responses-overview#277ca-claim-acknowledgment). The acknowledgment will include a related [claim status category code](https://x12.org/codes/claim-status-category-codes), [claim status code](https://x12.org/codes/claim-status-codes), and error message.

```text
STC*A7>465*[DATE]*U*[AMOUNT]********Invalid Other Procedure for outpatient claim. Other procedure codes (ICD-10-PCS) are only to be used on inpatient claims. The submitted code(s): 02139Y3. Correct and resubmit.~
```
