Tag: nextgen

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 #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,...

Mirth (NextGen) Connect Bits #1: Looping & Deleting Segments

[UPDATED] : Fixed the delete logic since I found issues on it. Loop will start at the bottom or last child instead. A quick rundown on how to loop and delete specific segments based on some conditions. Here I want to check all OBX segments and delete those that...