I've been using storescu to send images as a test of some of our software.
Some of my data has the patient id and name replaced with space characters (anonymized). I've noticed that storescu replaces these fields with zero-length data, i.e. the field is still there, but there is no data in it.
Is there any way to bypass this behavior?
storescu alters space-filled fields during transmission
Moderator: Moderator Team
storescu alters space-filled fields during transmission
W. Blume
Stereotaxis, Inc
Stereotaxis, Inc
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
According to part 5 of the DICOM standard, trailing spaces are not significant for the value representation PN (Person Name), i.e. a value of one or more spaces is identical to an empty value. For the value representation LO (Long String), both leading and trailing spaces are non-significant.
Setting the global flag dcmEnableAutomaticInputDataCorrection to OFFalse might do what you want ...Is there any way to bypass this behavior?
Unfortunately, although the receiving program is non-compliant (it treats a zero-length field as meaning it is not present at all), I cannot modify this program, I have to live with it as is.
Your suggestion of setting the global flag sounds like a good one. I assume this is not a command line option, and I have to modify and build from source? Is that correct?
Thanks
Your suggestion of setting the global flag sounds like a good one. I assume this is not a command line option, and I have to modify and build from source? Is that correct?
Thanks
W. Blume
Stereotaxis, Inc
Stereotaxis, Inc
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Who is online
Users browsing this forum: Google [Bot] and 1 guest