DCM4CHEE MWL HL7 Implementation

981 views
Skip to first unread message

Tomas Gonzalez

unread,
Feb 27, 2020, 9:47:57 PM2/27/20
to dcm4che
Good evening to all:

I'm very new to hl7 and dcm4chee. I have dcm4chee 2.18.3 up and running fine, receiving studies as a backup to my Osirix Dicom server. Now I would like to explore the use of MWL. So I pickedup some HL7 samples and tried to send to the MWL. port:11112, AE=DCM4CHEE and I get the attached error.
Following is hl7snd command, HL7 Message and log of error..

C:\dcm4che-5.21.0\bin\hl7snd -c localhost:11112 tom.hl7 >tomtom.txt
_______________________________________________________________________________________________________________________________
MSH|^~\&|DCM4CHEE|DCM4CHEE |XYZ_IMAGE_MANAGER|||ORM^O01|103106|P|2.3.1|||||| ||
PID|||583295^^^ADT1||DOE^J1|||M||WH||||||||20983295|||||||||||||||||||||
PV1||E||||||5101^NELL^FREDERICK^P^^DR|||||||||||V103-1^^^ADT1|||||||||||||||||||||||||200007010800|||||||V|
ORC|NW|A103Z^MESA_ORDPLC|B103Z^MESA_ORDFIL||||1^once^^^^S||200007010900|^ROSEWOOD^RANDOLPH||7101^ESTRADA^JAIME^P^^DR||(314)555-1212|200007010900||922229-10^IHE-RAD^IHE-CODE-231||
OBR|1|A103Z^MESA_ORDC|B103Z^MESA_ORDFIL|P1^Procedure 1^ERL_MESA^X1_A1^SP Action Item X1_A1^DSS_MESA|||||||||xxx||Radiology^^^^R|7101^ESTRADA^JAIME^P^^DR||MOF5026|RP1026|SPS2032||||MR|||1^once^^^^S|||WALK|||||||||||A|||P1^Procedure 1^ERL_MESA
ZDS|1.113654.3.13.1026^100^Application^DICOM

___________________________________________________________________________________________________________________________

2020-02-27 21:29:18,097 INFO  -> (TCPServer-1) [org.dcm4cheri.server.ServerImpl] handle - Socket[addr=/127.0.0.1,port=58425,localport=11112]
2020-02-27 21:29:18,098 INFO  -> (TCPServer-1) [org.dcm4cheri.net.FsmImpl] Socket[addr=/127.0.0.1,port=58425,localport=11112]
2020-02-27 21:29:18,112 INFO  -> (TCPServer-1) [org.dcm4cheri.net.FsmImpl] sending A-ABORT
source=2 - service-provider
reason=1 - unrecognized-PDU
2020-02-27 21:29:18,163 INFO  -> (TCPServer-1) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/127.0.0.1,port=58425,localport=11112]
2020-02-27 21:29:18,163 ERROR -> (TCPServer-1) [org.dcm4cheri.server.ServerImpl] org.dcm4che.net.PDUException: Unrecognized PDU[type=11, length=1397259358]
org.dcm4che.net.PDUException: Unrecognized PDU[type=11, length=1397259358]
at org.dcm4cheri.net.FsmImpl$2.parse(FsmImpl.java:1051)
at org.dcm4cheri.net.FsmImpl.read(FsmImpl.java:512)
at org.dcm4cheri.net.AssociationImpl.accept(AssociationImpl.java:287)
at org.dcm4cheri.server.DcmHandlerImpl.handle(DcmHandlerImpl.java:248)
at org.dcm4cheri.server.ServerImpl.run(ServerImpl.java:288)
at org.dcm4cheri.util.LF_ThreadPool.join(LF_ThreadPool.java:174)
at org.dcm4cheri.server.ServerImpl$1.run(ServerImpl.java:242)
at java.lang.Thread.run(Thread.java:745)
2020-02-27 21:29:18,164 INFO  -> (TCPServer-1) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/127.0.0.1,port=58425,localport=11112]
2020-02-27 21:29:47,512 INFO  -> (Thread-367) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group ONLINE_STORAGE for deletion of orphaned private files
2020-02-27 21:29:47,512 INFO  -> (Thread-368) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group LOSSY_STORAGE for deletion of orphaned private files


Any help is greatly appreciated.
tomtom.txt

Ahasan Habib

unread,
Feb 27, 2020, 11:33:44 PM2/27/20
to dcm...@googlegroups.com
you can send on 2575 port  is't HL7  default port, 11112  it's dicom port it's not HL7 port

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/173eb965-35d6-45c3-b34d-88c99a218e40%40googlegroups.com.

Tomas Gonzalez

unread,
Feb 28, 2020, 6:45:04 AM2/28/20
to dcm...@googlegroups.com
I tried that port and it was not open. Where can I find the what port HL7 is using?

On Thu, Feb 27, 2020 at 11:33 PM Ahasan Habib <habibsum...@gmail.com> wrote:
you can send on 2575 port  is't default HL7 port, 11112 is dicom port it's not HL7 port

To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/CAMo0rOXwCt91KT-C7WSY0u0b93fREyLpvURL_vwKFUocBNQ5pA%40mail.gmail.com.

Wagner Castro

unread,
Feb 28, 2020, 7:00:33 AM2/28/20
to dcm...@googlegroups.com
check if that port is open on the firewall
image.png




--

Ahasan Habib

unread,
Feb 28, 2020, 8:16:38 AM2/28/20
to dcm...@googlegroups.com

Tomas Gonzalez

unread,
Feb 28, 2020, 9:18:35 AM2/28/20
to dcm4che
So I got passed the error. I'm now using port 2575, which shows open and listening.
However, I get the attached screen shot. No Connection! I can not find any error description in logs,
Capture1.PNG
server.log

