본문으로 건너뛰기
Skillpedia
보안5.8k · #14681

checking-hipaa-compliance

하는 일

이 스킬은 환자 정보를 처리하기 전에 데이터 파이프라인을 HIPAA 개인 정보 및 보안 요건과 대조합니다. 보호 대상 건강 정보를 다루려는 팀이 명확한 누락 목록을 얻도록 돕습니다.

사용하는 경우

  • ✓파이프라인이 보호 대상 건강 정보를 처리하기 직전이며 배포 전 검토가 필요할 때.
  • ✓감사나 보안 설문을 위해 관리적, 물리적, 기술적 보호 조치를 문서화해야 할 때.
  • ✓비식별화에 Safe Harbor와 Expert Determination 중 무엇을 쓸지 정해야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/maziyarpanahi/openmed/blob/master/skills/checking-hipaa-compliance/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“실제 환자 데이터로 노트 파이프라인을 실행하기 전에, 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):

  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:
자주 묻는 질문

법률 자문인가요?

아닙니다. 자가 평가 도구이며, 규정 준수는 개인정보 보호 담당자가 승인합니다.

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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