Questions tagged [mirth]

Mirth is an open source cross-platform interface engine with a focus on medical message formats (HL7, CCD, CCDA, DICOM, and more) that enables bi-directional sending and transformation of messages between systems and applications over multiple transports available.

Mirth was originally based on the open source Mule ESB engine to provide speed, stability and security in a flexible environment. Due to Mule licensing changes, Mirth Connect 3.0 was rewritten with its own ESB, Donkey.

Mirth Connect is written in Java and also uses the Rhino engine to execute JavaScript at runtime. This means that Mirth questions will often be tagged for java, javascript, or rhino.

More information on Mirth Project web page.

498 questions
0
votes
2 answers

MIRTH: How do I send different message types (i.e. an ADT vs an ORU) coming in on a channel to two different destination files?

MIRTH: How do I send different message types coming in on a channel to two different destination files?
GWR
  • 1
  • 1
0
votes
1 answer

How to get Acknowledgement after message send to destination in mirth

I created one channel, receiving inbound messages using LLP Listener connector type. I am using Send Ack radio button. We know that Once channel received the message by default it will send the acknowledgement to the sender. I could see the response…
user2198239
  • 21
  • 1
  • 7
0
votes
1 answer

Separate Last^First with Regular Expressions in MIRTH

I have tried and tried to get the expressions option working in a transformer on Mirth and the channel won't start if I include it. Basically, I have Last^First^MI^^ in the XML. I want to transform the Last portion to HL7 field for LastName, same…
0
votes
1 answer

How to load properties file from jar to javascript code in mirth environment

Hai I am trying to read properties file from jar to my javascript code in mirth environment. I wrote js code in transformer. I kept jar file in lib folder. It is showing exception like: The choice of Java method java.io.FileInputStream…
user2198239
  • 21
  • 1
  • 7
0
votes
2 answers

Mirth Connect Sender Channel Destination Database writer unable to update the record in DB

I have a strange problem with Mirth Connect Sender Channel. Everything is working fine and tested in testing environment and when I deployed the sender channel in live strange problem arises. Data is processed successfully in Source Transformer and…
swaroop
  • 147
  • 1
  • 6
0
votes
1 answer

MirthConnect Error Database Write Successful but no data found in SQL Server database

I have a channel in Mirthconnect which read HL7 messages and then extract relevant information and write to SQL server database. It is showing some unusual behaviour, on the Mirthconnect Message log it shows "SUCCESS: Database write success" but no…
0
votes
1 answer

The entity name must immediately follow the '&' in the entity reference sending HL7 Message

All I am new in mirth when i sending a hl7 message to Mirth Http Listener, I get a Exception The entity name must immediately follow the '&' in the entity reference. Thank in advance
Arvind Singh
  • 75
  • 2
  • 6
0
votes
1 answer

Error Reading Multiple Segments from Mirthconnect

I am trying to read multiple segments (OBR) from HL7 message to database using Mirthconnect. The message is going through fine and Mirthconnect recording as Database write success, however I cannot see the data in the database. Can anyone please…
0
votes
1 answer

How to run javascript Regular Expression in Mirth

I have a the following string: Source: "HKID:A1234567~PKey:00888880~DOC:TKWC033330" Regex: .*(HKID:.*?)(.+?)((?=~)|\s|\z) When I test this at the JavaScript Regular Expression Test site I got A1234567 so all are good. I put this expression in a…
Fylix
  • 2,551
  • 6
  • 45
  • 72
0
votes
1 answer

What is Source Connector Inbound,Source Connector Inbound and Destination 1 Outbound in Mirth?

What is Source Connector Inbound,Source Connector Outbound and Destination 1 Outbound in Mirth means? And which case these be used. I searched on Mirth forum but didn't get satisfactory answer. I'm unable to sense these 3 concepts. Any help is…
thatisvivek
  • 875
  • 1
  • 12
  • 30
0
votes
1 answer

Mirth: When any error occurred in source then post processor script not executed

When any type of error occurred in source of mirth then post processor script not executed. can any one tell me why this things happen? Update: I found that there is bug in mirth http://www.mirthcorp.com/community/issues/browse/MIRTH-1294 so, now…
Rikin Patel
  • 8,848
  • 7
  • 70
  • 78
0
votes
1 answer

mirth administrator won't load on certain user accounts

I have a mirth system on a windows server. The system was running properly. Then, suddenly, I was only able to launch Mirth Administrator when logged in as Admin on Windows Server. For all other accounts, if I right click the mirth icon in the…
bernie2436
  • 22,841
  • 49
  • 151
  • 244
0
votes
1 answer

Javascript: Insert text at specified line

I am kind of new to javascript, but I was looking to see if it was possible to add a line of text to a file at a specified position? i.e. every file needs to have the same text inserted at line no. 3 Someone suggested "split by line feed, add…
Upstart
  • 196
  • 1
  • 2
  • 12
0
votes
1 answer

Moving a file on Mirth connect from one folder to other with custom code

I need to know,How can i stop the processing of the channel for a particulate hl7 file if certain condition is not matched for that hl7 file in source transformer or destination and then how to move that file to desired folder from source…
0
votes
1 answer

Mirth: dynamically determine which SOAP method to call

Consider a Mirth channel with a Destination of a SOAP Sender. The WSDL is successfully loaded and has more than one method available. Each method would take a different number of arguments. Example…
p.campbell
  • 98,673
  • 67
  • 256
  • 322