Hello
I'm quite new to DICOM and DCMTK in general, I'm trying to understand how queries do work.
I set up a ConQuest server listening on port 5678 (version 1.4.9a - I also tried with 1.4.8 -). Echoscu is working, I could also send some .dcm onto the server.
Now I'm trying to retrieve some files from the database, I have a dcm whose patient ID is ACN000004 :
Here is the answer from Conquest, it tells one picture is going to be sent but MOVESCU refuses the connection :movescu -k "0010,0020=ACN000004" 127.0.0.1 5678
-----[CONQUESTSRV1]
[CONQUESTSRV1] UPACS THREAD 14: STARTED AT: Wed Nov 02 16:16:20 2005
[CONQUESTSRV1] Calling Application Title : "MOVESCU "
[CONQUESTSRV1] Called Application Title : "ANY-SCP "
[CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1"
[CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.1"
[CONQUESTSRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.1.2"
[CONQUESTSRV1] C-Move Destination: "MOVESCU "
[CONQUESTSRV1] Number of images to send: 1
[CONQUESTSRV1] Host 'MOVESCU' did not accept the connection
[CONQUESTSRV1] C-Move (PatientRoot)
[CONQUESTSRV1] UPACS THREAD 14: ENDED AT: Wed Nov 02 16:16:26 2005
[CONQUESTSRV1] UPACS THREAD 14: TOTAL RUNNING TIME: 6 SECONDS
Ok, the problem was related to ConQuest. Here's my own answer - In the "known DICOM providers", one has to add a line such as :
Code: Select all
MOVESCU 127.0.0.1 104 un
Code: Select all
(0008,0052) CS [PATIENT] # QueryRetrieveLevel
(0010,0020) LO [*] # PatientID
Code: Select all
movescu localhost 5678 query.dcm