map_pending_observation
Assign a marker type (observation_types.code, e.g. "lymphocytes_abs") to a pending row that is unmapped or matched to the wrong marker — only after the user confirmed which marker it is.
Instructions
Assign a marker type (observation_types.code, e.g. "lymphocytes_abs") to a pending row that is unmapped or matched to the wrong marker — only after the user confirmed which marker it is. Re-normalizes the value into the canonical unit, re-runs the critical-value check and (learn_synonym) remembers the printed name so future panels map it automatically. Refuses a type whose unit dimension doesn't fit. The row stays PENDING; approve separately.
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": {
"observation_id": "<observation_id>",
"type_code": "<type_code>"
},
"name": "map_pending_observation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type_code | Yes | ||
| learn_synonym | No | ||
| observation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |