Get ICD-10 Code Details
get_codeRetrieve detailed ICD-10-CM code information including descriptions, billable status, synonyms, hierarchy, and classification for medical coding purposes.
Instructions
Get comprehensive details for a specific ICD-10-CM code including descriptions, billable status, SNOMED CT and UMLS synonyms, parent/child hierarchy, and chapter classification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ICD-10-CM code (e.g., 'E11.9', 'I10', 'J44.1') |
Implementation Reference
- src/tools.ts:115-140 (handler)The registration and handler logic for the 'get_code' tool in src/tools.ts. It uses the `client.icd10.get` method and formats the response using `formatCodeDetail`.
server.registerTool( "get_code", { title: "Get ICD-10 Code Details", description: "Get comprehensive details for a specific ICD-10-CM code including " + "descriptions, billable status, SNOMED CT and UMLS synonyms, parent/child " + "hierarchy, and chapter classification.", inputSchema: { code: z.string().min(1).describe("ICD-10-CM code (e.g., 'E11.9', 'I10', 'J44.1')"), }, annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, }, }, async (args) => { try { const result = await client.icd10.get(args.code); return ok(formatCodeDetail(result)); } catch (error) { return fail(error); } } );