Hospital HIPAA 18-Identifier PHI Zero-Egress De-Identification Pipeline
Detects and deterministically tokenizes all 18 HIPAA Safe-Harbor PHI identifiers on local loopback hardware before downstream clinical analytics.
Governed Workflow Steps (3)
- 1. Scan 18 HIPAA PHI Classes
Scan Clinical Notes for 18 Safe-Harbor Identifier Classes: consume [clinicalRecords] via ingest.local_hipaa_safe_harbor_scanner to emit [phiSpans]. Verify invariant: Array.isArray(phiSpans).
- 2. Replace PHI With HMAC Tokens
Replace PHI With Keyed HMAC Pseudonyms & Date-Year Shifts: consume [clinicalRecords, phiSpans] via vault.vault-hipaa-airgap-clinical-tco-model to emit [sanitizedRecords, tcoSavingsCents]. Verify invariant: sanitizedRecords.length === clinicalRecords.length.
- 3. Certify Zero Residual PHI
Re-Scan Sanitized Output to Certify Zero Residual PHI: consume [sanitizedRecords] via oracle.hipaa_zero_residual_phi_oracle to emit [residualPhiCount, custodyHashSha256]. Verify invariant: residualPhiCount === 0.