get_labs
Retrieve lab results for a specific patient and test label, with optional date range. Resolves ambiguous labels by listing candidate lab items for retry.
Instructions
Get lab results for one patient and one lab test, optionally windowed by date. label is resolved against d_labitems - if it names more than one lab item, the error lists every candidate (itemid, label, fluid, category) so a retry can narrow it with a fluid or category word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| row_cap | Yes | ||
| truncated | Yes |