add study / patient with dcm4chee-web3

4,078 views
Skip to first unread message

tiz

unread,
Feb 5, 2013, 7:15:08 AM2/5/13
to dcm...@googlegroups.com
Hi,
I'm really new in dcm4chee. I just installed dcm4chee-web3. I try to understand how to add a new patient, a new study or how people can upload images, study, patients. I searched a lot on the web but I found only doc about dcm4chee-web that has toolkit (button) to do something. Sorry if I disturb with this, maybe, trivial question but I didn't found answer. Also sorry for my english. I will thank you for any help!

Tiz

Suresh Viswanathan

unread,
Feb 7, 2013, 12:18:49 AM2/7/13
to dcm...@googlegroups.com
dcm4chee is a DICOM archive that doesn't do much is a stand alone situation. You add studies by sending DICOM images over the network using the DICOM protocol, typically from a modality. You can add a new patient record, without studies using a HL7 ADT message.

What is your purpose in trying out dcm4chee?

Suresh

--
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 http://groups.google.com/group/dcm4che?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

tiz

unread,
Feb 11, 2013, 9:08:16 AM2/11/13
to dcm...@googlegroups.com
Suresh, 
thanks for your support.
The situation is: I have some dicom images and I want to test a dicom viewer installed in dcm4chee. But I don't know how to put these images on my dcm4chee server.
I know there is command "dcmsnd" but when I try this  I get this errore message

WARNING: Failed to parse IM-0002-1001.jpg - skipped.
Forg.dcm4che2.io.DicomCodingException: Not a DICOM Stream
at org.dcm4che2.io.DicomInputStream.guessTransferSyntax(DicomInputStream.java:252)
at org.dcm4che2.io.DicomInputStream.<init>(DicomInputStream.java:124)
at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1068)
at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1057)
at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1057)
at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1057)
at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1057)
at org.dcm4che2.tool.dcmsnd.DcmSnd.main(DcmSnd.java:823)


So I don't know how to solve. I tryied with the log, but I found nothing usefull..

Thanks for any help..
Tiz

fleetwoodfc

unread,
Feb 11, 2013, 9:24:08 AM2/11/13
to dcm...@googlegroups.com
You are trying to send a jpeg which needs to be converted to DICOM first - there is a jpg2dcm tool.

tiz

unread,
Feb 11, 2013, 10:17:54 AM2/11/13
to dcm...@googlegroups.com
you're right
I tried with a dicom img but the probles is related to the server port.
I did a netstat and I noticed that the open port is 10104 (related to CDRECRD AET) and not 11112 related to DCM4CHEE
So I tryied with dicom img 
dcmsnd CDRECORD@localhost:10104 <file> and that seems ok.. (see the log ..)
But I think It is strange.. 
How can I setup una AET able to do it (and how I can open related port?)
..and I tryed to search that img with dcm4chee but I did not find anything..
Sorry maybe these are stupid question but I am totally new and the step from scrath and "level 1" is complicated.
Thanks for all the support 
tiz

fleetwoodfc

unread,
Feb 11, 2013, 1:32:39 PM2/11/13
to dcm...@googlegroups.com
If you want to view the sent studies using the dcm4chee web interface then you need to send to aet DCM4CHEE which listens on port 11112 by default. CDRECORD is part of the CDW (cd recording) system and not the main imaging archive.

tiz

unread,
Feb 12, 2013, 3:19:03 AM2/12/13
to dcm...@googlegroups.com
Thanks, but the problem is that when I try this comman

 dcmsnd DCM4CHEE@localhost:11112 $file

the output is
Scanned 1 files in 0.102s (=102ms/file)
ERROR: Failed to establish association:Connection refused

if I do a 

#netstat -a you can see that port 11112 is not opened by default (10104 yes). How can I open this port and allow DCM4CHEE AET  to send dicom images?
thanks a lot!!

