Orthanc reject when receiving dicom from Modality

Hi Author,
I am connecting Orthanc to the DX Modality. However when Modality transfered dicom to Orthanc, Orthanc rejected with the following error

I0112 16:20:09.778032 main.cpp:317] Incoming connection from AET RADMAX on IP 172.16.24.37, calling AET HELLO
I0112 16:20:09.778051 CommandDispatcher.cpp:664] (dicom) Association Acknowledged (Max Send PDV: 16372) to AET RADMAX on IP 172.16.24.37
I0112 16:20:09.790648 CommandDispatcher.cpp:929] (dicom) Finishing association with AET RADMAX on IP 172.16.24.37: DIMSE: Command Parse Failed: Element: (0000,1000) AffectedSOPInstanceUID

The dicom file exported directly from Modality does not have tag (0000,1000). I suspected that Modality sent additional tag (0000,1000) during handshake session.
Could you please help to investigate why Orthanc cannot parse tag (0000,1000) ?

Thanks,

orthanc log.txt (2.99 KB)

Dicom file can be downloaded from : https://drive.google.com/file/d/1uN2Nq6UU-OqgUFLJH8veO3xcUE3RCOfI/view?usp=share_link

Hi,

This tag is actually not part of the file itself but part of the DIMSE C-Store RQ message. Reference.

I would suggest you to get in touch with the commercial support of your modality.

You may also capture the network traffic with Wireshark to check the value of this tag in the message but, in any case, I’m afraid there’s nothing we can do about it in Orthanc.

Best regards,

Alain.

Thanks Alain,
Browsing Orthanc code, that’s error message is comming from Modality. Thanks again

Thanks to @Stephen D. Scotti, the issue comes from the VR of SOPInstanceUID is too long. According to the Dicom Standard, maximum length of UI (VR of SOPInstanceUID) is 64 bytes, whilst modality generated 68 bytes. It’s due my bug in Worklist Program. I’ve fixed that and it does work.