> ## 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.

# OPS

> Operationen- und Prozedurenschlüssel. The mandatory procedure classification for inpatient billing in Germany

The German procedure classification, maintained by the BfArM. Required for all inpatient and day-case procedures alongside [ICD-10-GM](/coding/icd-10-gm) and the basis for DRG-based reimbursement. Around 17,000 codes structured as chapter-group-detail with optional decimal (e.g., `5-470.0`). No encounter-type suffix required.

## Quick start

System identifier: `ops`

<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": ["ops"],
      "context": [{"type": "text", "text": "Patient erhielt eine laparoskopische Cholezystektomie bei akuter Cholezystitis."}]
    }'
  ```

  ```ts JavaScript theme={null}
  const response = await client.codes.predict({
    system: ["ops"],
    context: [{ type: "text", text: "Patient erhielt eine laparoskopische Cholezystektomie bei akuter Cholezystitis." }],
  });
  ```

  ```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": ["ops"],
          "context": [{"type": "text", "text": "Patient erhielt eine laparoskopische Cholezystektomie bei akuter Cholezystitis."}],
      },
  )
  print(response.json())
  ```
</CodeGroup>

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

<Note>
  We have only evaluated this implementation on data from a limited set of specialties. This may not generalize to all hospitals. [Contact us](https://www.corti.ai/contact-us?products=medical-coding,api\&use_case=I'm%20using%20OPS%20%28Germany%29%20via%20the%20Corti%20Medical%20Coding%20API%20and%20would%20like%20to%20share%20feedback%20on%20my%20experience.) to share feedback or report issues.
</Note>
