usdpr/phi-scrubber
v0.1
PHI scrubber library
Python library that enforces HIPAA Privacy Rule compliance on outbound message bodies. Flags procedure codes (CDT/CPT), tooth numbers, diagnosis terms, chart references, and insurance claim IDs. Wraps your send function with @scrubbed and rejects any message containing PHI. ~0.4ms overhead per message.
Language: Python 3.11+
License: Apache-2.0
Status: ✨ LIVE on GitHub
usdpr/tcpa-ratelimit
v0.1
TCPA rate-limit library
Enforces the TCPA case-law-safe SMS rate limits (1/day, 3/week per patient) at the database-query layer. SQLite + Postgres drivers. Extends to any message table with a recipient-id column. Works with Twilio, Bandwidth, Vonage, Plivo, or any custom SMS gateway. Prevents 99% of known TCPA class-action trigger patterns.
Language: Python 3.11+
License: Apache-2.0
Status: ✨ LIVE on GitHub
usdpr/hipaa-audit
v0.1
HIPAA audit-trail library
Append-only audit log with 7-year retention, immutable row hashing, and HMAC-signed export for SOC 2 evidence. Captures every access, send, view, and export of PHI. Integrates with Postgres, SQLite, and via middleware with FastAPI/Flask/Django. Opinionated about what HIPAA requires, because it does.
Language: Python 3.11+
License: Apache-2.0
Status: ✨ LIVE on GitHub