Tag: mirth connect

Mirth (NextGen) Connect Bits #7: Code Templates Usage

If you’re a developer familiar with full-stack technologies and some software design patterns like MVC, you’ll know that you have parts of your codebase where you have helpers, model, controller, and others. Basically organizing functions, classes, and methods to be re-usable. In Mirth (NextGen) Connect, you can do scripting...

Mirth (NextGen) Connect Bits #6: HL7 Data Update & Manipulation

HL7 data manipulation in Mirth (NextGen) Connect can be done using the different options in the Transformer. However, for complex conditions where you want to change specific parts of the HL7 message, you can code it using JavaScript. If you’re reading and outputting the data as HL7, then the...

Mirth (NextGen) Connect Bits #4: How To Use DateUtil Class

DateUtil is a powerful function found in the Mirth Connect application. When calling it in a JavaScript type Filter/Transformer, you should see the definition and arguments needed. You can also find it in the “Reference” section. This is part of the User API in the application, you can check...

Mirth (NextGen) Connect Bits #3: CRUD Database Operations Using JavaScript

Mirth (NextGen) Connect has a Database Reader in the “Source” and a Database Writer in the “Destination”. However, if you have some complex processes like getting additional information in between, you can do database operations (create, read, update and delete) anywhere that executes the JavaScript code (ex. Filter, Transformer,...