validate_icd10
Validate an ICD-10-CM code against the official code set to ensure it is real and not fabricated or retired, providing description if valid.
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. |