iven
47817bae7d
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled
fix(health): 二次审计修复 — 状态机/枚举校验/归属验证/事件补全
- 状态机验证: patient.status (active→inactive/deceased/inactive→active),
patient.verification_status (pending→verified/rejected), follow_up_task.status
(pending→in_progress/cancelled, in_progress→completed/cancelled)
- 枚举白名单: gender/blood_type/appointment_type/period_type/schedule_status/
follow_up_type/sender_role/content_type/consultation_type
- 归属验证: family_member update/delete 校验 patient_id 匹配
- 事件补全: patient.deceased/verified 条件事件, consultation close 允许 waiting
- 默认值修正: appointment_type "regular"→"outpatient", period_type "morning"→"am",
consultation_type "text"→"customer_service"
- 新增 validation.rs 通用校验模块
2026-04-24 00:21:05 +08:00
..
2026-04-24 00:05:43 +08:00
2026-04-19 08:46:28 +08:00
2026-04-19 08:46:28 +08:00
2026-04-24 00:21:05 +08:00
2026-04-19 08:46:28 +08:00
2026-04-20 09:35:27 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-15 00:49:20 +08:00
2026-04-15 00:49:20 +08:00
2026-04-24 00:05:43 +08:00
2026-04-15 01:27:33 +08:00