Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   Native XML to ER7 (http://www.mirthcorp.com/community/forums/showthread.php?t=10250)

smetz02 03-20-2014 12:00 PM

Native XML to ER7
 
Hi everyone,

I am brand new to Mirth and would like to know how to most easily transform an HL7 XML message, into ER7, pipe delimited format. There's an example of the XML format I'm using below, which has been truncated to exclude any PHI. This content is being delivered to a Channel with a Connector Type of Channel Reader. I would like to deliver this content to an LLP Sender Destination, in pipe-delimited format, without having to apply field by field mapping. Is there a way to just transform an entire XML message into it's equivalent ER7 format?

Thanks so much!

<ADT>
<MSH>
<MSH.1>|</MSH.1>
<MSH.2>^~\&amp;</MSH.2>
<MSH.7>
<TS.1>201402180920</TS.1>
</MSH.7>
<MSH.9>
<MSG.1>ADT</MSG.1>
<MSG.2>A08</MSG.2>
</MSH.9>
<MSH.10>48151</MSH.10>
<MSH.11>
<PT.1>T</PT.1>
</MSH.11>
<MSH.12>
<VID.1>2.3</VID.1>
</MSH.12>
</MSH>
....

smetz02 03-20-2014 12:07 PM

I forgot to mention that this is for Mirth Connect 2.2.1.5861

narupley 03-20-2014 12:30 PM

If that's following the correct XSD, you can just use the HL7 strict parser. Inbound data type XML (strip namespaces disabled), outbound data type HL7 v2.x with Use Strict Parser enabled.

smetz02 03-21-2014 07:37 AM

Thank you.


All times are GMT -8. The time now is 02:38 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation