Query worked but retrieve didn't

Operating system: Windows7 and Linux Redhat7
Slicer version: Slicer-4.7.0
Expected behavior: query and retrieve
Actual behavior: query work and retrieve not.
first I install Slicer 4.7 in Linux Redhat7, use it to connect with hospital’s PACS,
query work, I can receive all the patient data, but retrieve did.
when I click “retrieve” terminal shown:
About to retrieve 1.2.840.11****.523***.500.***.20170822132 from PACS_IP
Starting to retrieve
Starting moveStudy
Negotiating Association
I: Requesting Association
I: Association Accepted (Max Send PDV: 28660)
Setting Retrieve Parameters
Sending Move Request
I: Sending C-MOVE Request (MsgID 1)
I: Received C-MOVE Response (Failed: IdentifierDoesNotMatchSOPClass)
setting value to 0
E: Identifier does not match SOP class in C-MOVE response
MOVE response receveid with status: Failed: IdentifierDoesNotMatchSOPClass
MOVE request failed, server does report error
MOVE request failed: Status Detail:
# Dicom-Data-Set
# Used TransferSyntax: Little Endian Implicit
(0000,0901) AT (0000,0600) # 4, 1 OffendingElement
(0000,0902) LO [MOVE_REQUEST_IMPROPERLY_FORMATED] # 32, 1 ErrorComment’

then I try Steve Pieper’s suggestion:

I try both cget and cmove, both not work.
then I install dcmtk,
this time findscu also work well, but movescu didn’t, the script is as follow:
./movescu --patient --key 0020,000d=1.2.840.113619.2.327.3.1695*****.707.15********.459 --output-directory /home1/try --write-file --aetitle My_NAME --call PACS_NAME PACS_IP PORT
Result is:
W: Move response with error status (Failed: IdentifierDoesNotMatchSOPClass)

Then I try to use windows version: Slicer-4.7.0
This time also install another software Radiant to test is there is something wrong with PACS server.
But with the same setting, Radiant can query and retrieve all the image. but Slicer still can only query.
When come to retrieve,
Slicer the terminal shows:

I will greatly appreciate any response.

Thanks

Regards

Ningrong

Hi all,
I’m using Redhat7, installed Slicer-4.7.0-2017-08-16-linux-amd64

Here is my problem,
I try to query from our hospital’s server.
I work, I can get all patients data.
But, I can’t retrieve any from the server.(I try both C-get and C-move both are not work )
from terminal I found:

I: Requesting Association
I: Association Accepted (Max Send PDV: 28660)
Setting Retrieve Parameters
Sending Move Request
I: Sending C-MOVE Request (MsgID 1)
I: Received C-MOVE Response (Failed: IdentifierDoesNotMatchSOPClass)
setting value to 0
E: Identifier does not match SOP class in C-MOVE response
MOVE response receveid with status: Failed: IdentifierDoesNotMatchSOPClass
MOVE request failed, server does report error
MOVE request failed: Status Detail: 
# Dicom-Data-Set
# Used TransferSyntax: Little Endian Implicit
(0000,0901) AT (0000,0600)                              #   4, 1 OffendingElement
(0000,0902) LO [MOVE_REQUEST_IMPROPERLY_FORMATED]       #  32, 1 ErrorComment

then I try to use Steve Pieper’s advice

I download and install dcmtk,
Also findscu works, but movescu not;
here is the script:
movescu --patient --key 0020,000d=1.2.840.113619.2.327.3.1695170825.707.1503019605.111 --output-directory /home1/try --write-file --aetitle MYAT --call SERVER IP_address Port
result is:
W: Move response with error status (Failed: IdentifierDoesNotMatchSOPClass)

I will appreciate any suggestions.
Thanks
Ningrong

Hi Ningrong -

Were you also running storescp? The way these DIMSE commands work is that the movescu (move user) requests that the data be sent to a storescp (store provider).

Slicer runs a storescp process (controlled by the Listener button) and configured in the query dialog. But your server (the move provider) needs to be appropriately configured to allow it to send to Slicer’s storescp.

Diagnosing these things is notoriously painful.

there are some hopefully helpful resources on the wiki:

https://www.slicer.org/wiki/Documentation/Nightly/Modules/DICOM#References

This is a great book on the topic:

Hope that helps,
Steve

I succeed connect the GEPACS and but nothing happon when click the retrieve. And the erro information was “no valid presetation contexts”. What should I do next step for retrieve and never installing other software for security?

Query-retrieve can go wrong at many levels. I would recommend to debug with DCMTK’s standalone command-line applications first (https://support.dcmtk.org/docs/mod_dcmnet.html) and once everything works, we can help transferring that configuration to work within Slicer.