Can we change Patient Name and Patiend ID using Dicomremapper (dicombrowser command line tool)?

650 views
Skip to first unread message

Haiyan

unread,
Jan 22, 2010, 3:24:33 PM1/22/10
to xnat_discussion
Hello,

I experiment to use DicomRemapper (the Dicombrowser comman-line tool)
to change dicom file attribute value.
The remapping attributes are: Patient Name(0008,0080), Patient ID
(0010,0020), Study ID (0020,0010), Study description (0008,1030),
Additional Patients History (0010,21B0).

It turns out that Patient Name and Patient ID couldn't be changed.

Does DicomRemapper designed like that way? Or something I should be
noticed? I used DicomBrowser v. 1.5-SNAPSHOT (r. 582, 2009-08-19) .

Thanks a lot for any suggextion.

Haiyan

Dan

unread,
Jan 23, 2010, 3:30:47 PM1/23/10
to xnat_discussion
It's definately not designed to work like that -- we use it to modify
Patient Name and ID all the time. Patient name is tag (0010,0010) and
Patient ID is tag (0010,0020). Try changing your anon script to those
tags and see how it goes.

Dan

Kevin Archie

unread,
Jan 24, 2010, 10:22:34 AM1/24/10
to xnat_di...@googlegroups.com
As Dan mentioned, DicomRemap should be able to do what you describe. Could you please send a copy both of your anonymization script and of the command line arguments you pass to DicomRemap? That will help us to figure out what's going wrong.

Thanks,
Kevin

> --
> You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
> To post to this group, send email to xnat_di...@googlegroups.com.
> To unsubscribe from this group, send email to xnat_discussi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/xnat_discussion?hl=en.

Haiyan

unread,
Jan 25, 2010, 9:41:31 AM1/25/10
to xnat_discussion
Thanks for pointed that. I was using (0010,0010) for Patient Name tag
at my .xml file. I typed wrong one when I post here.

In my case I didn't write anon script to change on Dicom file. I
wrote .xml file, use Dicomsummarize to generate spreadsheet, make
change on .csv file, then use Dicomremap to change the value of
attributes which I listed before. In my experiment Patient Name
(0010,0010) and Patient ID(0010,0020) didn't change, the other two
attributes' value has been change without problem.

Thanks,
Haiyan

Haiyan

unread,
Jan 25, 2010, 10:03:25 AM1/25/10
to xnat_discussion
In my case, I use Dicomsummarize to generate spreadsheet from image
data, make change on the .csv file, then use DicomRemap to apply those
change to the image data (Dicom file). I use Dicombrowser to open the
The output is Patient Name and Patient ID didn't change, other
attributes' value has

Here is the script:
remapTest.xml
-----------
<?xml version="1.0" encoding="UTF-8"?>
<!-- New document created with EditiX at Wed Dec 23 14:05:12 EST 2009
-->

<Columns>
<Global>(0008,0080)</Global>

<Patient remap="New Patient Name">(0010,0010)</Patient>

<Patient remap="Patient ID">(0010,0020)</Patient>

<!--Study ID-->
<Study remap="Study ID">(0020,0010)</Study>

<!--Series Number-->
<Series>(0020,0011)</Series>

<!--Study descrition-->
<Series remap="study description">(0008,1030)</Series>

<!--Additional Patients history-->
<Series remap="Patients History">(0010,21B0)</Series>

</Columns>
----------

The command I used:
--------
dicomsummarize -c remapTest.xml -v remapTest.csv 0186193_1
dicomremap -c remapTest.xml -o Output-noComma \ -v remapTest-
noComma.csv 0186193_1
---------
Everything goes well except the values of Patient Name and Patient ID
remain same.

Thanks for the help.

Haiyan

Kevin Archie

unread,
Jan 26, 2010, 5:07:41 PM1/26/10
to xnat_di...@googlegroups.com
That seems wrong. I'll look into it as soon as I can (might be a few days, sorry).

- Kevin

Reply all
Reply to author
Forward
0 new messages