Tiz

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 *:rmiregistry           *:*                     LISTEN     
tcp        0      0 *:40814                 *:*                     LISTEN     
tcp        0      0 *:http-alt              *:*                     LISTEN     
tcp        0      0 *:8083                  *:*                     LISTEN     
tcp        0      0 *:ssh                   *:*                     LISTEN     
tcp        0      0 *:10104                 *:*                     LISTEN     
tcp        0      0 *:8443                  *:*                     LISTEN     
tcp        0      0 *:4444                  *:*                     LISTEN     
tcp        0      0 *:4445                  *:*                     LISTEN     
tcp        0      0 *:4446                  *:*                     LISTEN     
tcp        0      0 *:3873                  *:*                     LISTEN     
tcp        0      0 *:59683                 *:*                     LISTEN     
tcp        0      0 *:44964                 *:*                     LISTEN     
tcp        0      0 *:19461                 *:*                     LISTEN     
tcp        0      0 *:8009                  *:*                     LISTEN     
tcp        0      0 *:4457                  *:*                     LISTEN     
tcp        0      0 *:1098                  *:*                     LISTEN     
tcp        0      0 localhost:mysql         *:*                     LISTEN     
tcp        0      0 localhost:mysql         localhost:48651         ESTABLISHED
tcp        0      0 192.168.0.163:ssh       192.168.0.75:58744      ESTABLISHED
tcp        0      0 localhost:48651         localhost:mysql         ESTABLISHED
tcp        0      0 192.168.0.163:ssh       192.168.0.75:36552      ESTABLISHED
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN     
udp        0      0 *:bootpc                *:*                                
udp        0      0 *:42334                 *:*                                

Ramajogi Malla

unread,
Feb 12, 2013, 10:13:09 AM2/12/13
to dcm...@googlegroups.com
Tiz,
Have you tried login to http://localhost:8080/dcm4chee-web3/ using admin credentials and click on Application entities link to find all the details of the AE Titles.

Regards,
Ramajogi

tiz

unread,
Feb 12, 2013, 10:20:33 AM2/12/13
to dcm...@googlegroups.com
Yes, and the results is
DICOM Echo to dicom://DCM4CHEE@localhost:11112:
Echo failed! Reason: Failed to establish Association aet:DCM4CHEE
 if i try with CDRECORD the results is
DICOM Echo to dicom://CDRECORD@localhost:10104:
Open Association in 16 ms.
1 Echoes, each done in less than 1 ms!
Total time for successfully echo CDRECORD: 17 ms!

tiz

unread,
Feb 13, 2013, 6:22:30 AM2/13/13
to dcm...@googlegroups.com
Update:
I found the problem.
I had to give this command:

#dcmrcv DCM4CHEE:11112 &

(for the 11112 port is not opened by default..)

