checking-hipaa-compliance
Was er macht
Dieser Skill prüft eine Datenpipeline gegen die Datenschutz- und Sicherheitsanforderungen von HIPAA, bevor sie Patienteninformationen verarbeitet. Er ist für Teams gedacht, die geschützte Gesundheitsinformationen verarbeiten wollen und eine klare Lückenliste brauchen.
Wann du ihn nutzt
- ✓Wenn eine Pipeline geschützte Gesundheitsinformationen verarbeiten soll und eine Prüfung vor dem Einsatz braucht.
- ✓Wenn du administrative, physische und technische Schutzmaßnahmen für eine Prüfung oder einen Sicherheitsfragebogen dokumentieren musst.
- ✓Wenn du zwischen Safe Harbor und Expert Determination für die Pseudonymisierung entscheiden musst.
Link zum Skill
https://github.com/maziyarpanahi/openmed/blob/master/skills/checking-hipaa-compliance/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Bevor wir unsere Notizpipeline mit echten Patientendaten laufen lassen, prüfe sie gegen die HIPAA-Anforderungen und nenne die Lücken.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent führt die Pipeline durch die Checkliste der Schutzmaßnahmen, ordnet jede Anforderung dem zu, was vorhanden ist, und erstellt einen Bericht über erfüllte und fehlende Maßnahmen.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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:
Häufige Fragen
Ist das Rechtsberatung?
Nein. Es ist eine Selbstprüfungshilfe. Eine Datenschutzbeauftragte bestätigt die Konformität.
Was sind die zwei Wege, Daten nicht mehr als PHI zu behandeln?
Safe Harbor entfernt 18 Kennungskategorien, Expert Determination stützt sich auf die Einschätzung eines Experten zum Re-Identifizierungsrisiko.
Deckt er die Verarbeitung auf dem Gerät ab?
Ja. Er zeigt, wo Pseudonymisierung auf dem Gerät und ein signierter Prüfpfad eine Anforderung erfüllen.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 5.8k
- Platz im Ranking
- #14681
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
annotating-variants
5.8kHilft deinem Agenten vorherzusagen, was eine genetische Variante bewirkt, HGVS-Namen in Genompositionen umzuwandeln und Populationshäufigkeiten anzufügen, mit kostenlosen öffentlichen Annotatoren.
ask-openmed
5.8kHilft deinem Agenten, für eine klinische Textanfrage den richtigen OpenMed-Ablauf zu wählen, beginnend mit einer Datenschutzprüfung, sobald Patientendaten enthalten sein könnten.
assembling-fhir-bundles
5.8kBündelt mehrere FHIR-Gesundheitsdatensätze in ein Transaktions-Bundle, das an ein KIS gesendet werden kann, mit korrekt verknüpften internen Verweisen.
auditing-deid-leakage
5.8kPrüft pseudonymisierte klinische Texte auf übrig gebliebene Kennungen wie SSN, Kartennummern, E-Mail-Adressen und Daten und blockiert die Freigabe, wenn noch welche da sind.
Ähnliche Skills
reverse-engineer-anything
422kHilft deinem Agenten, fertige Apps und Pakete zu untersuchen, um Funktionen zu erklären, Versionen zu vergleichen oder einen Nachbau zu leiten, mit dem REA-Tool.
1password
394kHilft deinem Agenten, die 1Password-Kommandozeile einzurichten, sich anzumelden und Geheimnisse zu lesen oder einzufügen, ohne deren Werte im Chat auszugeben.
healthcheck
394kHilft deinem Agenten, den Computer oder Server, auf dem OpenClaw läuft, auf Sicherheitsrisiken wie SSH, Firewall, Updates und Backups zu prüfen und sichere Korrekturen vorzuschlagen.