This is a hybrid page (PF-113). The table below is generated from
DEFAULT_PII_FIELDS in code and cannot drift from what actually runs; the surrounding rationale is
authored by the compliance owner. The two are composed, not copied.Enforced rule set
Exports run each row throughapplyPiiPhiFilter, which
applies a per-field treatment. With no tenant override, the platform falls back to the defaults
below — the literal, current contents of the enforcing constant:
8 fields are segmented by default; 3 are removed outright (
diagnosis, ssn, treatment_notes) rather than masked.
Why removed vs. redacted
Two treatments appear above, and the distinction is deliberate:redactreplaces a value with[REDACTED]but keeps the field present. This suits contact/identity fields (email,phone,mrn,date_of_birth) where an export consumer may need to know a value existed without seeing it.removedrops the field entirely so its presence is not even signalled. This is reserved for the most sensitive clinical content —diagnosisandtreatment_notes— and forssn. For SUD records, the diagnosis and clinical notes are exactly the data 42 CFR Part 2 §2.31 governs on re-disclosure; removing rather than masking them is defense-in-depth so a redacted-but-present field can never leak the existence of an SUD condition without a valid Part 2 consent and re-disclosure notice.