Hello,
we anonymize our studies for Research/Science - Tasks with dcmodify.exe.
We will also anonymize the UIDs of the studies. Which is the right way to this do this as a batch-Job?
Greetings from Berlin,
Hans
Anonymize UIDs
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2072
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Anonymize UIDs
Hi,
Study, Series and SOP Instance UID can be replaced by newly generated UIDs using these options:
However, other UIDs, e.g within sequences (e.g. references), other tags, private data (you should remote private data anyway unless you know it's safe) cannot replaced by dcmodify in an automated fashion.
Also, if you replace UIDs, you usually have to do it consistently within all the files in a study and/or series, i.e. the UID for the Study must be the same for all files in the Study. This cannot be done with dcmodify either (it does not "cache" all replaced UIDs).
A good anonymization tool (as far as I know, did not try it) is CTP, another one that I would check is David Clunie's DicomCleaner.
Best regards,
Michael
Study, Series and SOP Instance UID can be replaced by newly generated UIDs using these options:
Code: Select all
unique identifier:
-gst --gen-stud-uid generate new Study Instance UID
-gse --gen-ser-uid generate new Series Instance UID
-gin --gen-inst-uid generate new SOP Instance UID
Also, if you replace UIDs, you usually have to do it consistently within all the files in a study and/or series, i.e. the UID for the Study must be the same for all files in the Study. This cannot be done with dcmodify either (it does not "cache" all replaced UIDs).
A good anonymization tool (as far as I know, did not try it) is CTP, another one that I would check is David Clunie's DicomCleaner.
Best regards,
Michael
Who is online
Users browsing this forum: No registered users and 1 guest