so the port now is open, echo test for the AET DCM4CHEE works. I can now send images..: (here's the log of dcmsnd).
The problem now is that I can not find them when I search with the web interface.
In the log file I found nothing, storescp service at boot is configured...
I don't know.. 
Please, help...
Thanks a lot

Tiziano



Scanning files to send
.
Scanned 1 files in 0.095s (=95ms/file)
12:06:37,948 INFO   - Association(1) initiated Socket[addr=localhost/127.0.0.1,port=11112,localport=39662]
12:06:37,949 INFO   - DCM4CHEE(1): A-ASSOCIATE-RQ DCM4CHEE << DCMSND
12:06:37,961 INFO   - DCM4CHEE(1): A-ASSOCIATE-AC DCMSND >> DCM4CHEE
Connected to DCM4CHEE@localhost:11112 in 0.052s
12:06:38,059 INFO   - DCM4CHEE(1) << 1:C-STORE-RQ[pcid=3, prior=0
cuid=1.2.840.10008.5.1.4.1.1.6.1/Ultrasound Image Storage
iuid=1.2.840.113680.1.103.61716.1086474549.270460.1.13
ts=1.2.840.10008.1.2.5/RLE Lossless]
12:06:38,069 INFO   - DCM4CHEE(1) >> 1:C-STORE-RSP[pcid=3, status=0H]
.
Sent 1 objects (=252.39258KB) in 0.108s (=2.2821956MB/s)
12:06:38,069 INFO   - DCM4CHEE(1) << A-RELEASE-RQ
12:06:38,073 INFO   - DCM4CHEE(1) >> A-RELEASE-RP
12:06:38,074 INFO   - DCM4CHEE(1): close Socket[addr=localhost/127.0.0.1,port=11112,localport=39662]
Released connection to DCM4CHEE@localhost:11112

Martin Peacock

unread,
Feb 13, 2013, 6:31:16 AM2/13/13
to dcm...@googlegroups.com

The dcmrcv is a command line component of what dcm4chee does in the background. Dcm4chee does not know about the files received through dcmrcv. 

You seem to have an issue with the main dicom listener.  Can you attach server.log.  that should indicate where your issue is.,

tiz

unread,
Feb 13, 2013, 8:02:44 AM2/13/13
to dcm...@googlegroups.com, mar...@inflection-technologies.com
Thanks a lot· Here is my log file
server.log.zip

fleetwoodfc

unread,
Feb 13, 2013, 11:25:01 AM2/13/13
to dcm...@googlegroups.com, mar...@inflection-technologies.com
The log file shows that none of the DICOM Services got deployed i.e.
--- MBeans waiting for other MBeans ---
ObjectName: dcm4chee.archive:service=AE
  State: CONFIGURED
  I Depend On:
    jboss.j2ee:service=EJB,jndiName=ejb/AEManager
    dcm4chee.archive:service=AuditLogger
    dcm4chee.archive:service=ECHOService
  Depends On Me:
    dcm4chee.archive:service=AttributesModificationScp
    dcm4chee.archive:service=GPWLScp
    dcm4chee.archive:service=HPScp
    dcm4chee.archive:service=IANScp
    dcm4chee.archive:service=MPPSScp

tiz

unread,
Feb 14, 2013, 2:33:31 AM2/14/13
to dcm...@googlegroups.com, mar...@inflection-technologies.com
Sorry I don't understand:
I installed these packages. Then I go to /usr/lib/dcm4chee/..../bin/ and
./run.sh &
to start the server---
What I'm doing wrong? What I miss??

Thanks a lot

Tiz

Pablo

unread,
Feb 14, 2013, 9:51:12 AM2/14/13
to dcm...@googlegroups.com, mar...@inflection-technologies.com
You have to options to start the dcm4chee server, the safest is to reboot or type in a terminal
/etc/rc.local start
The dcm4chee dir is located in /var/lib 

tiz

unread,
Feb 15, 2013, 3:21:09 AM2/15/13
to dcm...@googlegroups.com, mar...@inflection-technologies.com
Thanks!
Ok I found that it was a permission issue...
chown -R dcm4chee:dcm4chee /var/lib/dcm4chee
and the server starts at reboot....
but I have again same problems.. Port 11112 is not open by default, and none of the DICOM Services got deployed 
so.. I think there is something else..
Maybe I am not skilled at all but this how-to
does not work: I'm spending a week trying to send (and view) one dicom image. :.(
Thanks for the help you could give me

Prakash Jayaraman

unread,
Feb 15, 2013, 3:48:57 AM2/15/13
to dcm...@googlegroups.com
You can create patient records in previous versions of dcm4chee-web interface, but it is missing in dcm4chee-web3.



Prakash.

Angel Lacret

unread,
Apr 30, 2014, 1:55:30 PM4/30/14
to dcm...@googlegroups.com
where does this utilities are found?

dcmrcv ?
dcmsnd ?

xiezhong...@gmail.com

unread,
Sep 4, 2017, 4:24:13 AM9/4/17
to dcm4che
I begin to learn something about dcm4chee-web3 ,and I don't know how to add a study record or new a patient and add images.Can you help me?

在 2013年2月13日星期三 UTC+8下午7:22:30,tiz写道:

xiezhong...@gmail.com

unread,
Sep 5, 2017, 4:06:14 AM9/5/17
to dcm4che
Hi,I am new to dcm4chee-web3 too.I know how to add a patient record with web UI in dcm4chee-web3.But how to add studies and images?Please help me.

在 2013年2月5日星期二 UTC+8下午8:15:08,tiz写道:

xiezhong...@gmail.com

unread,
Sep 5, 2017, 4:07:35 AM9/5/17
to dcm4che

Hi,I am new to dcm4chee-web3 too.I know how to add a patient record with web UI in dcm4chee-web3.But how to add studies and images and what is the format of studies and images?Please help me.

在 2013年2月12日星期二 UTC+8上午2:32:39,fleetwoodfc写道:
Reply all
Reply to author
Forward
0 new messages