get_observations
Fetch lab results and vital signs for a patient by LOINC code, newest first, with optional since date and result limit.
Instructions
Lab results and vital signs for one LOINC code, newest first. since (YYYY-MM-DD) is
inclusive; limit is 1-100. Examples: 4548-4 HbA1c, 13457-7 LDL cholesterol,
3016-3 TSH, 8480-6 systolic and 8462-4 diastolic blood pressure.
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": {
"patient_id": "<patient_id>",
"loinc_code": "<loinc_code>"
},
"name": "get_observations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ||
| loinc_code | Yes | ||
| patient_id | Yes |