validate_icd10
Check if an ICD-10-CM code is valid by verifying it exists in the official code set. Returns confirmation and description for real codes, catching fabricated or retired ones.
Instructions
USE THIS to check whether an ICD-10-CM code is real before relying on it — never assume a plausible-looking code exists. Returns whether it is well-formed AND present in the official code set, plus the description when valid. Catches fabricated or retired codes a model would otherwise accept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The ICD-10-CM code to validate. |