I'm working with Mirth Connect v2.0 and getting stuck on one task, transformation of XML to HL7 v3. I've connected to an Ms-Access Database (the hospital system is in Access), I've set up the channel and set the Connector Type to File Writer in the destination tab. When I deploy the channel I can see the log file is populated with the records in XML format, now I'm stuck on how to convert/transform the XML message to HL7. Any pointers out there?
In the channel Summary tab
Click "Set Data Types" and make sure the Source inbound is set to XML and the Source outbound is set to HL7 v3 and the destination outbound is set to HL7 v3.
On the Source tab click Edit Transformer on the left sidebar
In the Edit Transformer window on the left select the Message Templates tab.
You can load sample files into the Inbound and Outbound templates using the little folder icons.
You can drag and drop nodes between the inbound and the outbound templates to create your transform.
This is pretty standard Mirth stuff so I hope I haven't oversimplified. Hope this gets you moving in the right direction.