trigger_warning_event
Trigger structured pediatric CKD risk alerts, deliver to doctor workstation and WeChat mini-program, and return delivery receipts.
Instructions
【北向 Mock 工具②】生成结构化预警报文,抛出至北向接口与消息队列,返回投递回执。
完整流程:拉取模拟 LIS 数据 -> 硬规则研判 -> 组装 CKD-ALERT/1.0 报文 -> 投递至医生工作站 / 家长端微信小程序 -> 返回带 offset 的 MQ 回执。
若 agent_suggested_level 与规则引擎判定不一致,以规则引擎为准, 并在回执 level_correction 字段中记录纠偏,用于防止小模型误判等级。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channels | No | 推送通道,逗号分隔,如 "doctor_workstation,wechat_miniprogram"。留空按等级自动选择。 | |
| extra_note | No | 附加备注,会写入报文 trigger_note 字段。 | |
| patient_id | Yes | 患儿编号,如 C_8801。 | |
| trigger_source | No | 触发来源,如 manual_review(医生研判)、lis_auto(检验自动触发)、followup(随访)。 | manual_review |
| agent_suggested_level | No | Agent 自行判断的等级(L0/L1/L2/L3),选填,仅用于一致性校验。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |