DICOMDIR problem when uploading zipped study

214 views
Skip to first unread message

RafalG

unread,
Aug 13, 2021, 4:24:25 AM8/13/21
to Orthanc Users
hi, i got some problematic study file (a zip archive)
upload to Orthanc fails
Orthanc log shows error message:
E0813 09:57:58.307396 DicomMap.cpp:1010] Store has failed because all the required tags (PatientID, StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID) are missing (is it a DICOMDIR file?)

and as the log says, there is a DICOMDIR file in the zip archive. Now when i remove the DICOMDIR file from archive and re-create the zip without it, the upload will complete successfully and Orthanc will have all the necessary tags  (PatientID, StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID) extracted from the instance files.

could you please recommend a good way of solving the invalid/incomplete DICOMDIR problem? maybe some logic customization is possible in Orthanc that will make it ignore these files?

thanks
RG


Sébastien Jodogne

unread,
Aug 13, 2021, 11:42:32 AM8/13/21
to Orthanc Users
Hello,

Thanks for reporting this issue. It is now solved by the following changeset that will be part of forthcoming Orthanc 1.9.7:

Regards,
Sébastien-

RafalG

unread,
Aug 16, 2021, 5:37:59 AM8/16/21
to Orthanc Users

thanks for such a quick fix. will wait for next release.

Marcel Nóbrega

unread,
Sep 8, 2021, 7:40:03 PM9/8/21
to Orthanc Users
Thanks for this fix. Already helped a lot.


Some systems export studies with a .zip file (or files) containing dicoms files inside a parent .zip..
Something like: 
- study.zip
- Inside study.zip there is a series.zip
- Inside series.zip there is a folder tree. In the end of it lies the DICOM files (I cant imagine why such a complicated export like this).

Anyway, In those cases there is an error when trying to upload this parent .zip to Orthanc in Orthanc Explorer...


Thanks for the great work.

Reply all
Reply to author
Forward
0 new messages