get_adherence_score
Computes a weighted adherence score (0-100) from diet, medication, and visit ratios, categorizing as good, medium, or poor to assess pediatric CKD follow-up compliance.
Instructions
计算并记录依从性评分(M4 拥有依从性数据)。diet/med/visit 三域比率(0-1) → 加权复合分(0-100)。
等级:≥80 好 / 50-79 中 / <50 差。默认等权(饮食/用药/就诊各 1/3,待临床验证)。
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>",
"diet_ratio": "<diet_ratio>",
"med_ratio": "<med_ratio>",
"visit_ratio": "<visit_ratio>"
},
"name": "get_adherence_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caller | No | orchestrator | |
| med_ratio | Yes | ||
| diet_ratio | Yes | ||
| patient_id | Yes | ||
| visit_ratio | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||