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

> German Modification of ICD-10. The standard for diagnosis coding in Germany

The German modification of ICD-10, maintained by the BfArM. Required for diagnosis coding across all German healthcare settings and the basis for DRG-based reimbursement. Around 14,000 alphanumeric codes (3–5 characters, e.g., `E11.90`).

## Quick start

System identifiers: `icd10gm-inpatient` · `icd10gm-outpatient`

<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": ["icd10gm-inpatient"],
      "context": [{"type": "text", "text": "Patient stationär aufgenommen mit akuter Herzinsuffizienz und Typ-2-Diabetes."}]
    }'
  ```

  ```ts JavaScript theme={null}
  const response = await client.codes.predict({
    system: ["icd10gm-inpatient"],
    context: [{ type: "text", text: "Patient stationär aufgenommen mit akuter Herzinsuffizienz und Typ-2-Diabetes." }],
  });
  ```

  ```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": ["icd10gm-inpatient"],
          "context": [{"type": "text", "text": "Patient stationär aufgenommen mit akuter Herzinsuffizienz und Typ-2-Diabetes."}],
      },
  )
  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%20ICD-10-GM%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>

## Encounter type

<Warning>
  **Encounter type is required.** ICD-10-GM coding guidelines differ significantly between inpatient and outpatient settings. For instance, in the outpatient setting, one should only code established diagnoses. In the inpatient setting, one should also include all diagnoses that are uncertain, even those that are ruled out. Use `icd10gm-inpatient` for inpatient cases and `icd10gm-outpatient` for outpatient cases. The correct guideline set is applied automatically based on the suffix.
</Warning>

## Inpatient procedures

<Tip>
  For German inpatient episodes, ICD-10-GM is paired with [OPS](/coding/ops) for procedure coding. Use `icd10gm-inpatient` for diagnoses and `ops` for procedures in the same request.
</Tip>
