Applying dicomedit anonymization scripts to pre-existing data on XNAT.

5 views
Skip to first unread message

Gillian LeBlanc

unread,
11:55 AM (7 hours ago) 11:55 AM
to xnat_discussion
Hello XNAT community! 

Our group has implemented a project-level DicomEdit script on XNAT, which anonymizes DICOM tags as the MRI files are archived. However, we would also like to apply this anonymization script to data that has already been archived. In the past, it seems like this was possible via DicomBrowser, which is now unsupported on XNAT. 

Have any of you anonymized data that is already archived in an XNAT project? What is the cleanest way to go about this (forcing a manual re-archive by renaming data, running DicomEdit via the Container Service, etc). Any suggestions would be greatly appreciated!

We are using XNAT version 1.10.0 and the DicomEdit script is written using version 6.6. 

Best, 
Gillian LeBlanc


Moore, Charlie

unread,
12:27 PM (6 hours ago) 12:27 PM
to xnat_di...@googlegroups.com
Hi Gillian,

In the past, we've sometimes solved this in operations by writing a script to rename sessions and then restore the original name. These days, I think that doesn't rerun project anonymization by default, so you'd have to turn it on specifically.

One of the most important things in a scenario like this is to carefully think through what your requirements are for the end state of things. When XNAT runs what we'd call "post-archive anonymization" from a trigger like this of relabeling, it will (re)run DicomEdit on the DICOM instances, but it does not touch data that has already been extracted from the DICOM and stored in the session's XML. If your anonymization process needs to change data like this, you'd want to re-upload the data and go through the full archive process again with your new script in place.

Thanks,
Charlie

From: xnat_di...@googlegroups.com <xnat_di...@googlegroups.com> on behalf of Gillian LeBlanc <gillian...@brown.edu>
Sent: Tuesday, August 4, 2026 10:49 AM
To: xnat_discussion <xnat_di...@googlegroups.com>
Subject: [XNAT Discussion] Applying dicomedit anonymization scripts to pre-existing data on XNAT.
 
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xnat_discussion/c0fd7229-28f1-4d21-b2b3-8ff04623722fn%40googlegroups.com.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Reply all
Reply to author
Forward
0 new messages