ScholarCraft Home / Compliance Suite / SafeHarbor Studio
100% Offline in Browser · Zero Cloud Upload · One-Time License

Automatically Zero the 17 HHS Restricted 3-Digit ZIP Codes & Cap Ages > 89 in Clinical CSVs

Homemade Excel formulas (`=LEFT(A2,3)`) violate HIPAA Safe Harbor because 17 US 3-digit ZIP prefixes represent populations of 20,000 or fewer residents and MUST be changed to `000` under 45 CFR § 164.514(b)(2)(i)(B).

100% Offline Interactive Studio — SafeHarbor Studio (runs locally in browser RAM) Open Fullscreen ↗

Key Compliance Capabilities

  • Built-in lookup of all 17 HHS/OCR Census restricted prefixes: 036, 059, 063, 102, 203, 556, 692, 790, 821, 823, 830, 831, 878, 879, 884, 890, 893.
  • Handles 5-digit (`03601`), 9-digit ZIP+4 (`03601-1234`), and leading-zero stripped Excel integers cleanly.
  • Flags both numeric ages > 89 (including decimals like 89.5) and birth dates/years implying age > 89.
  • Logs exact counts of zeroed ZIPs and capped ages inside the downloadable IRB audit log.

Official 17 HHS Restricted 3-Digit ZIP Prefixes (-> 000)

036, 059, 063, 102, 203, 556, 692, 790,
821, 823, 830, 831, 878, 879, 884, 890, 893

5-Second Walkthrough

SafeHarbor Studio animated walkthrough

Use code STARTER20 at Gumroad checkout for 20% off your one-time lifetime Pro license (zero monthly SaaS fees).

Get SafeHarbor Studio Pro ($29 One-Time)

Frequently Asked Questions

Why are these 17 specific 3-digit ZIP prefixes restricted under HIPAA?

Under 45 CFR § 164.514(b)(2)(i)(B), retaining the first 3 digits of a ZIP code is only permitted when the combined geographic unit has more than 20,000 inhabitants based on Census data; those 17 prefixes fall at or below 20,000 and must be changed to 000.

What happens to ZIP+4 codes like 94107-1234?

SafeHarbor Studio extracts the 5-digit core, validates the 3-digit prefix (`941`, >20,000 population), and outputs `941`.

Can I run this on an air-gapped hospital workstation?

Yes — both the standalone offline HTML app and the zero-dependency Python CLI require zero internet connection.

Does it also scrub free-text notes?

Yes, inline phone numbers, emails, SSNs, full dates, URLs, IPs, and Dr./Mr./Ms. names inside note columns are automatically redacted.

Related Local-First Compliance & Research Tools