Announcement

Collapse
No announcement yet.

How to transform a HL7 file to an XML file?

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

  • How to transform a HL7 file to an XML file?

    Hi,

    I just started using Mirth and I need to have a HL7 file transformed to an XML file. Could somebody please give me some step-by-step instruction?

    Thanks.

  • #2
    Re:How to transform a HL7 file to an XML file?

    Hi there fwan,

    I suggest taking a look at VocalEz's great startup tutorial to get you on the right path
    with setting up your channel and beginning transformers.
    However, when it comes to your destination you are going to want to use the File Writer under your Connector Type.

    Now that you have all your variables mapped out in your Transformer just pop them into the XML template you want.

    Ie:
    Code:
    <patient>
     <id>${pidPatientID}</id>
     <firstName>${pidPatientFirstName}</firstName>
     <lastName>${pidPatientLastName}</lastName>
    </patient>
    Something to that extent is my best guess. I've only been using Mirth for about a day now, but thats my best guess at it.
    Good luck!
    -Jim

    Comment


    • #3
      The link http://www.mirthproject.org/index.ph...d=45&Itemid=81 is broken

      Comment

      Working...
      X