checking-hipaa-compliance
यह क्या करती है
यह स्किल मरीज़ की जानकारी प्रोसेस करने से पहले डेटा पाइपलाइन को HIPAA की प्राइवेसी और सुरक्षा ज़रूरतों से मिलाती है। यह उन टीमों के लिए है जो प्रोटेक्टेड हेल्थ इन्फ़ॉर्मेशन संभालने की तैयारी कर रही हैं और उन्हें कमियों की साफ़ सूची चाहिए।
कब इस्तेमाल करें
- ✓जब कोई पाइपलाइन प्रोटेक्टेड हेल्थ इन्फ़ॉर्मेशन प्रोसेस करने वाली हो और उसे तैनाती से पहले समीक्षा चाहिए।
- ✓जब आपको ऑडिट या सुरक्षा प्रश्नावली के लिए प्रशासनिक, भौतिक और तकनीकी सुरक्षा उपाय दर्ज करने हों।
- ✓जब आपको डी-आइडेंटिफ़िकेशन के लिए Safe Harbor और Expert Determination में से चुनना हो।
Skill का लिंक
https://github.com/maziyarpanahi/openmed/blob/master/skills/checking-hipaa-compliance/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारी नोट्स पाइपलाइन को असली मरीज़ डेटा पर चलाने से पहले उसे HIPAA ज़रूरतों से जाँचिए, और कमियों की सूची दीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट सुरक्षा उपायों की चेकलिस्ट के ज़रिए पाइपलाइन को देखता है, हर ज़रूरत को मौजूद चीज़ से मिलाता है, और पूरे हुए और छूटे हुए नियंत्रणों की रिपोर्ट बनाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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:
अक्सर पूछे जाने वाले सवाल
क्या यह कानूनी सलाह है?
नहीं। यह खुद-मूल्यांकन में मदद का साधन है, और अनुपालन की पुष्टि एक प्राइवेसी ऑफ़िसर करेगा।
डेटा को PHI न रहने देने के दो तरीके क्या हैं?
Safe Harbor 18 पहचानकर्ता श्रेणियाँ हटाता है, और Expert Determination में किसी विशेषज्ञ का पुनः-पहचान जोखिम का आकलन चाहिए।
क्या यह ऑन-डिवाइस प्रोसेसिंग कवर करती है?
हाँ। यह बताती है कि ऑन-डिवाइस डी-आइडेंटिफ़िकेशन और हस्ताक्षरित ऑडिट ट्रेल कहाँ कोई ज़रूरत पूरी करते हैं।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 5.8k
- रैंकिंग में स्थान
- #14681
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
annotating-variants
5.8kआपके एजेंट को मुफ़्त सार्वजनिक एनोटेटर से जेनेटिक वेरिएंट का असर बताने, HGVS नामों को जीनोम पोज़िशन में बदलने और जनसंख्या आवृत्ति जोड़ने में मदद करती है।
ask-openmed
5.8kआपके एजेंट को क्लिनिकल टेक्स्ट अनुरोध के लिए सही OpenMed वर्कफ़्लो चुनने में मदद करती है, जहाँ मरीज़ का डेटा हो सकता है वहाँ पहले गोपनीयता जाँच से शुरू करके।
assembling-fhir-bundles
5.8kकई FHIR स्वास्थ्य रिकॉर्ड को एक ट्रांज़ैक्शन Bundle में पैक करती है, जो EHR को भेजने के लिए तैयार हो और आंतरिक संदर्भ सही जुड़े हों।
auditing-deid-leakage
5.8kडी-आइडेंटिफ़ाइड क्लिनिकल टेक्स्ट में बचे पहचानकर्ता जैसे SSN, कार्ड नंबर, ईमेल और तारीखें खोजती है, और कुछ बचा हो तो रिलीज़ रोक देती है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।