Project

General

Profile

Actions

Patch #893

open

Include Patient ID into directory names generated by storescp --sort-on-patientname

Added by Marco Eichelberg about 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Application
Target version:
-
Start date:
2019-08-05
Due date:
% Done:

0%

Estimated time:
Module:
dcmnet
Operating System:
Compiler:

Description

The submitter of this patch writes: "I've been using dcmtk here-and-there for some time now and I want to address a point which led me to compile my own version lately. When using strescp, the user can choose different ways how the software create the directory name. Using Study Instance UID will produce non-human-friendly names. Selecting patient name on the other hand would append a time-stamp. We usually use to send an exam over in multiple chunks. That results in multiple directories when selecting patient name as a choice. Our use case would prefer the following pattern:

<patient name>_<study date>_<patient ID>
One may argue that the directory name may be not unique if a patient has multiple exams on the same date, but its not bothering to us.

Another annoying point is the character mangling. There are several accented characters in Hungarian an some of them are replaced by a combination. An example is Turkish in Hungarian: Török. It will be encoded as TOeROeK. That is disturbing. I would prefer TOROK instead of TOeROeK. Therefore I also modified the character lookup table in the source file. I took over the character washing part from the patient name to the study date and the patient ID as well, despite noone expects accented characters in those fields. You may never be sure...

Submitted by Attila Tóth <> on 2019-08-02.


Files

Actions

Also available in: Atom PDF