Query adding text before MSH

mercredi 8 octobre 2014

I've got a simple query to select HL7 messages from the database and pass them to a channel which looks at MSH.12, RXA.11.1 and RXA.11.4 and writes them to a file | delimited.



RXA.11.1 and RXA.11.4 are being read and written perfectly.



Nothing is being written for the MSH.12 and when I look at what is being passed to the file writer channel I see "result|message_received|MSH|^~\&|".



When I look at the transformed message I see the data for the MSH.12 is listed as MSH.13. When I change the transformer for the segment to msg['MSH']['MSH.13']['MSH.13.1'].toString() I still get nothing.



What is the best way to remove the extra text at the front of the segment?





Query adding text before MSH

0 commentaires:

Enregistrer un commentaire