NLM ICD-11 — Search Primary Diagnosis Codes
icd11.disease.primary_searchSearch ICD-11 terms to return only primary stem diagnosis codes, excluding extension and modifier codes for mortality, surveillance, DRG, and primary diagnosis coding.
Instructions
Search ICD-11 codes returning only primary (stem) diagnosis codes — filters out extension/modifier codes. Stem codes represent principal diagnoses and standalone conditions, while extension codes are qualifiers (severity, laterality, histopathology). Use this when you need clean primary diagnoses for: mortality coding, disease surveillance, DRG assignment, or primary diagnosis classification. No auth — US National Library of Medicine public domain, unlimited free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes | Clinical search term to find primary (stem) ICD-11 diagnosis codes only — excludes extension/modifier codes (e.g. "cancer", "fever", "infection") | |
| max_results | No | Maximum number of primary (stem) codes to return (1-25). Default: 10 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |