Automation
Templates / profiles save/load
Save a configured edit/anonymization setup as a reusable profile and reload it later.
Problem
You need to save a custom anonymization configuration (specific tags to keep/remove/redact) as a reusable profile, then load it later or share it with colleagues. This ensures consistent de-identification across all exports from your institution.
Steps
- Open a DICOM file — click Open files… (⌘O).
- Switch to Anonymization mode — click the Anon tab (⌘2).
- Select Custom profile — click the Custom button in the profile picker.
- Add custom rules — for each tag you want to override: enter the tag ID (e.g.
0008,103efor Series Description), select the action (Remove or Keep), click Add. The rule appears in the list below. - Save the profile — click Save Profile. The system downloads a
custom_anonymization_profile.jsonfile containing all rules as a JSON array. - Load a profile — click Load Profile and select a previously saved
.jsonfile. All rules are restored, replacing any current rules. - Verify round-trip — save a profile with 2 rules. Remove one rule. Load the saved profile. Both original rules are restored.
- Apply the profile — click Apply & Export to process the file using the loaded rules.
Expected Result
- Custom profile saves as a valid JSON file with rule objects containing tag ID and action.
- Loaded profile restores all rules exactly as saved.
- Rules can be individually removed before saving.
- The JSON structure matches:
[{"id": "(0008,103E)", "act": "remove"}, ...]. - Applied custom rules override the base profile for the specified tags.