Hello,
First, thank you for your software. I have been using the storescp application with the -ss option. I see that I am allowed to use a prefix such that the subdirectory containing my stored dicom files has a name <prefix>_<date>_<time>. I would like to replace the prefix with the value of a dicom tag such as patientid or patient name. Since these values are not known to me when I start up the storescp process, I am not able to set the prefix to these values. Can you suggest a method of using patient name as the prefix?
Thanks again,
Jeff
Rename directory of stored images
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
A new option like this has already been added to the internal development version of DCMTK:
In case you're interested, we could make a current CVS snapshot available to you. Just send an e-mail to dicom/at/offis/dot/de.
Code: Select all
**** Changes from 2006.07.14 (eichelberg)
- Added new command line option --sort-on-patientsname that sorts images into
study folders named by the patient's name followed by a timestamp.
Thanks to Prashant Nair <e-mail-address-removed> for the contribution
on which the implementation is based.
Affects: dcmnet/apps/storescp.cc
dcmnet/docs/storescp.man
Who is online
Users browsing this forum: Google [Bot] and 1 guest