web stats
Mirth Community - View Single Post - DB Reader to HL7 message
View Single Post
  #5  
Old 03-31-2015, 01:59 AM
kkrgr8 kkrgr8 is offline
What's HL7?
 
Join Date: Jan 2015
Posts: 5
kkrgr8 is on a distinguished road
Default

1) Change the source connecter type to database reader.
2) Configure the database reader settings (driver,username,password).
3) In source transformer use the javascript mapper to create a HL7 message.

Use this function to create the hl7 message from the xml

SerializerFactory.getSerializer('HL7V2').fromXML(m essage);


You have to fill the outbound message template with following

MSH|^~\&|||||
Reply With Quote