web stats
Mirth Community - View Single Post - need to read a file with multiple HL7 messages
View Single Post
  #1  
Old 09-04-2014, 12:05 PM
johnjohn johnjohn is offline
OBX.1 Kenobi
 
Join Date: Aug 2014
Posts: 31
johnjohn is on a distinguished road
Default need to read a file with multiple HL7 messages

I am using mirth 3.0.1.7051. I need to process a file contains multiple HL7 messages which does not have the header and trailer. The file reader is used to read the file. If I use the batch process, do I need the BHS, FHS, FTS and BTS? I want to produce different file for each HL7 message. Do you know what is the easiest way to do it? What type of segment separators do we need in order to process it correctly? Thanks again for your help.

My input file is as follows:
0bMSH...
0d0aPID...
0d0aPV1
0d0aFT1
...
...
...
0d0a1c0d0a0bMSH
0d0aPID
0d0aPV1
...
...
0d0a1c0d0a0bMSH
0d0aPID
0d0aPV1
...
...
0d0a1c0d0a (last message)
Reply With Quote