XML to ORU

Clovertech Forums Cloverleaf XML to ORU

Tagged: 

  • Creator
    Topic
  • #122035
    JD
    Participant

      Greetings – looking into an interface request to convert an xml file into an hl7 oru message.

      If someone has some insight/suggestions how this may work it would  be very welcome and appreciated.

      Can Cloverleaf receive the xml file real time through a port?  What type of structure does it need (thinking it will need one, could be wrong).  Thanks in advance for any feedback/suggestions/information.  JD

    Viewing 1 reply thread
    • Author
      Replies
      • #122038
        Jim Kosloskey
        Participant

          Hopefully, the sending system can provide a valid XML Schema. With that, you can compile the XML message and use that structure in an Xlate (along with the HL/7 needed).

          Cloverleaf can reference the file via the Fileset/FTP protocol if needed (that would have a port involved). The exchange is not ‘real time’ however, it is still file-based and will involve reads.

          If there is no schema, you could use 3rd party tools to create a schema from the XML but that is not very reliable. You could also use Tcl to parse the XML yourself – not something I have done.

           

          email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.

        • #122039
          JD
          Participant

            Thank you –  I’ll check with vendor about providing a valid/good xml schema.  JD

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.