checking-hipaa-compliance
Skill này làm gì
Skill này rà soát một pipeline dữ liệu theo các yêu cầu quyền riêng tư và bảo mật HIPAA trước khi nó xử lý thông tin bệnh nhân. Dành cho các nhóm chuẩn bị xử lý thông tin sức khỏe được bảo vệ và cần danh sách rõ ràng các khoảng trống.
Khi nào nên dùng
- ✓Khi một pipeline sắp xử lý thông tin sức khỏe được bảo vệ và cần rà soát trước khi triển khai.
- ✓Khi bạn phải ghi lại các biện pháp bảo vệ hành chính, vật lý và kỹ thuật cho đợt kiểm toán hoặc bảng câu hỏi bảo mật.
- ✓Khi bạn cần quyết định giữa Safe Harbor và Expert Determination để khử nhận dạng.
Liên kết skill
https://github.com/maziyarpanahi/openmed/blob/master/skills/checking-hipaa-compliance/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Trước khi chúng tôi chạy pipeline ghi chú trên dữ liệu bệnh nhân thật, hãy kiểm tra nó theo các yêu cầu HIPAA và liệt kê các khoảng trống.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đi qua pipeline theo danh sách kiểm tra biện pháp bảo vệ và ánh xạ từng yêu cầu với những gì đang có, tạo báo cáo về các kiểm soát đã đạt và còn thiếu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Checking HIPAA compliance before deploying on PHI
Before any pipeline touches protected health information (PHI), the operating entity (a covered entity or its business associate) must have the HIPAA Privacy Rule and Security Rule safeguards in place. This skill walks a concrete pipeline against those requirements and emits a gap report: which controls are met, which are missing, and where OpenMed's on-device de-identification and signed audit trail satisfy a requirement.
The full control list — administrative, physical, and technical safeguards with their 45 CFR citations — is in references/hipaa-checklist.md. This skill is a self-assessment aid, not legal advice; a Privacy Officer signs off on compliance.
When to use
- You are about to deploy OpenMed (or any pipeline) on real PHI and need a go/no-go compliance review.
- You must document safeguards and minimum-necessary controls for an audit, a BAA, or a security questionnaire.
- You want to decide between Safe Harbor and Expert Determination de-identification and record the rationale.
- You need a reproducible gap report you can hand to a Privacy/Security Officer.
The two paths to "no longer PHI"
HIPAA recognizes two de-identification methods (45 CFR 164.514):
- Safe Harbor — remove all 18 identifier categories and have no actual knowledge the result can re-identify. Deterministic, the common path.
- Expert Determination — a qualified statistician certifies "very small" re-identification risk. Used when you must keep some quasi-identifiers.
OpenMed's deidentify(..., policy="hipaa_safe_harbor") targets the Safe Harbor
identifier set on-device, and deidentify(..., audit=True) produces a signed,
PHI-free AuditReport that documents what was removed — the evidence a Safe
Harbor attestation and a Security Rule audit control both want.
Quick start
import openmed
# A representative record from the pipeline (synthetic — never log real PHI).
sample = "John Doe (MRN 1234567), DOB 1970-01-15, seen 2024-03-02 in Boston."
# 1) De-identify on-device under the Safe Harbor policy.
result = openmed.deidentify(sample, method="replace", policy="hipaa_safe_harbor")
print(result.deidentified_text) # identifiers removed/surrogated
# 2) Produce the signed, no-PHI audit record for the compliance file.
report = openmed.deidentify(sample, policy="hipaa_safe_harbor", audit=True)
report.sign(b"<release-hmac-key-from-vault>", key_id="hipaa-2026")
# 3) Walk the checklist (see references/hipaa-checklist.md) and record gaps.
controls = {
"encryption_at_rest": True,
"encryption_in_transit": True,
"access_controls_rbac": True,
"audit_logging": True, # satisfied in part by the signed AuditReport
"minimum_necessary": False, # <-- gap: pipeline pulls full notes
"baa_in_place": True,
"deidentification_method": "safe_harbor",
}
gaps = [name for name, ok in controls.items() if not ok]
print("GAPS:", gaps)
Workflow
- Map the data flow. Diagram every place PHI is created, received, maintained, or transmitted — including model caches, temp files, and logs.
- Confirm the legal basis. Is the operator a covered entity or business associate? Is a BAA in place with every downstream vendor that touches PHI? OpenMed running on-device means no third-party processor for the NLP step — note that as a control in your favor.
- Run the three safeguard groups from references/hipaa-checklist.md: administrative (risk analysis, workforce training, sanctions), physical (facility/device controls), and technical (access control, audit controls, integrity, transmission security).
- Enforce minimum necessary. Pull only the fields the task needs; mask the rest. De-identify as early in the flow as the use case allows.
- Record the de-identification method (Safe Harbor vs Expert Determination)
and attach the signed
AuditReportas evidence. - Emit the gap report — met / not-met / N/A per control, with the 45 CFR citation and the remediation owner. Hand it to the Privacy Officer.
Hand-off to / from OpenMed
- De-identification:
deidentifying-clinical-text(openmed.deidentify,policy="hipaa_safe_harbor") is the technical control that converts PHI to non-PHI on-device — the heart of a HIPAA pipeline. - **Identifier coverage:
Câu hỏi thường gặp
Đây có phải là tư vấn pháp lý không?
Không. Đây là công cụ tự đánh giá, và cán bộ quyền riêng tư ký xác nhận tuân thủ.
Hai cách để dữ liệu không còn là PHI là gì?
Safe Harbor loại bỏ 18 nhóm định danh, còn Expert Determination dựa trên đánh giá của chuyên gia về rủi ro tái định danh.
Nó có bao quát xử lý trên thiết bị không?
Có. Nó ghi nhận chỗ khử nhận dạng trên thiết bị và nhật ký kiểm toán có chữ ký có thể đáp ứng một yêu cầu.
Chi tiết
Mô tả gốc của tác giả
Runs a HIPAA Privacy and Security Rule checklist over a data pipeline and produces a gap report before deploying OpenMed on PHI. Use when the user is about to process protected health information, needs a pre-deployment compliance review, wants to know which administrative, physical, and technical safeguards apply, is scoping a Business Associate Agreement, or must document minimum-necessary and de-identification controls. Trigger keywords: HIPAA, Privacy Rule, Security Rule, 45 CFR 164, PHI, BAA, business associate, minimum necessary, safeguards, Safe Harbor, Expert Determination, gap analysi
repo: maziyarpanahi/openmed
Độ phổ biến
- Sao GitHub
- 5.8k
- Vị trí xếp hạng
- #14681
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
annotating-variants
5.8kGiúp agent dự đoán tác động của biến thể di truyền, đổi tên HGVS sang vị trí bộ gen và gắn tần suất quần thể bằng công cụ chú giải miễn phí.
ask-openmed
5.8kGiúp agent chọn đúng quy trình OpenMed cho yêu cầu về văn bản lâm sàng, luôn kiểm tra quyền riêng tư trước khi có thể có dữ liệu bệnh nhân.
assembling-fhir-bundles
5.8kGói nhiều bản ghi y tế FHIR thành một Bundle giao dịch để gửi tới EHR, với các tham chiếu nội bộ được liên kết đúng.
auditing-deid-leakage
5.8kQuét văn bản lâm sàng đã khử nhận dạng để tìm định danh còn sót như SSN, số thẻ, email và ngày tháng, và chặn phát hành nếu còn sót.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.