Announcement

Collapse
No announcement yet.

Native XML to ER7

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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>
    ....

  • #2
    I forgot to mention that this is for Mirth Connect 2.2.1.5861

    Comment


    • #3
      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.
      Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

      Nicholas Rupley
      Work: 949-237-6069
      Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


      - How do I foo?
      - You just bar.

      Comment


      • #4
        Thank you.

        Comment

        Working...
        X