I have a seemingly easy problem that I can’t seem to solve. I am trying to take a file inbound from a test site that has a DFT HL7 formatted like this:
Keep in mind there are many messages in this file, so it’s this format below, CR/NL, and then a new message starts in the same file.
MSH|^~&|Source|Company|Destination|Facility|201604251410||DFT^P03|74866|P|2.3|
EVN|P03|201604251410|01
PID|1|000000000|000000000^^^^^|0000000|TESTING^TEST^T|
PV1|1|O|LOCAL||||111^DOC^DOC^D|222^DOC2^DOC2||||||||||||||||||||||||||||||||||||201603171127|
FT1|1|||20160317||GG|||||||||||||N60.01^^I10~N60.01^^I10~N63^^I10~N63^^I10||||0000000||00000|RT|
All I am trying to do is grab this data with a file reader and send it through a simple XLT I built. All I am getting in the HL7 tester is MSH, it doesn’t see the rest. I’ve done this will HL7 messages without NL and other things. I’ve tried setting the file reader as single and HL7 and all I get is this output:
MSH|^~&|Source|Company|Destination|Facility|201604251410||DFT^P03|74866|P|2.3
EVN
PID
FT1
I know it’s something simple, but I can’t seem to figure it out. Any suggestions?