stage_lab_panel
Stage an extracted lab panel (PENDING). panel_date: YYYY-MM-DD from the report. rows: a list of {raw_name, value, unit, ref_min, ref_max}; value is a number — a printed "6,4" is read as 6.4, and a qualitative result ("negative", "not…
Instructions
Stage an extracted lab panel (PENDING). panel_date: YYYY-MM-DD from the report. rows: a list of {raw_name, value, unit, ref_min, ref_max}; value is a number — a printed "6,4" is read as 6.4, and a qualitative result ("negative", "not detected") or a limit ("<0.5") goes in as text (or pass it as value_text). Critical values are alerted immediately. Names not in the catalog (or whose unit can't belong to the matched marker) are stored UNMAPPED and pending — resolve them with map_pending_observation. Afterwards — show the table to the user and wait for an explicit approve_staged_source.
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": {
"panel_date": "<panel_date>",
"rows": "<rows>"
},
"name": "stage_lab_panel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| facility | No | ||
| panel_date | Yes | ||
| panel_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |