Anonymized vaults
Create a de-identified copy of the raw or MDM vault and keep it up to date automatically.
In Administration > Settings > Data Sources, the Anonymize… button of a data source creates a new data source that is a copy of the raw vault or of the MDM (golden) vault with the personal identifying information (PII and PHI) obfuscated. The anonymized vault has the same FHIR® version and can be in the same database or another one. The source data is never changed.
| What happens | Rule |
|---|---|
| Identifiers | All identifiers are removed (Resource.identifier, masterIdentifier, telecom, contacts, photos, notes and comments). |
| New identifier | Every record gets a new anonymized id (a keyed hash, so it is stable and cannot be reversed without the key). The source vault records it in the table anonymized_identifier (system urn:fhirvault:anonymized-id) of the source raw or golden schema. |
| References | References between records are rewritten to the anonymized ids, so the copy stays connected. Display texts are removed. |
| Names, addresses | Names become "Anonymized". Addresses keep only state and country. |
| Dates | Birth dates keep only the year (ages over 89 are grouped). All other dates are shifted back by 1 to 365 days, by the same amount for all records of one patient, so intervals are preserved. |
| Extensions, text | Only the US Core race, ethnicity, birth sex, gender identity and tribal affiliation extensions are kept. Narrative text is removed. E-mail, phone and SSN patterns in remaining text are masked. |
Two options at creation: Anonymize the data that is in the source now, and Anonymize new and changed records automatically. If you do not anonymize the existing data, only records that arrive after creation are copied.
Automatic flow
Each anonymized vault gets a pipeline under Pipelines > Internal ("Anonymize raw vault to …" or "Anonymize MDM vault to …"). Switch it On and every new or changed record in the source vault is anonymized into the anonymized vault shortly after it arrives (typically within a few tens of seconds). The pipeline is removed when the anonymized vault is removed. Anonymize now in the data source list runs it once on demand.
Limits. Anonymization reduces risk but is not a proof of de-identification: free text outside the listed fields is only pattern-scrubbed, and coded text is kept. Deletions in the source are not copied. A source with anonymized copies cannot be removed until the copies are removed. The status of a run is kept in memory and is lost when the suite restarts.