Sending HL7 messages once I recieve a study

1,257 views
Skip to first unread message

Jasmeet Singh

unread,
Jun 16, 2014, 9:22:52 PM6/16/14
to dcm...@googlegroups.com
Hi,

I have a workflow where I need to send an HL7 message to a RIS once the relevant PACS sends me a study on my DCM4chee. The ORM is to indicate the patient and study information.

Now I have been reading about MPPS & HL7 send service of DCM4chee but I have a few questions.

As per my understanding HL7 send service of DCM4chee would only route a message it has received based on the forwarding rule. So I don't think this would fit my requirement.

The images are not being sent by regular modality. Its through an command line application that does a dcmsnd of each image to Dcm4chee. Will MPPS work here? Is there any other way to achieve this?

I need help on this desperately - Please help

Thanks.
Jasmeet.

fleetwoodfc

unread,
Jun 17, 2014, 5:47:56 AM6/17/14
to dcm...@googlegroups.com
The MPPSEmulator and MPPS2ORM Services will do what you need.

Jasmeet Singh

unread,
Jun 22, 2014, 3:29:50 AM6/22/14
to dcm...@googlegroups.com
Hi,

I have been doing that but I am not getting any messages on my HL7 interface.

Here are my settings:-

1.) MPPSEmulator Service:
ModalityAETitles = JSINGH:3m
PollInterval = 5m
CalledAETitle = DEMOARCHIVE

2.) MPPS2ORM Service:
Enabled = true
IgnoreUnscheduled = false
IgnoreInProgress = true
ReceivingApplication = HL7FEEDER
ReceivingFacility = demosite

3) Add AET with AETitle = HL7FEEDER^demosite  and host/port configuration of HL7 Server
4) HL7Send:
ForwardingRules =

[receiving=HL7FEEDER^MPHRX]HL7FEEDER^MPHRX

Here are the logs I see:-
2014-06-22 03:09:46,019 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4chex.archive.mbean.TemplatesService] Compiling Stylesheet /opt/demosite/dev2/apps/files/dcm/dcm4chee-2.15.0-mysql/server/default/conf/dcm4chee-hl7/mpps2orm.xsl
2014-06-22 03:09:46,024 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/127.0.0.1,port=57830,localport=2104]
2014-06-22 03:09:46,025 INFO  -> (TCPServer-1-1) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/127.0.0.1,port=57830,localport=2104]
2014-06-22 03:09:46,159 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4chex.archive.hl7.MPPS2ORMService] MSH|^~\&|HL7FEEDER|demosite|DCM4CHEE|DCM4CHEE|||ORM^O01||P|2.3||||||8859/1^MPID|||363617^^^demosite||THUNDER SELINA||19420606|F^MOBC|SC||||CM^MOBR|1|||^^^MZDS|1.2.840.113681.2229465416.929.3479380048.163^HL7FEEDER^Application^DICOM
2014-06-22 03:09:46,185 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4chex.archive.xdsi.XDSIService] ianListener called!
2014-06-22 03:09:46,187 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4chex.archive.mbean.TemplatesService] Compiling Stylesheet /opt/demosite/dev2/apps/files/dcm/dcm4chee-2.15.0-mysql/server/default/conf/dcm4chee-ae/mpps2ups.xsl
2014-06-22 03:09:46,305 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4chex.archive.dcm.ups.UPSFeedService] Creating 1 UPS(s) triggered by MPPS from JSINGH
2014-06-22 03:09:46,455 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4chex.archive.ejb.entity.CodeBean] Created Code[pk=12, value=110005, designator=DCM, version=null, meaning=Interpretation]
2014-06-22 03:09:46,457 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4chex.archive.ejb.entity.UPSBean] Created UPS[pk=2, uid=1.2.40.0.13.1.1.3455524126.20140618022350781.32773]
2014-06-22 03:09:46,510 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4chex.archive.dcm.gpwlscp.GPWLFeedService2] No mpps2gpwl.xsl found for JSINGH
2014-06-22 03:09:46,519 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] sending [pc-1] 1:N_SET_RSP
        class:  1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
        inst:   1.2.40.0.13.1.1.3455524126.20140618022350781.32772/?
        status: 0
2014-06-22 03:09:46,520 INFO  DEMOARCHIVE->DEMOARCHIVE (ActiveAssoc-5) [org.dcm4cheri.net.FsmImpl] received [pc-1] 1:N_SET_RSP
        class:  1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
        inst:   1.2.40.0.13.1.1.3455524126.20140618022350781.32772/?
        status: 0
2014-06-22 03:09:46,521 INFO  DEMOARCHIVE->DEMOARCHIVE (Thread-20600) [org.dcm4cheri.net.FsmImpl] sending A-RELEASE-RQ
2014-06-22 03:09:46,521 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] received A-RELEASE-RQ
2014-06-22 03:09:46,521 INFO  DEMOARCHIVE->DEMOARCHIVE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] sending A-RELEASE-RP

Am I missing something?

Thanks,
Jasmeet.

fleetwoodfc

unread,
Jun 22, 2014, 7:03:31 AM6/22/14
to dcm...@googlegroups.com
Send rule should be:
[receiving=HL7FEEDER^demosite]HL7FEEDER^ demosite

Jasmeet Singh

unread,
Jun 22, 2014, 7:10:45 AM6/22/14
to dcm...@googlegroups.com
A space is required here ?
[receiving=HL7FEEDER^demosite]HL7FEEDER^ demosite


--
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/OtPtjwetJfQ/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,
Jun 22, 2014, 12:50:15 PM6/22/14
to dcm...@googlegroups.com
No that's a typo
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.

Jasmeet Singh

unread,
Jun 22, 2014, 10:15:58 PM6/22/14
to dcm...@googlegroups.com
Still not working. I checked the mpps table. It shows status for all the studies received as 1. I am not sure if that gives you any help but just putting it out there.

Also the application that is sending the DICOMs,  is it supposed to send some status back?


To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.

Johnson F

unread,
Sep 2, 2021, 5:41:19 AM9/2/21
to dcm4che
working?
Reply all
Reply to author
Forward
0 new messages