iven
15b6bec215
feat(health): B5 个保法 §45 患者数据可携权导出
GET /health/patients/{id}/export?format=json|fhir 双格式同步导出:
- json: 明文 PII(解密不脱敏,可携权本意),聚合 7 段数据
- fhir: FHIR R4 Bundle(复用现有 converter,PII 天然脱敏)
- 安全边界:consent 门控 + patient 角色 self-scope + 审计 patient.exported(不含明文 PII)+ 日志不记 payload
- 权限 health.patient.export(医护=all, patient=self),迁移 m20260626_000171
- 事件 patient.exported;6 集成测试全绿
含顺手修复 auth_tests UserService::list 签名 drift(exclude_only_roles),解锁 integration crate 编译。
§47 删除权留后续。
2026-06-26 17:58:20 +08:00
..
2026-05-15 19:00:48 +08:00
2026-04-27 09:34:04 +08:00
2026-05-24 11:32:40 +08:00
2026-05-10 20:14:43 +08:00
2026-05-04 20:28:26 +08:00
2026-05-04 18:40:22 +08:00
2026-05-21 01:34:20 +08:00
2026-05-21 22:37:26 +08:00
2026-05-21 22:37:26 +08:00
2026-05-07 23:43:14 +08:00
2026-04-25 00:04:25 +08:00
2026-06-26 17:58:20 +08:00
2026-05-21 00:50:29 +08:00
2026-04-30 10:21:52 +08:00
2026-05-21 22:37:26 +08:00
2026-05-10 15:08:26 +08:00
2026-04-30 10:21:52 +08:00
2026-04-30 10:21:52 +08:00
2026-06-26 17:58:20 +08:00
2026-05-22 10:56:03 +08:00
2026-04-26 14:07:21 +08:00
2026-05-07 23:43:14 +08:00
2026-05-08 12:42:41 +08:00