PII DETECTION PIPELINE Input text "Patient: John Doe" Profile hipaa · gdpr research · minimal Regex scan 14 categories + national IDs Method mask / replace hash / shift_dates replace Output [REDACTED:name] audit trail: timestamp · categories · method · profile