feat(health): 行动收件箱后端 — ActionInboxService + Handler + 路由注册

- ActionInboxService: 三表 JOIN 聚合查询 ai_suggestion/ai_analysis/patient
- list_action_items: 分页列表,按 risk_level + created_at 排序
- get_action_thread: 线程时间线拼装 + 动态操作按钮
- ActionInboxHandler: 2 个 GET 端点,require_permission 权限守卫
- 路由: /health/action-inbox, /health/action-inbox/{source_ref}/thread
- 权限: health.action-inbox.list, health.action-inbox.manage
This commit is contained in:
iven
2026-05-01 16:33:40 +08:00
parent 3cba699ca0
commit 758bc210e1
5 changed files with 502 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
pub mod action_inbox_handler;
pub mod alert_handler;
pub mod alert_rule_handler;
pub mod appointment_handler;