You could also do it the following way: (you need to download dcmtk)
Assuming you have a bunch of files called MR.*

for dicom in MR.*
do
    dcmodify -m "(0010,0010)=PatientsName" ${dicom}
    dcmodify -m "(0010,0030)=YYYYMMDD" ${dicom}
done

This backs up all the dicoms (they become "MR.*.bak"), which you can delete when you verify the new header. Replace "PatientsName" with whatever you want. However, as Michael Harms mentioned there may be identifying info elsewhere in the file.

On 03/21/2014 12:10 PM, Bruce Fischl wrote:
yup, that's it
thanks Caspar
Bruce
On Fri, 21 Mar 2014, Caspar M. Schwiedrzik wrote:

Thanks to all that have replied so far!
Bruce, are you referring to this: http://freesurfer.net/fswiki/BIRND-UP ?
Thanks, Caspar



2014-03-20 17:40 GMT-04:00 Harms, Michael <mha...@wustl.edu>:

Hi Caspar,
I can't address your question regarding a specific tool, but wanted to
mention a note of caution.
You need to make sure that you scrub any identifying info from
Siemen's custom DICOM fields (not just the obvious public DICOM
fields).
The challenge of doing that is why the safest thing is to not enter
any identifying info at the scanner to begin with.

cheers,
-MH

--
Michael Harms, Ph.D.
-----------------------------------------------------------
Conte Center for the Neuroscience of Mental Disorders
Washington University School of Medicine
Department of Psychiatry, Box 8134
660 South Euclid Ave. Tel: 314-747-6173
St. Louis, MO  63110 Email: mha...@wustl.edu

From: "Caspar M. Schwiedrzik" <cschwie...@mail.rockefeller.edu>
Reply-To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Date: Thursday, March 20, 2014 4:29 PM
To: "Freesurfer@nmr.mgh.harvard.edu" <freesurfer@nmr.mgh.harvard.edu>
Cc: Julia Sliwa <jsl...@mail.rockefeller.edu>
Subject: [Freesurfer] Anonymizing Siemens DICOM files

Hi Freesurfer Experts,
we are looking for a good way to remove subject names and dates of
birth from Siemens DICOM headers. Is there something implemented in
Freesurfer?

Matlab's Image Processing Toolbox has a function to anonymize DICOM
files (http://www.mathworks.com/help/images/ref/dicomanon.html), but
we later run into trouble with unpacksdcmdir when we use that.

Thanks, Caspar




____________________________________________________________________________


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.


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom
it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you
in error
but does not contain patient information, please contact the sender
and properly
dispose of the e-mail.






_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to