KommServ Blog
With this blog, we would like to show you, using simple code snippets and tutorials, what the communication servers Mirth® Connect and BridgeLink have to offer.
Mirth® Connect is a powerful, versatile communication server that has been commercially available only since version 4.6, but was open source up to version 4.5.2. It enables the seamless connection of medical data and systems, thus ensuring smooth communication and the secure exchange of health data.
BridgeLink is a fork of the world-renowned and now commercial communication server Mirth® Connect. BridgeLink aims to continue the open-source approach that Mirth® Connect followed up to version 4.5.2.
Both communication servers are used for the transport and modulation of data between your hospital information system and connected subsystems. They support numerous connection types such as socket (MLLP, TCP), file storage (local storage, FTP, SFTP, SMB, WebDAV), DICOM, HTTP, SOAP, etc.
Due to its structure, the system not only allows for the sending and receiving of common messaging standards like HL7, but also the implementation of completely custom-developed interface concepts. The system also supports this through reading and writing to databases and the individual design/processing of messages using JavaScript.
For questions, suggestions and advice regarding Mirth® Connect or BridgeLink, please feel free to use the respective contact form or call us at + 49 6825-95392-33 Contact us:
Email validation
Especially when connecting to appointment, patient, or referring physician portals, it is becoming increasingly common for email addresses to be exchanged via HL7. To verify the validity of an email address directly on the communication server and thus avoid NACKs in the target system, the following code snippet can be used, which is implemented in the Mirth Connect / BridgeLink or the OIE in the…
The launcher takes forever to start.
Solution 1: Block outbound TCP port 80 for the launcher in the Windows Firewall. To do this: 1. Create a custom rule → Outbound. 2. Select the Mirth Connect Launcher EXE file as the program. 3. Now select remote ports 80 and 443 as TCP. 4. For the following topics, select the area/action…
Change the time zone for the comm server
Especially on Linux systems, which mostly operate in the UTC time zone, the date format displayed in the comm server may not always match the time zone in which the server is located. To configure the comm server to display data in the Europe/Berlin time zone, you need to modify the `mcservice.vmoptions` file (Mirth Connect) or…
Replace "forbidden" XML control characters
It can happen – for example, within lab data (HL7 ORU) – that control characters are sent that are not permitted in XML. Since the Mirth/BridgeLink always converts an HL7v2 message to XML – provided a filter or transformer is present – problems can arise. An example of an error that might occur is…
Add/remove leading zeros
Especially in systems like SAP ish (med), case and patient numbers are often sent with leading zeros due to fixed length values. Since some subsystems cannot handle these values, the Mirth® Connect or BridgeLink communication server offers the option of using Javascript to remove the leading zeros during transmission…
Check if a field is numeric
Sometimes it's necessary to check certain fields to ensure they contain only numbers. The JavaScript function `isNaN()` can be used for this purpose. `isNaN` stands for "is not a number". For example, if you want to filter messages where the case number is not a number, you can use this JavaScript code…