Aller au contenu
Skillpedia
Sécurité5.8k · #14681

checking-hipaa-compliance

Ce qu’il fait

Cette compétence examine une chaîne de données au regard des exigences de confidentialité et de sécurité de HIPAA avant qu'elle ne traite des informations de patients. Elle s'adresse aux équipes qui se préparent à traiter des informations de santé protégées et ont besoin d'une liste claire des lacunes.

Quand l’utiliser

  • ✓Quand une chaîne va traiter des informations de santé protégées et a besoin d'une revue avant déploiement.
  • ✓Quand vous devez documenter les garanties administratives, physiques et techniques pour un audit ou un questionnaire de sécurité.
  • ✓Quand vous devez choisir entre Safe Harbor et la détermination d'expert pour la dépersonnalisation.

Lien du skill

https://github.com/maziyarpanahi/openmed/blob/master/skills/checking-hipaa-compliance/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/maziyarpanahi/openmed/blob/master/skills/checking-hipaa-compliance/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Avant d'exécuter notre chaîne de notes sur de vraies données de patients, vérifie-la au regard des exigences HIPAA et liste les lacunes.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent fait passer la chaîne par la liste de contrôle des garanties et associe chaque exigence à ce qui est en place, en produisant un rapport des contrôles respectés et manquants.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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):

  1. Safe Harbor — remove all 18 identifier categories and have no actual knowledge the result can re-identify. Deterministic, the common path.
  2. 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

  1. Map the data flow. Diagram every place PHI is created, received, maintained, or transmitted — including model caches, temp files, and logs.
  2. 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.
  3. 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).
  4. 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.
  5. Record the de-identification method (Safe Harbor vs Expert Determination) and attach the signed AuditReport as evidence.
  6. 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:
Questions fréquentes

S'agit-il d'un conseil juridique ?

Non. C'est un outil d'auto-évaluation, et un responsable de la confidentialité valide la conformité.

Quelles sont les deux façons de ne plus considérer des données comme des PHI ?

Safe Harbor retire 18 catégories d'identifiants, et la détermination d'expert repose sur l'évaluation d'un expert du risque de réidentification.

Couvre-t-elle le traitement sur l'appareil ?

Oui. Elle indique où la dépersonnalisation sur l'appareil et une piste d'audit signée répondent à une exigence.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
5.8k
Position au classement
#14681
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires