iven
95fa09c383
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
feat(health): 家庭成员健康代理 — 同意追踪 + 健康摘要查看
Phase 1 Care Engine MVP 最后一项 (#8):
- 迁移: patient_family_member 表新增 user_id/consent_status/access_level/consented_at/consent_revoked_at
- 实体: 更新 patient_family_member Model 含新字段
- DTO: FamilyMemberResp 扩展 + 新增 GrantFamilyAccessReq/FamilyPatientSummaryResp/FamilyHealthSummaryResp
- Service: 授权/撤销访问、家庭成员查看关联患者列表、查看健康摘要(按 access_level 分级)
- Handler: 5 个端点(grant/revoke/list/summary/link-user)
- 路由: /health/patients/{id}/family-members/{fid}/grant-access 等
- 权限: health.family-proxy.list/manage
- 已有 CRUD 适配新字段(list/create/update 返回 consent 状态)
2026-05-04 20:57:24 +08:00
..
2026-05-04 17:45:23 +08:00
2026-04-28 19:54:12 +08:00
2026-04-30 10:21:52 +08:00
2026-04-25 00:04:25 +08:00
2026-04-26 12:51:30 +08:00
2026-04-30 10:53:04 +08:00
2026-04-26 14:07:21 +08:00
2026-05-04 20:28:26 +08:00
2026-05-04 18:40:22 +08:00
2026-04-30 10:21:52 +08:00
2026-04-30 10:21:52 +08:00
2026-04-30 10:22:14 +08:00
2026-05-02 11:37:21 +08:00
2026-04-30 10:22:14 +08:00
2026-04-29 06:28:30 +08:00
2026-05-03 19:31:46 +08:00
2026-04-30 10:21:52 +08:00
2026-04-25 08:58:58 +08:00
2026-05-04 20:57:24 +08:00
2026-04-27 14:01:58 +08:00
2026-04-30 10:22:14 +08:00
2026-04-28 12:37:23 +08:00
2026-04-30 10:21:52 +08:00
2026-04-30 10:22:14 +08:00
2026-05-04 20:57:24 +08:00
2026-04-26 13:13:25 +08:00
2026-05-03 19:31:46 +08:00
2026-05-04 20:11:07 +08:00
2026-05-02 11:49:34 +08:00
2026-05-04 02:54:13 +08:00