search_answerlists
Search LOINC answer lists to find the allowed answers for survey and nominal terms.
Instructions
Search LOINC answer lists (the enumerated answer sets attached to survey/nominal terms, e.g. smoking-status choices). Use when you need the allowed answers for a term rather than the term itself. Results are relevance-ranked by the LOINC Search API (same ranking as the loinc.org/search UI); if the top hits miss, reformulate the query rather than deep-paging. Rows are compact for triage — call get_loinc(code) to drill into the full record for a specific LOINC. Output is a TOON table capped to a character budget; when truncated, page with offset.
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": {
"query": "<query>"
},
"name": "search_answerlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| query | Yes | ||
| offset | No | ||
| language | No | ||
| sortorder | No | ||
| include_facets | No |