Code details
get_codeGet one ICD-10 PL, ICD-9 PL or ICD-11 PL code as its page shows it: title, hierarchy, children, notes, attributes, ICD-9 rank, WHO map rows and, for ICD-10 and ICD-9, the JGP groups whose attachment 9 lists name it on service_date. Find the code with search_codes first; open a listed group with get_jgp_group.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"system": "<system>",
"code": "<code>"
},
"name": "get_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code as printed, e.g. J18.9, 53.03 or BA00. | |
| system | Yes | Classification of the code. | |
| service_date | No | Day of care, YYYY-MM-DD; picks the release in force. Default today in Poland. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| path | Yes | ||
| notes | Yes | ||
| title | Yes | ||
| notice | Yes | ||
| system | Yes | ||
| release | Yes | ||
| children | Yes | ||
| jgp_lists | No | ||
| attributes | Yes | ||
| who_map_rows | No | ||
| procedure_rank | No | ||
| children_truncated | Yes |