web stats
Mirth Treat Dicom Rejections As Sent - - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 04-24-2019, 11:09 AM
devinsoares devinsoares is offline
What's HL7?
Join Date: Feb 2018
Posts: 4
devinsoares is on a distinguished road
Exclamation Mirth Treat Dicom Rejections As Sent -

Hi all,

Having some issues here that im hoping someone can shed some light on.

Im using mirth as a dicom router to route messages to another dicom receiver based on the source AE title. However on occasion there might be a typo in the Ae title or whatever and the message will get rejected at the destination. Generally this doesnt happen but on occasion it has. When 1500 or images get rejected mirth ends up filling up the database table and subsequent messages are not processed .

I dont care about these reject transfers and do not want mirth to store them in the database , however that doesnt seem possible. If the destination dicom receiver rejects the message the destination status is ERROR no matter what i sent in the response transformer or the postprocessor script.

In my post processor i've tried setting
responseMap.put("Destination 1", ResponseFactory.getSentResponse("sent"));
responseMap.put('d1', ResponseFactory.getSentResponse('sent'))

In my destination transformer i've tried the following
responseStatus = SENT;
responseMap.put("d1", ResponseFactory.getSentResponse("Message Sent to Lab"));
return SENT;
Using mirth 3.6.0
Reply With Quote
Old 04-24-2019, 06:08 PM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,107
agermano is on a distinguished road

in your response transformer, all you should need is
responseStatus = SENT;
Set your response transformer data types to Raw. If there isn't actually a response message to process, then the response transformer won't run unless the inbound type is Raw. I don't know if a DICOM sender normally returns a response that you can process, but few if any connectors will produce a response message in an error situation.
Reply With Quote

cstore, dicom, response, sent status

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 05:05 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation