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
9
votes
1 answer

What does msg mean in Mirth?

I'm trying to learn my way around some Mirth code. I keep seeing things like this in the transformer for different channels: msg['PRB']['PRB.4']['PRB.4.2'].toString() I understand that this is parsing a HL7 message and I understand that msg…
bernie2436
  • 22,841
  • 49
  • 151
  • 244
7
votes
1 answer

Add certificate to Mirth Keystore

This seems like it should be a simple thing to do. I'd like to be able to trust certs coming from services Mirth depends on without modifying the global Java cert store (or dropping a few grand per instance for the SSL plugin). I've tried the…
Chris Camaratta
  • 2,729
  • 22
  • 35
7
votes
1 answer

Does Mirth connect 3.6 open source supports HTTP without using SSL manager

I'm trying to setup a free verion of mirth connect 3.6 version for my client . I need to setup an interface with HTTP connector. What are the necessary certificates required to connect over HTTPS . can anyone list out all the checklist …
ssr
  • 71
  • 1
  • 2
6
votes
1 answer

HL7V2 HAPI parser exception while receiving data via TCP/IP

I'm using the HAPI hapi-structures-v25 library with version 2.3 to parse HL7v2 message & convert that into FHIR resources. I'm facing a strange issue while receiving and parsing the HL7V2 message using HAPI via TCP listener. Determine encoding for…
Vibin Guevara
  • 778
  • 10
  • 27
6
votes
3 answers

How do you debug Javascript code in Mirth Connect?

I am trying to create a library of functions in Mirth Connect, using Code Templates. Using logger.debug is painful. I tried copying the code to a dummy HTML page and use browser's debugging tools. Unfortunately, the javascript engines in Mirth v/s…
rams
  • 6,381
  • 8
  • 46
  • 65
6
votes
3 answers

Count the number of nodes in an XML snippet using Javascript/E4X

Consider this problem: Using Javascript/E4X, in a non-browser usage scenario (a Javascript HL7 integration engine), there is a variable holding an XML snippet that could have multiple repeating nodes. Barney
p.campbell
  • 98,673
  • 67
  • 256
  • 322
5
votes
1 answer

JAX-WS Java client, WCF service interoperability: "400: Bad Request"

I have also asked this question on the Mirth forum. We are currently trying to connect to a WCF service using the open source health care integration engine Mirth . Mirth is Java-based, uses Mule internally which uses JAX-WS. The WCF server is…
user1230890
  • 51
  • 1
  • 2
5
votes
3 answers

Convert XML to HL7 messages using Mirth Connect

I'm working with Mirth Connect v2.0 and getting stuck on one task, transformation of XML to HL7 v3. I've connected to an Ms-Access Database (the hospital system is in Access), I've set up the channel and set the Connector Type to File Writer in the…
jwesonga
  • 4,249
  • 16
  • 56
  • 83
5
votes
3 answers

ASTM 1381-02 Serial Interfacing with Medical Lab equipment

Has anybody successfully interfaced Medical Lab devices like Cell Counters /ABG instruments to mirth connect using ASTM 1381-02 or similar protocols over serial port. I am working on a small project. I need the data transmitted by the machine in…
Nawaz
  • 413
  • 2
  • 7
  • 16
5
votes
1 answer

JavaScript unit testing with Rhino

I hope someone out there might be able to help me out with a coding problem I am having. I am currently working with server side JavaScript code that executed within a third party Java application (mirth connect) that executes the implemented…
hizni
  • 53
  • 4
5
votes
4 answers

Json Parsing in Mirth OR Json in Mirth OR HL7 to JSON in Mirth

I want to use JSON as input of mirth channel and output like details Save in db or Create HL7 message. In short Input as JSON Parse it and output as any format.
Rikin Patel
  • 8,848
  • 7
  • 70
  • 78
5
votes
2 answers

Set Mirth destination to send transform data back as a custom ACK

I have a Mirth channel that set up as a web service listener, it receives an ID, build an HL7 query message and send this query and eventually get back an HL7 response. Channel Name: QueryChanel Source Connector Type: Web Service…
Fylix
  • 2,551
  • 6
  • 45
  • 72
4
votes
2 answers

How to load static data in Mirth, avoid many roundtrips to a database

Mirth is a broker to help with healthcare application HL7 message integration. My question is about saving yourself the trouble of hitting your own datastore everytime you want to do a lookup on some data contained within the HL7. Scenario: for each…
p.campbell
  • 98,673
  • 67
  • 256
  • 322
4
votes
1 answer

Calling Mirth 'client api' services from jquery

I have a .Net website, hosted on an intranet web server. On the .Net site I have a basic jquery ajax call to our mirth machine. I'm trying to hit the client apis that are provided with the base install of mirth. We are running mirth 3.9.1, with a…
Todd Horst
  • 853
  • 10
  • 22
4
votes
2 answers

How to use Escape character in HL7 message

I am using ca.uhn.hl7v2.util.Terser to create a HL7 message. For one of the HL7 fields I need to set the following value "\home\one\two". HL7 message type is MDM_T02(version is 2.3.1). Because "" is an escape character in hl7 messages if I try to…
1
2 3
33 34