How to create an xml message from HL7?

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How to create an xml message from HL7?

  • Creator
    Topic
  • #55561
    Neema Kapadia
    Participant

      Has anyone created an XML message from an HL7 message? We have never done that and do not have any formats that we can use under the XML folder (under the site/Format folder).  

      I need help to create a structure of the XML that we need to create and then need to know if I can use xlate or tclproc to create it.

      We need to send it using SOAP so will be connecting using the Webservices (which I have not used before either).  

      Any input you can provide will be much appreciated.

      Here is the sample:

      http://schemas.xmlsoap.org/soap/envelope/” xmlns:req=”http://xml.netbeans.org/schema/RequestPatient“>

       

       

           

             

              RVC

             

              Bilbo

             

              Baggins

             

              1959-12-26

             

              ?

             

              ?

             

              true

           

       

      Thank you,

      Neema Kapadia

    Viewing 2 reply threads
    • Author
      Replies
      • #85762
        Jim Kosloskey
        Participant

          The receiving system should provide you with either a schema (I prefer a schema) or a DTD for the messages they will receive.

          You then compile the schema/dtd using the XML Tool in the GUI. The result of that compile is then used by an Xlate as the OB message structure.

          The SOAP and potentially WSDL envelopes I believe are added within the CAA-WS addin. I don’t have hands on experience with that addin.

          I typically also compile the XML Schema in a 3rd party XML tool (like Oxygen or XML Spy) as further validation of the proper structure of the schema/dtd. Those tools may also give you more information regarding issues with the schema/dtd.

          Inside the Xlate it is just like any other message structure in that you need to understand the structure but you just use COPYs, ITERATEs, etc.

          Of course you could also use Tcl to do the whole thing. Not what I would do.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #85763
          Neema Kapadia
          Participant

            Thanks Jim.  

            I have requested the schema or DTD from the receiving vendor.

            I have not used the XML GUI before, is there documentation that can help me understand the steps I need to take to do what you have suggested?

          • #85764
            Jim Kosloskey
            Participant

              Depending on the Cloverleaf release, the help for XML is pretty good. If you are still stuck, email me and I will try to assist.

              email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.