Skip to main content
The UK procedure classification, maintained by NHS England. Required for all NHS inpatient procedure coding alongside NHS ICD-10. Around 10,000 alphanumeric codes structured as a letter followed by two digits with optional decimal subdivision (e.g., H01.1). No encounter-type suffix required.

Quick start

System identifier: opcs4
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": ["opcs4"],
    "context": [{"type": "text", "text": "Patient underwent total hip replacement under general anaesthesia."}]
  }'
const response = await client.codes.predict({
  system: ["opcs4"],
  context: [{ type: "text", text: "Patient underwent total hip replacement under general anaesthesia." }],
});
import requests

response = requests.post(
    "https://api.$environment.corti.app/v2/tools/coding/",
    headers={
        "Authorization": "Bearer <token>",
        "Tenant-Name": "<tenant-name>",
    },
    json={
        "system": ["opcs4"],
        "context": [{"type": "text", "text": "Patient underwent total hip replacement under general anaesthesia."}],
    },
)
print(response.json())
API reference →