Weasis Connection to PACS (MediQPACS / Orthanc)

1,321 views
Skip to first unread message

Michael L.

unread,
Apr 11, 2020, 9:39:37 PM4/11/20
to dcm4che
Hi,

I really love Weasis but recently I stumbled across a difficult problem: I have QNAP MediQPACS running on my NAS and I'm trying to connect with Weasis to import images. I can search the DB and select images, whenever I try to import them, I either get "C-MOVE: Network not available" or C-MOVE "DICOM status: 49152DICOM C-MOVE connected in 8ms from WEASIS to MEDIQPACS. Sent files in 5ms.".
In either case, I get no files to look at. What am I doing wrong? 

Nicolas Roduit

unread,
Apr 13, 2020, 11:20:15 AM4/13/20
to dcm4che
The old DICOM operations are not suitable for transfer over the web. See this post. Anyway, it should work with Weasis (look at log file). It seems that a configuration on the server-side is reuired.

It would be better to use directly DICOMweb protocols- Look at how to connect Weasis with DICOMweb, you can try to press on the button related to Orthanc to see how it works.

Michael L.

unread,
Apr 13, 2020, 5:15:44 PM4/13/20
to dcm4che
Thanks a lot for the answer! I'll look it up. I also suspect something on the server side, however, every other viewer works just fine. Does anybody know what the "Default" Dicom node looks like on the server side? What's Weasis' AETitle by default? Which port does it use? 11112?

Nicolas Roduit

unread,
Apr 14, 2020, 1:50:33 AM4/14/20
to dcm4che
With C-Get the port is automatically negotiated and the AEtitle is the one you select (see in the image). For C-Move is the node configuration in Weasis and the same on the server-side.

Sélection_026.png

Michael L.

unread,
Apr 14, 2020, 10:22:02 AM4/14/20
to dcm4che
Thanks! I found the log file. That's what it says:
Any idea what's the problem?

14.04.2020 16:18:23.102 *INFO* [AWT-EventQueue-0] org.weasis.dicom.qr.DicomQrFactory: DICOM Q/R is activated
14.04.2020 16:18:29.653 *INFO* [AWT-EventQueue-0] org.dcm4che3.net.Connection: Initiate connection from 0.0.0.0/0.0.0.0:0 to 192.168.1.109:104
14.04.2020 16:18:29.659 *INFO* [AWT-EventQueue-0] org.dcm4che3.net.Connection: Established connection Socket[addr=/192.168.1.109,port=104,localport=49609]
14.04.2020 16:18:29.669 *INFO* [AWT-EventQueue-0] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(1) << A-ASSOCIATE-RQ
14.04.2020 16:18:29.701 *INFO* [pool-3-thread-1] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(1) >> A-ASSOCIATE-AC
14.04.2020 16:18:29.707 *INFO* [AWT-EventQueue-0] org.dcm4che3.net.Dimse: WEASIS->MEDIQPACS(1) << 1:C-FIND-RQ[pcid=1, prior=0
  cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
  tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]
14.04.2020 16:18:29.750 *INFO* [pool-3-thread-1] org.dcm4che3.net.Dimse: WEASIS->MEDIQPACS(1) >> 1:C-FIND-RSP[pcid=1, status=ff00H
  cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
  tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]
14.04.2020 16:18:29.751 *INFO* [pool-3-thread-1] org.dcm4che3.net.Dimse: WEASIS->MEDIQPACS(1) >> 1:C-FIND-RSP[pcid=1, status=ff00H
  cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
  tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]
14.04.2020 16:18:29.752 *INFO* [pool-3-thread-1] org.dcm4che3.net.Dimse: WEASIS->MEDIQPACS(1) >> 1:C-FIND-RSP[pcid=1, status=0H
  cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
  tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]
14.04.2020 16:18:29.752 *INFO* [AWT-EventQueue-0] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(1) << A-RELEASE-RQ
14.04.2020 16:18:29.759 *INFO* [pool-3-thread-1] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(1) >> A-RELEASE-RP
14.04.2020 16:18:29.759 *INFO* [pool-3-thread-1] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(1): close Socket[addr=/192.168.1.109,port=104,localport=49609]
14.04.2020 16:18:33.292 *INFO* [pool-6-thread-1] org.dcm4che3.net.Connection: Start TCP Listener on /192.168.1.107:11112
14.04.2020 16:18:33.294 *INFO* [Dicom Q/R task-pool-5-thread-1] org.dcm4che3.net.Connection: Initiate connection from /192.168.1.107:0 to 192.168.1.109:104
14.04.2020 16:18:33.296 *INFO* [Dicom Q/R task-pool-5-thread-1] org.dcm4che3.net.Connection: Established connection Socket[addr=/192.168.1.109,port=104,localport=49610]
14.04.2020 16:18:33.297 *INFO* [Dicom Q/R task-pool-5-thread-1] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(2) << A-ASSOCIATE-RQ
14.04.2020 16:18:33.299 *INFO* [pool-8-thread-1] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(2) >> A-ASSOCIATE-AC
14.04.2020 16:18:33.300 *INFO* [Dicom Q/R task-pool-5-thread-1] org.dcm4che3.net.Dimse: WEASIS->MEDIQPACS(2) << 1:C-MOVE-RQ[pcid=1, prior=0
  cuid=1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
  tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]
14.04.2020 16:18:33.310 *INFO* [pool-8-thread-1] org.dcm4che3.net.Dimse: WEASIS->MEDIQPACS(2) >> 1:C-MOVE-RSP[pcid=1, completed=0, failed=0, warning=0, status=c000H
  cuid=1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
  tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]
14.04.2020 16:18:33.311 *INFO* [Dicom Q/R task-pool-5-thread-1] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(2) << A-RELEASE-RQ
14.04.2020 16:18:33.312 *ERROR* [Dicom Q/R task-pool-5-thread-1] org.weasis.dicom.qr.RetrieveTask: Dicom retrieve error: DICOM status:49152DICOM C-MOVE connected in 6ms from WEASIS to MEDIQPACS. Sent files in 12ms.
14.04.2020 16:18:33.313 *INFO* [pool-6-thread-1] org.dcm4che3.net.Connection: Stop TCP Listener on /192.168.1.107:11112
14.04.2020 16:18:33.313 *INFO* [pool-8-thread-1] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(2) >> A-RELEASE-RP
14.04.2020 16:18:33.314 *INFO* [pool-8-thread-1] org.dcm4che3.net.Association: WEASIS->MEDIQPACS(2): close Socket[addr=/192.168.1.109,port=104,localport=49610]
14.04.2020 16:18:33.370 *INFO* [AWT-EventQueue-0] org.weasis.dicom.explorer.LoadLocalDicom: End of loading DICOM locally

Nicolas Roduit

unread,
Apr 20, 2020, 6:54:25 AM4/20/20
to dcm4che
There is an error (status:49152 => unable to process) on the server-side, check the log on the server:
14.04.2020 16:18:33.312 *ERROR* [Dicom Q/R task-pool-5-thread-1] org.weasis.dicom.qr.RetrieveTask: Dicom retrieve error: DICOM status:49152DICOM C-MOVE connected in 6ms from WEASIS to MEDIQPACS. Sent files in 12ms.

Reply all
Reply to author
Forward
0 new messages