> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ICD-10-PCS

> ICD-10 Procedure Coding System. Used exclusively for inpatient hospital procedures in the United States

The US inpatient procedure coding system, developed by CMS. Required for every procedure on inpatient hospital claims. Over 78,000 seven-character alphanumeric codes, where each character position has a distinct classification axis covering surgical, imaging, and therapeutic procedures. Use alongside [ICD-10-CM](/coding/icd-10-cm) for diagnosis coding. For outpatient procedures, use [CPT](/coding/cpt) instead.

## Quick start

System identifier: `icd10pcs`

<CodeGroup>
  ```bash curl theme={null}
  curl -X POST "https://api.$environment.corti.app/v2/tools/coding/" \
    -H "Authorization: Bearer <token>" \
    -H "Tenant-Name: <tenant-name>" \
    -H "Content-Type: application/json" \
    -d '{
      "system": ["icd10pcs"],
      "context": [{"type": "text", "text": "Patient underwent laparoscopic appendectomy for acute appendicitis."}]
    }'
  ```

  ```ts JavaScript theme={null}
  const response = await client.codes.predict({
    system: ["icd10pcs"],
    context: [{ type: "text", text: "Patient underwent laparoscopic appendectomy for acute appendicitis." }],
  });
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      "https://api.$environment.corti.app/v2/tools/coding/",
      headers={
          "Authorization": "Bearer <token>",
          "Tenant-Name": "<tenant-name>",
      },
      json={
          "system": ["icd10pcs"],
          "context": [{"type": "text", "text": "Patient underwent laparoscopic appendectomy for acute appendicitis."}],
      },
  )
  print(response.json())
  ```
</CodeGroup>

[API reference →](/api-reference/codes/predict-codes)

<Warning>
  ICD-10-PCS is for **inpatient procedures only**. For outpatient procedures and physician services, use [CPT](/coding/cpt).
</Warning>
