Anonymization

Whitelist retain (Siemens CSA, GE PSD)

Retain known-safe vendor blocks (Siemens CSA, GE PSD) while scrubbing others.

Problem

You need to scrub private vendor tags, but some vendor blocks contain clinically useful information that’s known to be safe (no PHI). Siemens CSA headers, for example, store diffusion gradient directions and B-value maps essential for DTI analysis. GE PSD blocks contain scanner calibration data needed for quantitative imaging. Blindly scrubbing all private tags would destroy this clinically necessary data. You need a whitelist approach: keep known-safe vendor blocks and scrub everything else.

Steps

  1. Open a file with vendor private tags (⌘O) — use a Siemens DICOM file (sample-siemens.dcm).

  2. Verify private tags are present — switch to Edit mode (⌘3), filter for MEDCOM, and confirm the SIEMENS MEDCOM HEADER row is visible.

  3. Switch to Anon mode (⌘2) and configure selective scrubbing:

    • Toggle Scrub private tags to ON
    • Select the keep_vendor policy from the private mode dropdown
    • Check the Siemens CSA checkbox
    • Check the GE PSD checkbox
  4. Apply the anonymization.

  5. Verify selective removal — switch to Edit mode (⌘3) and filter for MEDCOM. The SIEMENS MEDCOM HEADER should be gone because Medcom is not in the Siemens CSA whitelist (CSA and Medcom are separate private blocks within Siemens files).

Expected Result

  • Non-whitelisted private blocks (MEDCOM) are scrubbed — the row is not visible in the metadata tree.
  • Whitelisted blocks (Siemens CSA headers, GE PSD headers) are preserved — they remain in the dataset after anonymization.
  • The keep_vendor policy applies across all instances. Non-whitelisted blocks from any vendor are removed.
  • If you loaded a GE file and checked both Siemens CSA and GE PSD, the GE private blocks in the PSD group would be kept while other GE private groups would be scrubbed.
  • Standard DICOM tags (even groups) continue to follow the selected anonymization profile’s rules independently.