Title99/100
Lookup ICD-10 Code
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Look up a specific ICD-10 code by its code number. Returns full details including descriptions, HIPAA transaction validity status, and the fiscal years the code has been in effect (FY2027 code set; history tracked from FY2020 for diagnosis, FY2021 for procedure). Pass as_of with the encounter's date of service to check the code was in effect on that date — ICD-10 sets change every October 1 and sometimes mid-year. Codes retired from the current set still resolve, marked with the last year or day they were in effect.
The description explains the capability, when to use it, and what to expect.
Inputs92/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
code
ICD-10 code to look up (e.g., 'E11.65' for diagnosis, '0DTJ4ZZ' for procedure).
Clear enough to supply this argument.
code_type
'diagnosis' (ICD-10-CM) or 'procedure' (ICD-10-PCS). Omit to auto-detect: CM is tried first, then PCS if the code is 7 alphanumeric characters.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
as_of
Optional date of service (YYYY-MM-DD). ICD-10 code sets change every October 1, and some codes are added or deleted partway through a year (usually April 1): a code valid today may not have existed on the encounter date, and vice versa. When provided, the response reports whether the code was in effect on this date. Omit for current-set (FY2027) behavior.
Clear enough to supply this argument.
Annotations75/100
Declare openWorldHint based on the tool’s actual behavior.
{
"title": "Lookup ICD-10 Code",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}Output schema87/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"required": [
"found"
],
"properties": {
"code": {
"anyOf": [
{
"type": "object",
"required": [
"code",
"short_description",
"long_description",
"valid_for_hipaa_transactions"
],
"properties": {
"code": {
"type": "string",
"description": "ICD-10 code (e.g., 'E11.65' for diagnosis, '0DTJ4ZZ' for procedure)"
},
"last_fy": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Last CMS fiscal year this code was in effect (less than the current code-set year means the code has been retired)"
},
"first_fy": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "First CMS fiscal year this code was in effect. The history begins at FY2020 (diagnosis) and FY2021 (procedure), so a code whose first year is that one may be older"
},
"as_of_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether this code was in effect on the as_of date of service; from lookup_code, also whether it was billable on that date when that differs from valid_for_hipaa_transactions. Without as_of, set only for a retired code or one that took effect partway through a fiscal year"
},
"long_description": {
"type": "string",
"description": "Full/detailed description of the code with complete clinical terminology"
},
"short_description": {
"type": "string",
"description": "Short description of the code (typically under 60 characters)"
},
"valid_for_hipaa_transactions": {
"type": "boolean",
"description": "Whether this code is valid for HIPAA-covered transactions (True) or is a category header only (False). Only codes with True can be used for billing"
}
},
"description": "Base model for ICD-10 codes."
},
{
"type": "object",
"required": [
"code",
"short_description",
"long_description",
"valid_for_hipaa_transactions"
],
"properties": {
"code": {
"type": "string",
"description": "ICD-10 code (e.g., 'E11.65' for diagnosis, '0DTJ4ZZ' for procedure)"
},
"chapter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ICD-10-CM chapter code (single letter, e.g., 'E' for Endocrine/nutritional/metabolic diseases)"
},
"last_fy": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Last CMS fiscal year this code was in effect (less than the current code-set year means the code has been retired)"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ICD-10-CM category (first 3 characters, e.g., 'E11' for Type 2 Diabetes Mellitus)"
},
"first_fy": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "First CMS fiscal year this code was in effect. The history begins at FY2020 (diagnosis) and FY2021 (procedure), so a code whose first year is that one may be older"
},
"as_of_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether this code was in effect on the as_of date of service; from lookup_code, also whether it was billable on that date when that differs from valid_for_hipaa_transactions. Without as_of, set only for a retired code or one that took effect partway through a fiscal year"
},
"long_description": {
"type": "string",
"description": "Full/detailed description of the code with complete clinical terminology"
},
"short_description": {
"type": "string",
"description": "Short description of the code (typically under 60 characters)"
},
"valid_for_hipaa_transactions": {
"type": "boolean",
"description": "Whether this code is valid for HIPAA-covered transactions (True) or is a category header only (False). Only codes with True can be used for billing"
}
},
"description": "ICD-10-CM diagnosis code with additional metadata."
},
{
"type": "object",
"required": [
"code",
"short_description",
"long_description",
"valid_for_hipaa_transactions"
],
"properties": {
"code": {
"type": "string",
"description": "ICD-10 code (e.g., 'E11.65' for diagnosis, '0DTJ4ZZ' for procedure)"
},
"last_fy": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Last CMS fiscal year this code was in effect (less than the current code-set year means the code has been retired)"
},
"first_fy": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "First CMS fiscal year this code was in effect. The history begins at FY2020 (diagnosis) and FY2021 (procedure), so a code whose first year is that one may be older"
},
"as_of_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether this code was in effect on the as_of date of service; from lookup_code, also whether it was billable on that date when that differs from valid_for_hipaa_transactions. Without as_of, set only for a retired code or one that took effect partway through a fiscal year"
},
"body_system_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Body system code (second character for most sections, fourth character for Section F, e.g., '0' for Central Nervous System)"
},
"body_system_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Human-readable body system name (e.g., 'Central Nervous System', 'Heart and Great Vessels')"
},
"long_description": {
"type": "string",
"description": "Full/detailed description of the code with complete clinical terminology"
},
"short_description": {
"type": "string",
"description": "Short description of the code (typically under 60 characters)"
},
"valid_for_hipaa_transactions": {
"type": "boolean",
"description": "Whether this code is valid for HIPAA-covered transactions (True) or is a category header only (False). Only codes with True can be used for billing"
}
},
"description": "ICD-10-PCS procedure code with additional metadata."
},
{
"type": "null"
}
],
"default": null,
"description": "Code details if found"
},
"found": {
"type": "boolean",
"description": "Whether the code was found in the database"
}
},
"description": "Response for single code lookup."
}