checking-hipaa-compliance
Что он делает
Этот скилл проверяет конвейер данных на соответствие требованиям HIPAA к конфиденциальности и безопасности до обработки информации о пациентах. Он нужен командам, которые готовятся работать с защищённой медицинской информацией и нуждаются в понятном списке пробелов.
Когда использовать
- ✓Когда конвейер вот-вот начнёт обрабатывать защищённую медицинскую информацию и нуждается в проверке перед запуском.
- ✓Когда нужно задокументировать административные, физические и технические меры защиты для аудита или опросника безопасности.
- ✓Когда нужно выбрать между Safe Harbor и Expert Determination для обезличивания.
Ссылка на скилл
https://github.com/maziyarpanahi/openmed/blob/master/skills/checking-hipaa-compliance/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Прежде чем мы запустим наш конвейер записей на реальных данных пациентов, проверь его по требованиям HIPAA и перечисли пробелы.”
5 новых скиллов в неделю. 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
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
annotating-variants
5.8kПомогает агенту предсказать, что делает генетический вариант, перевести названия HGVS в позиции генома и добавить частоты в популяциях, с помощью бесплатных публичных аннотаторов.
ask-openmed
5.8kПомогает агенту выбрать правильный рабочий процесс OpenMed для запроса по клиническому тексту, начиная с проверки конфиденциальности, если могут быть данные пациентов.
assembling-fhir-bundles
5.8kУпаковывает несколько медицинских записей FHIR в один транзакционный Bundle, готовый к отправке в EHR, с правильно связанными внутренними ссылками.
auditing-deid-leakage
5.8kСканирует обезличенный клинический текст на остатки идентификаторов, например СНИЛС, номера карт, электронные адреса и даты, и блокирует выпуск, если что-то осталось.
Похожие скиллы
reverse-engineer-anything
422kПомогает агенту изучить готовые приложения и пакеты, объяснить их функции, сравнить версии или помочь с пересборкой через REA.
1password
394kПомогает агенту настроить командную строку 1Password, войти в нее и читать или подставлять секреты, не выводя их значения в чат.
healthcheck
394kПомогает агенту проверить компьютер или сервер, на котором работает OpenClaw, на риски безопасности, такие как SSH, файрвол, обновления и резервные копии, а затем предложить безопасные исправления.