Combination of DicomStore SCP and DicomDir
Moderator: Moderator Team
-
- Posts: 8
- Joined: Fri, 2006-12-15, 12:02
Combination of DicomStore SCP and DicomDir
Hi Folks,
I would like to build a combination of storescp and dcmmkdir.
My problem is now, that the output from the storescp does not match the Dicom Standard (regarding Filenames) that the dcmmkdir expected.
Is there an option for the StoreSCP to write Filenames without extension and only 8 Characters?
as far as I understand, the dcmmkdir works only Dicom conform (8Characters) but the StoreSCP writes Filenames with: 1. A unique random Number, 2. with the SUID as Filename, 3. create Filename with Date information
Any help would be very appreciated
Regards
Holger
I would like to build a combination of storescp and dcmmkdir.
My problem is now, that the output from the storescp does not match the Dicom Standard (regarding Filenames) that the dcmmkdir expected.
Is there an option for the StoreSCP to write Filenames without extension and only 8 Characters?
as far as I understand, the dcmmkdir works only Dicom conform (8Characters) but the StoreSCP writes Filenames with: 1. A unique random Number, 2. with the SUID as Filename, 3. create Filename with Date information
Any help would be very appreciated
Regards
Holger
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- Posts: 8
- Joined: Fri, 2006-12-15, 12:02
-
- Posts: 8
- Joined: Fri, 2006-12-15, 12:02
Hello Community,
fortunately I got an answer of my question regarding the -rns option.
Unfortunately this option only affects the Filename and not the Foldername. I'm trying to combine those two lovely sweet tiny Storescp and dmcmkdir applications, but do not get it to work.
Maybe someone could please explain, how to solve that.
If there is no possibilty to do that by a switch it seems, that i have to try to write a little batch or vbs script for that.
Is it possible to change the behaviour of the dcmmkdir, that it accepts longer fodler names?
or
Is it possible to change the behaviour of the Storescp to generate only 8 Character long foldernames.
Thanks in advance
Holger Hamburger
fortunately I got an answer of my question regarding the -rns option.
Unfortunately this option only affects the Filename and not the Foldername. I'm trying to combine those two lovely sweet tiny Storescp and dmcmkdir applications, but do not get it to work.
Maybe someone could please explain, how to solve that.
If there is no possibilty to do that by a switch it seems, that i have to try to write a little batch or vbs script for that.
Is it possible to change the behaviour of the dcmmkdir, that it accepts longer fodler names?
or
Is it possible to change the behaviour of the Storescp to generate only 8 Character long foldernames.
Thanks in advance
Holger Hamburger
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
You could use option --input-directory for this purpose. Please note, however, that this does not affect the directory names added to the DICOMDIR since the DICOM standard limits the length of the name components of the Referenced File ID.Is it possible to change the behaviour of the dcmmkdir, that it accepts longer fodler names?
Should be no problem to create shorter directory names like "ST000001". However, this limits the number of unique study directory names significantly. You should also make sure that you handle the possible counter overflow appropriately.Is it possible to change the behaviour of the Storescp to generate only 8 Character long foldernames.
-
- Posts: 8
- Joined: Fri, 2006-12-15, 12:02
Hello Jörg,
thank you very much for your fast reply. Sorry for the confusion, but
My concern is, that a modality is able to send images to the storescp and that for every new image an additional dicomdir entry is created, so that a Dicom-viewer is able to read the images comfortably (small solution)
Again Thank you very much and keep going develop such cool tools
Take care
Holger Hamburger
thank you very much for your fast reply. Sorry for the confusion, but
Do you mean "should be no problem for a developer to change the StoreSCP Code or is there a hidden option? (even I'm not a developer : (Should be no problem to create shorter directory names like "ST000001". However, this limits the number of unique study directory names significantly. You should also make sure that you handle the possible counter overflow appropriately.
My concern is, that a modality is able to send images to the storescp and that for every new image an additional dicomdir entry is created, so that a Dicom-viewer is able to read the images comfortably (small solution)
Again Thank you very much and keep going develop such cool tools
Take care
Holger Hamburger
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest