HL7 2.3 pipehat file to HL7 2.3 pipehat file modifying a few MSH fields example - rbeckman-nextgen/test-mc GitHub Wiki

  1. Mirth Connect
  2. Home
  3. Examples and Tutorials

Mirth Connect : HL7 2.3 pipehat file to HL7 2.3 pipehat file modifying a few MSH fields example

Created by Dave Phelps, last modified on Jun 06, 2013

It seems pretty hard to find simple example channels, so I thought I'd share one I created. This channel reads an HL7 2.3 pipehat file, modifies a few fields in the MSH segment, then writes an HL7 2.3 pipehat file.

It may not be the best way, but it is simple to understand and it works.

 

modify outbound msh.xml

 

Here I've added a second destination and javascript filters to save to a specific destination folder based on the type of HL7 message.

modify msh segment save to dir on cond.xml

 

These are working in Mirth 2.2.1.

Attachments:

modify outbound msh.xml (text/xml)
modify msh segment save to dir on cond.xml (text/xml)

Document generated by Confluence on Nov 11, 2019 08:40

Atlassian

⚠️ **GitHub.com Fallback** ⚠️