Skip to main content

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.

The UK modification of ICD-10, maintained by NHS England. Around 16,000 alphanumeric codes (4–6 characters; codes shorter than four characters are padded with X) covering diagnoses across NHS inpatient and outpatient settings.

Quick start

System identifiers: icd10uk-inpatient · icd10uk-outpatient
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": ["icd10uk-inpatient"],
    "context": [{"type": "text", "text": "Patient admitted with COPD exacerbation and type 2 diabetes mellitus."}]
  }'
API reference →

Encounter type

Encounter type is required. ICD-10 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 icd10uk-inpatient for inpatient cases and icd10uk-outpatient for outpatient cases. The correct guideline set is applied automatically based on the suffix.

Inpatient procedures

For UK inpatient episodes, NHS ICD-10 is paired with OPCS-4 for procedure coding. Use icd10uk-inpatient for diagnoses and opcs4 for procedures in the same request.

Known issues

In England, there are certain secondary codes that one should always code, even if they do not directly impact patient care during the encounter. We have not implemented this list yet.