[DICOMEdit] Anonymization script for DICOM group removal

160 views
Skip to first unread message

Jordi Huguet

unread,
Mar 7, 2016, 4:25:44 AM3/7/16
to DicomBrowser users
Hi there,

This is not a DicomBrowser issue, but a DICOMEdit one which I undestand is a language used both in XNAT and DicomBrowser. 
I would like to add a rule in my XNAT site-wide anon script to get rid of all elements of a given group. Something like:

//delete any group 0013 occurrences 
- (0013,*)

Is it possible to use wildcards somehow? I have been unable to find a proper example of how to achieve that. 

All I have found is a DICOMEdit presentation here (2012) announcing as a future feature "Tag patterns (or special support for vendor private tags)" and that is -I believe- what I am looking for. However I am not sure if (a) is such feature available currently and (b) how can I use it.

Thanks,
Jordi

Kevin Archie

unread,
Mar 7, 2016, 12:20:33 PM3/7/16
to dicombrow...@googlegroups.com
Hi, Jordi,

Yes, unfortunately the DicomEdit docs are quite a bit behind the implementation.

Starting with version 3.0.0, there are three single-digit wildcards: X for any digit, # for any odd digit (mnemonic: on 3 key), @ for any even digit (mnemonic: on 2 key). So you should be able to do something like:

- (0013,XXXX)

or any vendor private tags like so:

- (XXX#,XXXX)

Kevin


--
You received this message because you are subscribed to the Google Groups "DicomBrowser users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dicombrowser-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jordi Huguet

unread,
Mar 8, 2016, 5:53:26 AM3/8/16
to dicombrow...@googlegroups.com
Thanks for the input, Kevin.

Do you have any idea when will version 3.0.0 see the light aprox.?

Jordi   

--
You received this message because you are subscribed to a topic in the Google Groups "DicomBrowser users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dicombrowser-users/T0zn0tHGVbc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dicombrowser-us...@googlegroups.com.

Kevin Archie

unread,
Mar 8, 2016, 7:42:58 AM3/8/16
to dicombrow...@googlegroups.com
Hi, Jordi,

XNAT went to 4.0.0 almost 2 years ago, so this should be available in your XNAT. I added the version qualifier because there are a lot of older DicomBrowser builds around.

Kevin
Reply all
Reply to author
Forward
0 new messages