Wagner Castro

unread,
Feb 28, 2020, 9:33:57 AM2/28/20
to dcm...@googlegroups.com
did you create a DCM4CHEE aetitle on the hl7's door? if you did that, delete it. In your log you seem to be showing this.

--
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.


--

Tomas Gonzalez

unread,
Feb 28, 2020, 9:51:44 AM2/28/20
to dcm4che
Wagner
Can you be more specific where is that door where I might had declared DCM4CHEE on the hl7 door....
Thanks
To unsubscribe from this group and stop receiving emails from it, send an email to dcm...@googlegroups.com.


--

Wagner Castro

unread,
Feb 28, 2020, 10:00:23 AM2/28/20
to dcm...@googlegroups.com
on the dcm4chee web in the aetitle application, I believe you added the port i aetitle, delete that entry and try again. See the attachment.

To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/78e650a2-a767-466f-b26c-8de679b81ca1%40googlegroups.com.


--

Captura de tela de 2020-02-28 10-57-33.png

Tomas Gonzalez

unread,
Feb 28, 2020, 10:09:39 AM2/28/20
to dcm...@googlegroups.com
The attach is what I currently have. That error must had been old error when I tried to make it work.
The funny thing is that although I have the MWL,192.168.0.96:2575 defined, I can not ECHO it.
I'm I suppose to define the MWL entry here ? What is the aetitle of the MWL in dcm4chee

Capture.PNG

Tomas Gonzalez

unread,
Feb 28, 2020, 10:11:02 AM2/28/20
to dcm...@googlegroups.com
Are you in the US ?

Wagner Castro

unread,
Feb 28, 2020, 10:19:34 AM2/28/20
to dcm...@googlegroups.com
by attaching your hl7 aetile and the same DCM4CHEE only on port 2575. I live in Brazil.



--

Tomas Gonzalez

unread,
Feb 28, 2020, 10:32:45 AM2/28/20
to dcm...@googlegroups.com
I’m confused.
So the Hl7 aetitle has to be defined differently in jboss .web3  HL7 SEND entry?

Sent from my iPhone

Tomas Gonzalez

unread,
Feb 28, 2020, 11:25:37 AM2/28/20
to dcm...@googlegroups.com
Great... It worked. I had to change the web3 entry HL7SEND to indicate a different aetitle. I also had to reboot the service. Looks good to start playing.
By any chance do you know Mirth ?
Tom

Udara M Pathirage - උදාර පතිරගේ

unread,
Feb 29, 2020, 7:28:44 AM2/29/20
to dcm4che
Dear Tomaz,

I'm alerting with this email thread since I am also using DCM4CHEe 2.18.3 from a long time, but never used MWL before. I wanted to implement MWL for the 2.18.3 and thought it is impossible to do it with this older version.

If you don't mind could you please send me the steps to enable MWL on DCM4CHEE 2.18.3 and how it could be tested? I appreciate if you can attach screenshots if possible.

I'm looking forward to hearing from you
Bye




>>Best Regards From
  Maj Udara Pathirage
       Master of IT, UCSC, Colombo | BSc in ENCM, Kelaniya | Dip. IT, NIBM | MCS(SL) | MBCS CITP (UK) 

   Certifications:
            * AWS Certified Cloud Practitioner
            * SNOMED CT Certification
  
    Hotlines: 0718110497 | 0776021042
     


Tomas Gonzalez

unread,
Feb 29, 2020, 7:44:54 PM2/29/20
to dcm...@googlegroups.com
Hi Hudara
Like you I’m very new to HL7 and dcm4chee.
Although I have been able to send and Hl7 to the MWL I still have a long way to go.
Im just playing with it at this time. 
Another member might be more knowledgeable to assist you.
Once I feel confidence, I will communicate with you.

Tomas


Sent from my iPhone

Udara M Pathirage - උදාර පතිරගේ

unread,
Feb 29, 2020, 11:07:37 PM2/29/20
to dcm4che
Tomas,

Noted with thanks, Bye

>>Best Regards From
  Maj Udara Pathirage
       Master of IT, UCSC, Colombo | BSc in ENCM, Kelaniya | Dip. IT, NIBM | MCS(SL) | MBCS CITP (UK) 

   Certifications:
            * AWS Certified Cloud Practitioner
            * SNOMED CT Certification
  
    Hotlines: 0718110497 | 0776021042
     

Eduardo Lima

unread,
Sep 24, 2021, 4:09:41 PM9/24/21
to dcm4che
Ola Wagner, vi que você é do Brasil, estou tentando formular uma mensagem hl7. Das que conseguir formular qunado eu enviou um novo procedimento do mesmo paciente o DCM4CHEE informa que é uma entrada ambígua. poderia me ajduar? Ver ser é algum campo errado ou ausente? ou enviar uma mensagem de MWL com os padrões certos? a que eu etou usando é esta aqui:

MSH|^~\&|||||||ORM^O01^ORM_O01|||2.5
PID||248673|248673|248673|EDUARDO SILVA LIMA||19951129|M|||||||||||||||||||
PV1||U||||||DR TESTE|
ORC|NW||9999||SC||||||||||||||
OBR|||9999|^^^^RM CRANIO||||||||||||||9999|11|||||MR|||||||||| 

Wagner Castro

unread,
Sep 26, 2021, 10:59:58 AM9/26/21
to dcm...@googlegroups.com
Opa Eduardo, me cobra amanhã, estou em viajem, eu ajudo vocẽ nessa questão ai.



--


Eduardo Lima

unread,
Sep 27, 2021, 2:18:21 PM9/27/21
to dcm4che
Ola Wagner, quando tiver um tempo para verificar a mensagem hl7 ficarei agradecido 
Reply all
Reply to author
Forward
0 new messages