HIPAA 3-Digit ZIP Truncator
Truncate US ZIP codes and replace all 17 restricted prefixes with 000 locally.
Open ZIP Truncator →45 CFR 164.514(b)(2)(i)(C) · LONGITUDINAL INTERVAL PRESERVATION
Shift admission, lab, and discharge dates per patient using a local WebCrypto HMAC-SHA256 seed so exact
length-of-stay and treatment intervals remain intact while hiding real calendar dates and capping ages
above 89 to 90+.
Free local utility · CohortWeir Solo $149 one-time
Drop a local clinical CSV with patient IDs, dates, and ages, or paste below
Multiple encounters for the same patient receive the exact same day offset, keeping cross-visit timelines exact.
| Patient Key | HMAC Shift | Date Transform | Age (>89 Rule) | Longitudinal Interval Proof |
|---|
How deterministic per-patient shifts preserve survival analysis and length-of-stay.
When a patient appears across multiple encounters or tables (admissions, labs, medications), random
per-row shifts break chronological order. Deriving the day offset from HMAC-SHA256(seed, patient_id)
guarantees every event for that patient moves by the identical non-zero day count, preserving exact
inter-visit spacing.
Under 45 CFR 164.514(b)(2)(i)(C), ages over 89 and birth years indicative of age over 89 must be
aggregated into a single 90+ category. This tool caps numeric ages above 89 to 90+ and
replaces corresponding elderly birth dates with ≤1936 (relative to the configured reference year).
Truncate US ZIP codes and replace all 17 restricted prefixes with 000 locally.
Open ZIP Truncator →Apply per-patient date shifting inside nested FHIR R4 Encounter and Observation JSON.
Open FHIR De-Identifier →Download an 18-identifier attestation and compare Cloud SaaS costs vs local licensing.
Open Checklist & TCO →