healthcare-phi-compliance
Compliance patterns for protected health information (PHI) and personally identifiable information (PII) in healthcare applications. Covers data classification, access control, audit trails, encryption, and common leakage paths.
Machine translationRead the original Chinese text
医疗应用中受保护健康信息(PHI)和个人身份信息(PII)的合规模式。涵盖数据分类、访问控制、审计追踪、加密及常见泄露途径。
Target: Target not categorized. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original Chinese text
Topics in the source
- 医疗 PHI/PII 合规模式
- 何时使用
- 工作原理
- 数据分类
- 访问控制:行级安全
- 审计追踪
- 常见泄露途径
- 数据库模式标记
用于保护医疗应用中患者数据、临床医生数据和财务数据的模式。适用于 HIPAA(美国)、DISHA(印度)、GDPR(欧盟)以及通用医疗数据保护。 构建任何涉及患者记录的功能 为临床系统实施访问控制或身份验证 设计医疗数据的数据库模式 构建返回患者或临床医生数据的 API 实施审计追踪或日志记录 审查代码中的数据泄露漏洞 为多租户医疗系统设置行级安全(RLS) 医疗数据保护在三个层面运作:分类(什么是敏感数据)、访问控制(谁能查看)和审计(谁查看了数据)。 PHI(受保护健康信息) — 任何能够识别患者身份且与其健康相关的数据:患者姓名、出生日期、地址、电话、电子邮件、国家身份证号码(SSN、Aadhaar、NHS 号码)、病历号、诊断、药物、化验结果、影像资料、保险单和理赔详情、预约和入院记录,或上述任意组合。 医疗系统中的 PII(非患者敏感数据):临床医生/员工个人详细信息、医生收费结构和支付金额、员工薪资和银行信息、供应商付款信息。 每次 PHI 访问或修改都必须记录: 错误消息: 切勿在发送给客户端的错误消息中包含患者身份识别数据。仅在服务器端记录详细信息。 控制台输出: 切勿记录完整的患者对象。使用不透明的内部记录 ID(UUID)——而不是病历号、国家身份证号或姓名。 URL 参数: 切勿在可能出现在日志或浏览器历史记录中的查询字符串或路径段中包含患者身份识别数据。仅使用不透明的 UUID。 浏览器存储: 切勿在 localStorage 或 sessionStorage 中存储 PHI。仅在内存中保留 PHI,按需获取。 服务角色密钥: 切勿在客户端代码中使用 service\role 密钥。始终使用匿名/可发布密钥,并让 RLS 强制执行访问控制。 日志和监控: 切勿记录完整的患者记录。仅使用不透明的记录 ID(而不是病历号)。在发送到错误跟踪服务之前,清理堆栈跟踪。 在模式级别标记 PHI/PII 列: 每次部署前: 错误消息或堆栈跟踪中无 PHI console.log/console.error 中无 PHI URL 参数中无 PHI 浏览器存储中无 PHI 客户端代码中无 service\role 密钥 所有 PHI/PII 表已启用 RLS 所有数据修改均有审计追踪 已配置会话超时 所有 PHI 端点均需 API 身份验证 已验证跨机构数据隔离
- Source repository
- affaan-m/ECC
- Source file
- docs/zh-CN/skills/healthcare-phi-compliance/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:42.342Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.