Open drtjre opened 8 years ago
Able to perform FINDSCU but not GETSCU on the GE ARCH PACS.
GE contact recommended checking this documentation
Page 18/19 for the supported SOP classes
Then tried using MOVESCU and received the following error:
14:19:29,995 INFO - YETI->AE_ARCH2_4PR(1) >> 1:C-MOVE-RSP[pcid=1, status=a801H, errorComment=YETI@10.40.38.52:11112 is a unknown move destination
tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian
14:19:29,995 DEBUG - Command:
(0000,0100) US [32801] CommandField
(0000,0120) US [1] MessageIDBeingRespondedTo
(0000,0800) US [257] CommandDataSetType
(0000,0900) US [43009] Status
(0000,0902) LO [YETI@10.40.38.52:11112 is a unknown move destination] ErrorCom
MC526512:riqae pacs$ findscu -r PatientID -r StudyDate -r StudyDescription -r StudyInstanceUID -m 00080052="STUDY" -m PatientID=USB0003510658 -b YETI -c GRASP_SERVER@10.5.66.120:4100
08:44:52,771 INFO - Initiate connection from 0.0.0.0/0.0.0.0:0 to 10.5.66.120:4100
08:44:52,786 INFO - Established connection Socket[addr=/10.5.66.120,port=4100,localport=63266]
08:44:52,793 DEBUG - /10.40.38.52:63266->/10.5.66.120:4100(1): enter state: Sta4 - Awaiting transport connection opening to complete
08:44:52,794 INFO - YETI->GRASP_SERVER(1) << A-ASSOCIATE-RQ
08:44:52,801 DEBUG - A-ASSOCIATE-RQ[
calledAET: GRASP_SERVER
callingAET: YETI
applicationContext: 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
implClassUID: 1.2.40.0.13.1.1
implVersionName: dcm4che-3.3.7
maxPDULength: 16378
maxOpsInvoked/maxOpsPerformed: 0/0
PresentationContext[id: 1
as: 1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
ts: 1.2.840.10008.1.2 - Implicit VR Little Endian
ts: 1.2.840.10008.1.2.1 - Explicit VR Little Endian
ts: 1.2.840.10008.1.2.2 - Explicit VR Big Endian (Retired)
]
]
...
08:44:52,838 DEBUG - Dataset:
(0008,0005) CS [ISO_IR 100] SpecificCharacterSet
(0008,0020) DA [20141014] StudyDate
(0008,0052) CS [STUDY] QueryRetrieveLevel
(0008,0054) AE [GRASP_SERVER] RetrieveAETitle
(0008,0056) CS [ONLINE] InstanceAvailability
(0008,1030) LO [MRI Thorax] StudyDescription
(0010,0020) LO [USBXXXXXXXXX] PatientID
(0020,000D) UI [1.2.840.113619.6.95.31.0.3.4.1.4285.13.24135619] StudyInstance
(0088,0130) SH [] StorageMediaFileSetID
(0088,0140) UI [] StorageMediaFileSetUID
MC526512:riqae pacs$ getscu -L STUDY -b YETI -c GRASP_SERVER@10.5.66.120:4100 -m StudyInstanceUID="1.2.840.113619.6.95.31.0.3.4.1.4285.13.24135619" --directory /tmp/getout
09:03:03,070 INFO - Initiate connection from 0.0.0.0/0.0.0.0:0 to 10.5.66.120:4100
09:03:03,078 INFO - Established connection Socket[addr=/10.5.66.120,port=4100,localport=63385]
09:03:03,085 DEBUG - /10.40.38.52:63385->/10.5.66.120:4100(1): enter state: Sta4 - Awaiting transport connection opening to complete
09:03:03,086 INFO - YETI->GRASP_SERVER(1) << A-ASSOCIATE-RQ
09:03:03,091 DEBUG - A-ASSOCIATE-RQ[
calledAET: GRASP_SERVER
callingAET: YETI
applicationContext: 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
implClassUID: 1.2.40.0.13.1.1
implVersionName: dcm4che-3.3.7
maxPDULength: 16378
...
09:03:11,285 INFO - YETI->GRASP_SERVER(1): M-WRITE /tmp/getout/1.3.12.2.1107.5.2.30.25027.30000014101405221404600000250
09:03:11,286 INFO - YETI->GRASP_SERVER(1) << 1455:C-STORE-RSP[pcid=35, status=0H
cuid=1.2.840.10008.5.1.4.1.1.88.22 - Enhanced SR Storage
iuid=1.3.12.2.1107.5.2.30.25027.30000014101405221404600000250 - ?
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian
09:03:11,286 DEBUG - Command:
(0000,0002) UI [1.2.840.10008.5.1.4.1.1.88.22] AffectedSOPClassUID
(0000,0100) US [32769] CommandField
(0000,0120) US [1455] MessageIDBeingRespondedTo
(0000,0800) US [257] CommandDataSetType
(0000,0900) US [0] Status
(0000,1000) UI [1.3.12.2.1107.5.2.30.25027.30000014101405221404600000250] Affe
09:03:11,296 INFO - YETI->GRASP_SERVER(1) >> 1:C-GET-RSP[pcid=1, completed=1454, failed=0, warning=0, status=0H
cuid=1.2.840.10008.5.1.4.1.2.2.3 - Study Root Query/Retrieve Information Model - GET
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian
09:03:11,296 DEBUG - Command:
(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.3] AffectedSOPClassUID
(0000,0100) US [32784] CommandField
(0000,0120) US [1] MessageIDBeingRespondedTo
(0000,0800) US [257] CommandDataSetType
(0000,0900) US [0] Status
(0000,1021) US [1454] NumberOfCompletedSuboperations
(0000,1022) US [0] NumberOfFailedSuboperations
(0000,1023) US [0] NumberOfWarningSuboperations
09:03:11,296 INFO - YETI->GRASP_SERVER(1) << A-RELEASE-RQ
09:03:11,296 DEBUG - YETI->GRASP_SERVER(1): enter state: Sta7 - Awaiting A-RELEASE-RP PDU
09:03:11,297 INFO - YETI->GRASP_SERVER(1) >> A-RELEASE-RP
09:03:11,297 INFO - YETI->GRASP_SERVER(1): close Socket[addr=/10.5.66.120,port=4100,localport=63385]
09:03:11,297 DEBUG - YETI->GRASP_SERVER(1): enter state: Sta1 - Idle
MC526512:riqae pacs$
MC526512:riqae pacs$
MC526512:riqae pacs$ ls /tmp/getout | more
1.3.12.2.1107.5.2.30.25027.2014101414214089844372580
1.3.12.2.1107.5.2.30.25027.2014101414214217874772583
1.3.12.2.1107.5.2.30.25027.2014101414214346097072586
1.3.12.2.1107.5.2.30.25027.2014101414214474250372589
1.3.12.2.1107.5.2.30.25027.201410141421462442372592
1.3.12.2.1107.5.2.30.25027.2014101414214730630972595
...
MC526512:riqae pacs$ findscu -c AE_ARCH2_4PR@10.5.66.74:104 -b YETI -r PatientID -r StudyDate -r StudyDescription -m QueryRetrieveLevel="SERIES" -m PatientID=USB0003510658
09:14:04,714 INFO - Initiate connection from 0.0.0.0/0.0.0.0:0 to 10.5.66.74:104
09:14:04,721 INFO - Established connection Socket[addr=/10.5.66.74,port=104,localport=63404]
09:14:04,729 DEBUG - /10.40.38.52:63404->/10.5.66.74:104(1): enter state: Sta4 - Awaiting transport connection opening to complete
09:14:04,730 INFO - YETI->AE_ARCH2_4PR(1) << A-ASSOCIATE-RQ
09:14:04,737 DEBUG - A-ASSOCIATE-RQ[
calledAET: AE_ARCH2_4PR
callingAET: YETI
applicationContext: 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
implClassUID: 1.2.40.0.13.1.1
implVersionName: dcm4che-3.3.7
...
09:14:04,848 DEBUG - Dataset:
(0008,0020) DA [20141014] StudyDate
(0008,0052) CS [SERIES] QueryRetrieveLevel
(0008,0054) AE [AE_ARCH2_4PR] RetrieveAETitle
(0008,0056) CS [NEARLINE] InstanceAvailability
(0008,1030) LO [MRI Thorax] StudyDescription
(0010,0020) LO [USB0003510658] PatientID
09:14:04,849 INFO - YETI->AE_ARCH2_4PR(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
09:14:04,849 DEBUG - Command:
(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.1] AffectedSOPClassUID
(0000,0100) US [32800] CommandField
(0000,0120) US [1] MessageIDBeingRespondedTo
(0000,0800) US [257] CommandDataSetType
(0000,0900) US [0] Status
09:14:04,849 INFO - YETI->AE_ARCH2_4PR(1) << A-RELEASE-RQ
09:14:04,849 DEBUG - YETI->AE_ARCH2_4PR(1): enter state: Sta7 - Awaiting A-RELEASE-RP PDU
09:14:04,851 INFO - YETI->AE_ARCH2_4PR(1) >> A-RELEASE-RP
09:14:04,851 INFO - YETI->AE_ARCH2_4PR(1): close Socket[addr=/10.5.66.74,port=104,localport=63404]
09:14:04,851 DEBUG - YETI->AE_ARCH2_4PR(1): enter state: Sta1 - Idle
MC526512:riqae pacs$ getscu -c AE_ARCH2_4PR@10.5.66.74:104 -b YETI -L STUDY -m StudyInstanceUID="1.2.840.113619.6.95.31.0.3.4.1.4285.13.24135619" --directory /tmp/getout
09:20:33,948 INFO - Initiate connection from 0.0.0.0/0.0.0.0:0 to 10.5.66.74:104
09:20:33,956 INFO - Established connection Socket[addr=/10.5.66.74,port=104,localport=63416]
09:20:33,963 DEBUG - /10.40.38.52:63416->/10.5.66.74:104(1): enter state: Sta4 - Awaiting transport connection opening to complete
09:20:33,964 INFO - YETI->AE_ARCH2_4PR(1) << A-ASSOCIATE-RQ
09:20:33,968 DEBUG - A-ASSOCIATE-RQ[
calledAET: AE_ARCH2_4PR
callingAET: YETI
applicationContext: 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
implClassUID: 1.2.40.0.13.1.1
implVersionName: dcm4che-3.3.7
...
09:20:33,981 DEBUG - YETI->AE_ARCH2_4PR(1): enter state: Sta6 - Association established and ready for data transfer
09:20:33,981 INFO - YETI->AE_ARCH2_4PR(1) << A-RELEASE-RQ
09:20:33,981 DEBUG - YETI->AE_ARCH2_4PR(1): enter state: Sta7 - Awaiting A-RELEASE-RP PDU
getscu: No Presentation Context for Abstract Syntax: 1.2.840.10008.5.1.4.1.2.2.3 - Study Root Query/Retrieve Information Model - GET negotiated
org.dcm4che3.net.NoPresentationContextException: No Presentation Context for Abstract Syntax: 1.2.840.10008.5.1.4.1.2.2.3 - Study Root Query/Retrieve Information Model - GET negotiated
at org.dcm4che3.net.Association.pcFor(Association.java:795)
at org.dcm4che3.net.Association.cget(Association.java:928)
at org.dcm4che3.net.Association.cget(Association.java:921)
at org.dcm4che3.tool.getscu.GetSCU.retrieve(GetSCU.java:489)
at org.dcm4che3.tool.getscu.GetSCU.retrieve(GetSCU.java:481)
at org.dcm4che3.tool.getscu.GetSCU.retrieve(GetSCU.java:468)
at org.dcm4che3.tool.getscu.GetSCU.main(GetSCU.java:356)
09:20:33,983 INFO - YETI->AE_ARCH2_4PR(1) >> A-RELEASE-RP
GET Commmand not working, but MOVESCU command gives some connection
movescu -m QueryRetrieveLevel="STUDY" -L STUDY -m StudyInstanceUID="1.2.840.113619.6.95.31.0.3.4.1.4285.13.24135619" -c AE_ARCH2_4PR@10.5.66.74:104 -b YETI@10.40.38.52:11112 --dest YETI
Suggestions from Flavio:
describe communication with GE:
Flavio spoke with Thomas -> referred to Boss 11WED - no reply
we need a GE Expert low-level c-get etc which assists us in resolving problem for 8hrs at USB
write up document for BRAM.
Trial using DCMTK against GRASP_SERVER is successful and downloads files to specific directory:
movescu -v +P 11113 -S -k 0008,0052="STUDY" -k 0020,000D="1.2.840.113619.6.95.31.0.3.4.1.4285.13.24135637" -aet YETI -aec GRASP_SERVER 10.5.66.120 4100 --output-directory /tmp/getout/
Trial using DCMTK against GE ARCHIVE - results in no files downloaded.
movescu -v +P 11113 -S -k 0008,0052="STUDY" -k 0020,000D="1.2.840.113619.6.95.31.0.3.4.1.4285.13.24135637" -aet YETI -aec AE_ARCH2_4PR 10.5.66.74 104 --output-directory /tmp/getout/
I: Requesting Association
I: Association Accepted (Max Send PDV: 65524)
I: Sending Move Request: MsgID 1
I: Request:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Unknown Transfer Syntax
I: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
I: (0020,000d) UI [1.2.840.113619.6.95.31.0.3.4.1.4285.13.24135637] # 48, 1 StudyInstanceUID
I:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : none
I: Remaining Suboperations : none
I: Completed Suboperations : 0
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0x0000: Success
I: ======================= END DIMSE MESSAGE =======================
I: Releasing Association
Hi all,
With this command i was able to retrieve data with movescu.
movescu -d -k 0020,000D="1.2.840.113619.6.95.31.0.3.4.1.4285.13.24528630" -S -aet AE_MOVESCU -aec AE_ARCH2_4PR 10.5.66.74 104 +P 105 --output-directory d:\offis\temp d:\offis\dcm.in
Have a great day!
Hi ThomasH - great to be able to use the movescu, but we really would prefer to use the getscu command.
I am on my way to catch a flight to NYC, so won't be able to test this from within the USB firewall until next Wednesday. I will be checking github during my trip.
If you could look into using "getscu" would be great.
regards,
TJ
We do not see in the DICOM Conformance Statement that GE Enterprise Archive 4.x does support C-GET.
ThomasH, Just read this more closely. Looks promissng. This looks like movescu from dcmtk not dcm4che which we are integrating into our system; however, could give us ideas. Will test on my return to USB next Wed. Now just landed in NY for quick home visit.
Tj On May 26, 2016 2:15 PM, "tomtheone" notifications@github.com wrote:
Hi all,
With this command i was able to receive data with movescu.
movescu -d -k 0020,000D="1.2.840.113619.6.95.31.0.3.4.1.4285.13.24528630" -S -aet AE_MOVESCU -aec AE_ARCH2_4PR 10.5.66.74 104 +P 105 --output-directory d:\offis\temp d:\offis\dcm.in
- Please replace -aet with the AE Title of your DICOM instance.
- Please use +P to specify the port of your DICOM instance.
- Attached: dcm.in, please rename from .png to .in
Have a great day!
[image: dcm] https://cloud.githubusercontent.com/assets/12658451/15574142/1a960dcc-234c-11e6-84ca-66260eefc5f6.png
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/4Quant/COPD-staging/issues/80#issuecomment-221854481
The following command worked on POLARBEAR (YETI 2):
NB: It is critical that the file dcm.in is available and specified in the command.
movescu -d -k 0020,000D="1.2.840.113619.6.95.31.0.3.4.1.4285.13.24528630" -S -aet YETI -aec AE_ARCH2_4PR 10.5.66.74 104 +P 11112 --output-directory /tmp/out ./dcm.in
Another working example of an entire study PULL to disk:
movescu -v -S -aet YETI -aec AE_ARCH2_4PR 10.5.66.74 104 +P 11112 -k QueryRetrieveLevel="STUDY" -k StudyInstanceUID=1.2.276.0.18.14.200.2.0.0.20100216.22813.50 --output-directory /tmp/out ./dcm.in
trying to transfer to TEAMPLAY
MC526512:out pacs$ ifconfig en0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.40.38.52 netmask 0xffffff00 broadcast 10.40.38.255
MC526512:out pacs$
MC526512:out pacs$ movescu -v -S -aet YETI -aec AE_ARCH2_4PR 10.5.66.74 104 +P 11112 -k QueryRetrieveLevel="STUDY" -k StudyInstanceUID=1.2.276.0.18.14.200.2.0.0.20100216.22813.50 --output-directory /tmp/out ./dcm.in
I: Requesting Association
I: Association Accepted (Max Send PDV: 65524)
I: Sending Move Request: MsgID 1
I: Request:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
I: (0020,000d) UI [1.2.276.0.18.14.200.2.0.0.20100216.22813.50] # 44, 1 StudyInstanceUID
I:
I: Received Store Request: MsgID 49469, (CT)
RECV: ...........
...................................
I: DIMSE Status : 0x0000: Success
I: ======================= END DIMSE MESSAGE =======================
I: Releasing Association
MC526512:out pacs$
MC526512:out pacs$
MC526512:out pacs$
MC526512:out pacs$ movescu -v -S -aet YETI -aec AE_ARCH2_4PR 10.5.66.74 104 +P 11112 -aem TEAMPLAY-ISHARE@10.40.38.17:105 -k QueryRetrieveLevel="STUDY" -k StudyInstanceUID=1.2.276.0.18.14.200.2.0.0.20100216.22813.50 ./dcm.in
I: Requesting Association
I: Association Accepted (Max Send PDV: 65524)
I: Sending Move Request: MsgID 1
I: Request:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
I: (0020,000d) UI [1.2.276.0.18.14.200.2.0.0.20100216.22813.50] # 44, 1 StudyInstanceUID
I:
E: Move Request Failed: 0006:0101 ASC Bad presentation context ID
E: Move SCU Failed: 0006:0101 ASC Bad presentation context ID
I: Aborting Association
MC526512:out pacs$
In Summary: