how to load a DICOM SR into a file

748 views
Skip to first unread message

Ricardo Caballero

unread,
Aug 24, 2015, 4:33:32 PM8/24/15
to dcm4che
Dear,
I would like to load a Structured Report into a patient file. I used dcm4che tools kit, command xml2dcm in order to create the SR (ok without error, out.dcm is the SR created), then I tried to load it using dcmsnd, e.g " ./dcmsnd DCM4CHEE@localhost:11112/studyID=002-11 ~/Documents/out.dcm", but it fails with error "ilegal port number". What is my error?....the sentence is right?

Thanks



fleetwoodfc

unread,
Aug 25, 2015, 8:30:59 AM8/25/15
to dcm4che
DCM4CHEE@localhost:11112/studyID=002-11 should be 
DCM4CHEE@localhost:11112

Ricardo Caballero

unread,
Aug 25, 2015, 8:46:15 AM8/25/15
to dcm...@googlegroups.com
Yes, you are right....It work, but the SR is not load into the file "studyID 002-11" but as other file in DCM4CHEE. I would like that this SR be part of the study not as a separated file.
Also, I think it is the same doubt, how do you add an examination (or study) into a file (patient) that already exists?

Thanks for your reply.

Best regards,
 

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, 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.
For more options, visit https://groups.google.com/d/optout.

fleetwoodfc

unread,
Aug 25, 2015, 11:59:01 AM8/25/15
to dcm4che
You need a matching StudyUID in the SR file.


On Tuesday, August 25, 2015 at 8:46:15 AM UTC-4, Ricardo Caballero wrote:
Yes, you are right....It work, but the SR is not load into the file "studyID 002-11" but as other file in DCM4CHEE. I would like that this SR be part of the study not as a separated file.
Also, I think it is the same doubt, how do you add an examination (or study) into a file (patient) that already exists?

Thanks for your reply.

Best regards,
 
On Tue, Aug 25, 2015 at 8:30 AM, fleetwoodfc <dda...@eesimed.com> wrote:
DCM4CHEE@localhost:11112/studyID=002-11 should be 
DCM4CHEE@localhost:11112

On Monday, August 24, 2015 at 4:33:32 PM UTC-4, Ricardo Caballero wrote:
Dear,
I would like to load a Structured Report into a patient file. I used dcm4che tools kit, command xml2dcm in order to create the SR (ok without error, out.dcm is the SR created), then I tried to load it using dcmsnd, e.g " ./dcmsnd DCM4CHEE@localhost:11112/studyID=002-11 ~/Documents/out.dcm", but it fails with error "ilegal port number". What is my error?....the sentence is right?

Thanks



--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.

Ricardo Caballero

unread,
Aug 27, 2015, 10:05:45 AM8/27/15
to dcm...@googlegroups.com
Hi again,
I tried as you indicated me and there is an strange result. As you can see in the attachments, SRxml show the xml file, I changed the tags "00100010" vr="PN", "00100020" vr="LO" and "00200010" vr="SH" len="0",according with data of one of the dmc4chee's patients. Then i convert it into a SR object and sent to DCM4CHEE (attachment SRsend.. succesfull), but looking at the Pacs I can not find it (see attachment DCM4CHEEview). In Weasis (attachment WeasisView) you can view it after a import and it is displayed correctly..? Where is it?

Best regards,



On Tue, Aug 25, 2015 at 11:59 AM, fleetwoodfc <dda...@eesimed.com> wrote:
You need a matching StudyUID in the SR file.


On Tuesday, August 25, 2015 at 8:46:15 AM UTC-4, Ricardo Caballero wrote:
Yes, you are right....It work, but the SR is not load into the file "studyID 002-11" but as other file in DCM4CHEE. I would like that this SR be part of the study not as a separated file.
Also, I think it is the same doubt, how do you add an examination (or study) into a file (patient) that already exists?

Thanks for your reply.

Best regards,
 
On Tue, Aug 25, 2015 at 8:30 AM, fleetwoodfc <dda...@eesimed.com> wrote:
DCM4CHEE@localhost:11112/studyID=002-11 should be 
DCM4CHEE@localhost:11112

On Monday, August 24, 2015 at 4:33:32 PM UTC-4, Ricardo Caballero wrote:
Dear,
I would like to load a Structured Report into a patient file. I used dcm4che tools kit, command xml2dcm in order to create the SR (ok without error, out.dcm is the SR created), then I tried to load it using dcmsnd, e.g " ./dcmsnd DCM4CHEE@localhost:11112/studyID=002-11 ~/Documents/out.dcm", but it fails with error "ilegal port number". What is my error?....the sentence is right?

Thanks



--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, 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.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
SRxml.png
SRsend.png
DCM4CHEEview.png
WeasisView.png

fleetwoodfc

unread,
Aug 27, 2015, 1:21:11 PM8/27/15
to dcm4che
It probably attached to an existing Study UID. Have you tried searching by Study or Series UID?


On Thursday, August 27, 2015 at 10:05:45 AM UTC-4, Ricardo Caballero wrote:
Hi again,
I tried as you indicated me and there is an strange result. As you can see in the attachments, SRxml show the xml file, I changed the tags "00100010" vr="PN", "00100020" vr="LO" and "00200010" vr="SH" len="0",according with data of one of the dmc4chee's patients. Then i convert it into a SR object and sent to DCM4CHEE (attachment SRsend.. succesfull), but looking at the Pacs I can not find it (see attachment DCM4CHEEview). In Weasis (attachment WeasisView) you can view it after a import and it is displayed correctly..? Where is it?

Best regards,


On Tue, Aug 25, 2015 at 11:59 AM, fleetwoodfc <dda...@eesimed.com> wrote:
You need a matching StudyUID in the SR file.


On Tuesday, August 25, 2015 at 8:46:15 AM UTC-4, Ricardo Caballero wrote:
Yes, you are right....It work, but the SR is not load into the file "studyID 002-11" but as other file in DCM4CHEE. I would like that this SR be part of the study not as a separated file.
Also, I think it is the same doubt, how do you add an examination (or study) into a file (patient) that already exists?

Thanks for your reply.

Best regards,
 
On Tue, Aug 25, 2015 at 8:30 AM, fleetwoodfc <dda...@eesimed.com> wrote:
DCM4CHEE@localhost:11112/studyID=002-11 should be 
DCM4CHEE@localhost:11112

On Monday, August 24, 2015 at 4:33:32 PM UTC-4, Ricardo Caballero wrote:
Dear,
I would like to load a Structured Report into a patient file. I used dcm4che tools kit, command xml2dcm in order to create the SR (ok without error, out.dcm is the SR created), then I tried to load it using dcmsnd, e.g " ./dcmsnd DCM4CHEE@localhost:11112/studyID=002-11 ~/Documents/out.dcm", but it fails with error "ilegal port number". What is my error?....the sentence is right?

Thanks



--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.

To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.

Ricardo Caballero

unread,
Aug 27, 2015, 4:29:03 PM8/27/15
to dcm...@googlegroups.com
Yes, I did. There are only 15 registers, so it is not difficult to look each one. I also looked into mysql DB and I didn't find anything wrong.

On Thu, Aug 27, 2015 at 1:21 PM, fleetwoodfc <dda...@eesimed.com> wrote:
It probably attached to an existing Study UID. Have you tried searching by Study or Series UID?


On Thursday, August 27, 2015 at 10:05:45 AM UTC-4, Ricardo Caballero wrote:
Hi again,
I tried as you indicated me and there is an strange result. As you can see in the attachments, SRxml show the xml file, I changed the tags "00100010" vr="PN", "00100020" vr="LO" and "00200010" vr="SH" len="0",according with data of one of the dmc4chee's patients. Then i convert it into a SR object and sent to DCM4CHEE (attachment SRsend.. succesfull), but looking at the Pacs I can not find it (see attachment DCM4CHEEview). In Weasis (attachment WeasisView) you can view it after a import and it is displayed correctly..? Where is it?

Best regards,


On Tue, Aug 25, 2015 at 11:59 AM, fleetwoodfc <dda...@eesimed.com> wrote:
You need a matching StudyUID in the SR file.


On Tuesday, August 25, 2015 at 8:46:15 AM UTC-4, Ricardo Caballero wrote:
Yes, you are right....It work, but the SR is not load into the file "studyID 002-11" but as other file in DCM4CHEE. I would like that this SR be part of the study not as a separated file.
Also, I think it is the same doubt, how do you add an examination (or study) into a file (patient) that already exists?

Thanks for your reply.

Best regards,
 
On Tue, Aug 25, 2015 at 8:30 AM, fleetwoodfc <dda...@eesimed.com> wrote:
DCM4CHEE@localhost:11112/studyID=002-11 should be 
DCM4CHEE@localhost:11112

On Monday, August 24, 2015 at 4:33:32 PM UTC-4, Ricardo Caballero wrote:
Dear,
I would like to load a Structured Report into a patient file. I used dcm4che tools kit, command xml2dcm in order to create the SR (ok without error, out.dcm is the SR created), then I tried to load it using dcmsnd, e.g " ./dcmsnd DCM4CHEE@localhost:11112/studyID=002-11 ~/Documents/out.dcm", but it fails with error "ilegal port number". What is my error?....the sentence is right?

Thanks



--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, 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.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, 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.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.

fleetwoodfc

unread,
Aug 27, 2015, 6:33:23 PM8/27/15
to dcm4che
What does the dcm4chee server.log file say?
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.

To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.

To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.

Ricardo Caballero

unread,
Aug 31, 2015, 8:53:12 AM8/31/15
to dcm...@googlegroups.com
Hi, well finally I found what the problem is, thank to your advice. The instance UID can not be the same for two objects, then write to the archive was rejected. As per the standard DICOM, you should ask for a code in  to generate every UID, too complicated for me, I switch to other method to generate a SR, from PDF to SR and the problem was solved (the instance UID is automatically generated).

But, I have two things I do not understand. First, as the SR is created as a new register, if you choose to open it (with Weasis), the URL point to the patientID (that is the patient which the SR belongs to) as you can see in the pictures 01 and 02. But it is ok for me as the SR is inside the study (or Patient).

But, second, there one Patient (picture 03) that I can not get he same result, it open only the study but not the SR, altough the config file used to generate the SR is exactly the same used for the other two. Only the name and ID of the patient were changed. ???.

I think this is a Weasis issue. Should I open a new topic for this?

Best regards,


To unsubscribe from this group and all its topics, 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.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, 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.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, 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.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/BOmKNO1MxoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
WeasisViewPatient01.png
WeasisViewPatient02.png
WeasisViewPatient03.png

Ricardo Caballero

unread,
Aug 31, 2015, 3:05:58 PM8/31/15
to dcm...@googlegroups.com
Ok...found the error. It has to mark the study and the patient where to add. Click on "move" and the selected study (or studies) will be added to the patient.

Regards,


Reply all
Reply to author
Forward
0 new messages