Will dcm4chee C-GET support for DICOS SOP UID 1.2.840.10008.5.1.4.1.1.501.2.1

836 views
Skip to first unread message

kamalakar k

unread,
Mar 31, 2016, 3:36:52 AM3/31/16
to dcm4che

I am using the DICOS SOP Class (1.2.840.10008.5.1.4.1.1.501.2.1), using CSTORE i have successfully pushed the images to archive server,
But when i try to get that file using C-GET then i am getting the below error

Will C-GET support for this SOP class UID 1.2.840.10008.5.1.4.1.1.501.2.1?

I have tried to get the file using C-GET.

It is creating the directory storage folder , but file is not placed in that folder getting EOFException and error log is 

12:10:08,380 INFO  - Initiate connection from 0.0.0.0/0.0.0.0:0 to localhost:11112
12:10:08,404 INFO  - Established connection Socket[addr=localhost/127.0.0.1,port=11112,localport=49625]
12:10:08,430 INFO  - GETSCU->DCM4CHEE(1) << A-ASSOCIATE-RQ
12:10:08,440 INFO  - GETSCU->DCM4CHEE(1) >> A-ASSOCIATE-AC
12:10:08,453 INFO  - GETSCU->DCM4CHEE(1) << 1:C-GET-RQ[pcid=1, prior=0
  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
12:12:00,273 INFO  - GETSCU->DCM4CHEE(1): i/o exception: java.io.EOFException in State: Sta6 - Association established and ready for data transfer
12:12:00,274 INFO  - GETSCU->DCM4CHEE(1): close Socket[addr=localhost/127.0.0.1,port=11112,localport=49625]
getscu: Sta1 - Idle
org.dcm4che3.net.AssociationStateException: Sta1 - Idle
at org.dcm4che3.net.State.writeAReleaseRQ(State.java:223)
at org.dcm4che3.net.Association.release(Association.java:271)
at org.dcm4che3.tool.getscu.GetSCU.close(GetSCU.java:438)
at org.dcm4che3.tool.getscu.GetSCU.main(GetSCU.java:348)
at com.queue.sample.CGet.main(CGet.java:15)


gunterze

unread,
Apr 5, 2016, 3:15:13 AM4/5/16
to dcm4che
Using C-GET for retrieval, the C-GET SCU have to offer the Storage Services needed to retrieve the requested objects. The default configuration of dcm4che3's getscu tool (s. DCM4CHE_HOME/etc/getscu/store-tcs.properties) does not include a Presentation Context for the DICOS SOP Class.

kamalakar k

unread,
Apr 5, 2016, 5:44:37 AM4/5/16
to dcm...@googlegroups.com
Hi Gunter,

Thank you very much for your reply,

But i have already added the following services in the dcm4chee-assembly/src/etc/store-tcs.properties.i am running the getscu application from my eclipse , i got the code base form github.


DICOSDigitalXRayImageStorageForPresentation:\
ImplicitVRLittleEndian;ExplicitVRLittleEndian

DICOSDigitalXRayImageStorageForProcessing:\
ImplicitVRLittleEndian;ExplicitVRLittleEndian

but still getting the same error as below
14:53:59,090 INFO  - Initiate connection from 0.0.0.0/0.0.0.0:0 to localhost:11112
14:53:59,116 INFO  - Established connection Socket[addr=localhost/127.0.0.1,port=11112,localport=55377]
14:53:59,177 INFO  - GETSCU->DCM4CHEE(1) << A-ASSOCIATE-RQ
14:53:59,193 INFO  - GETSCU->DCM4CHEE(1) >> A-ASSOCIATE-AC
14:53:59,211 INFO  - GETSCU->DCM4CHEE(1) << 1:C-GET-RQ[pcid=1, prior=0
  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
14:56:40,340 INFO  - GETSCU->DCM4CHEE(1): i/o exception: java.io.EOFException in State: Sta6 - Association established and ready for data transfer
14:56:40,341 INFO  - GETSCU->DCM4CHEE(1): close Socket[addr=localhost/127.0.0.1,port=11112,localport=55377]
getscu: Sta1 - Idle
org.dcm4che3.net.AssociationStateException: Sta1 - Idle
at org.dcm4che3.net.State.writeAReleaseRQ(State.java:223)
at org.dcm4che3.net.Association.release(Association.java:272)

gunterze

unread,
Apr 5, 2016, 6:40:44 AM4/5/16
to dcm4che
Look in wildfly server.log for the exception stack trace.

kamalakar k

unread,
Apr 5, 2016, 9:17:06 AM4/5/16
to dcm4che
Looked into wildfly server log, nothing much about the exception , please find the stack trace below.


 
2016-04-05 16:03:56,900 INFO  [org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-STORESCU(10): Create Study[pk=27, uid=1.1.1.12.3, id=123]
2016-04-05 16:03:56,906 INFO  [org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-STORESCU(10): Create Series[pk=27, uid=1.1.1.1.1.1.1.1.1.1.1.1, no=12345, mod=DX]
2016-04-05 16:03:56,911 INFO  [org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-STORESCU(10): Create Instance[pk=31, uid=1.1.1.1.1.234, class=1.2.840.10008.5.1.4.1.1.501.2.1, no=12345]
2016-04-05 16:03:57,230 INFO  [org.dcm4che3.net.audit.AuditLogger] (EE-ManagedExecutorService-default-Thread-5) Send audit message to localhost/127.0.0.1:514
2016-04-05 16:03:57,235 INFO  [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-STORESCU(10) << 1:C-STORE-RSP[pcid=5, status=0H
  cuid=1.2.840.10008.5.1.4.1.1.501.2.1 - DICOS Digital X-Ray Image Storage - For Presentation
  iuid=1.1.1.1.1.234 - ?
  tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian
2016-04-05 16:03:57,241 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-STORESCU(10) >> A-RELEASE-RQ
2016-04-05 16:03:57,250 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-STORESCU(10) << A-RELEASE-RP
2016-04-05 16:03:57,302 INFO  [org.dcm4che3.net.Association] (EE-ManagedScheduledExecutorService-default-Thread-1) DCM4CHEE<-STORESCU(10): close Socket[addr=dcm4che/127.0.0.1,port=56253,localport=11112]
2016-04-05 16:05:41,524 INFO  [org.dcm4che3.net.Connection] (EE-ManagedExecutorService-default-Thread-1) Accept connection Socket[addr=/127.0.0.1,port=56262,localport=11112]
2016-04-05 16:05:41,577 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-GETSCU(11) >> A-ASSOCIATE-RQ
2016-04-05 16:05:41,579 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-GETSCU(11) << A-ASSOCIATE-AC
2016-04-05 16:05:41,612 INFO  [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-GETSCU(11) >> 1:C-GET-RQ[pcid=1, prior=0

Gunter Zeilinger

unread,
Apr 5, 2016, 9:25:00 AM4/5/16
to dcm...@googlegroups.com
If you provide the (anonymized) object, I will try to reproduce the failure.

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

kamalakar k

unread,
Apr 5, 2016, 9:51:47 AM4/5/16
to dcm4che

vrinda...@j4care.com

unread,
May 4, 2016, 7:52:41 AM5/4/16
to dcm4che
Hello,

The issue is because of the Value Representation mismatch between DICOS and DICOM for 'PatientName' in the study object. DICOM states it as 'PN' whereas the dcmdump of the study object shared shows the same as 'LO' which is causing the issue.
As a workaround, we sent the study object in archive with Default Transfer Syntax for DICOM i.e. Implicit VR Endian and could retrieve it as well.
Reply all
Reply to author
Forward
0 new messages