Announcement

Collapse
No announcement yet.

inbound hl7 transformed to my XML schema

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

  • inbound hl7 transformed to my XML schema

    I want to transform the HL7 message into a specific format of XML (essentially my own serialized Java objects).

    Within Rhapsody one could load up the HL7 on the left, XML (even without an XSD) on the right and then map between the two objects. There would be a lot of iterating code, creation of new elements. etc.

    Is it possible or are there plans to streamline the conversion from HL7 to a custom schema?

    If I do the "drag to add lines of code" from both models to create a transformation script, that should fit the bill.

    I think you have most of the functionality in form or another so perhaps this is already possible?

    thanks!


  • #2
    Re: inbound hl7 transformed to my XML schema

    The same exact functionality is achieved with the message builder function.

    1) Paste your HL7 in the incoming data tab of a transformer
    2) Go to the outgoing tab and choose XML
    3) Paste your XML
    4) Add a new step and change the type to Message Builder
    5) Drag a segment from your XML tree to the builder
    6) Drag a segment from your HL7 tree to the builder

    You can map everything with steps like this, or you could do it manually in Javascript with E4X.

    Hope this helps!
    -Chris
    Chris Lang

    Comment


    • #3
      Re: inbound hl7 transformed to my XML schema

      hi chris!

      If let's say I didn't place anything in the incoming and outgoing message tabs, can I still convert my HL7 message to XML just by choosing HL7 v.2 as my source? Isn't it as simple as what I did?? Thanks! PLS reply. This will surely help me evaluate Mirth.

      Tonet
      Tonet

      Comment


      • #4
        Re: inbound hl7 transformed to my XML schema

        Yes - you can choose HL7v2 as the incoming data and XML as the outgoing data type. Mirth will give you the HL7 as XML (make sure your destination has XML incoming, XML outgoing)

        -Chris
        Chris Lang

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