XML to HL7 processing using Xlate or TCL

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf XML to HL7 processing using Xlate or TCL

  • Creator
    Topic
  • #50751
    Andre van Olden
    Participant

      Currently I am working on a project requiring conversion of xml to hl7.  I have approached this in two ways, both using a valid schema (xsd):

      1.  Xlate

      2.  TCL ( using grm for the DOM tree and then just building the HL7 in-line)

      Messages are significant in size ( > 4Mb ) with multiple images ( base64 ) eg: ( excerpt from .xml ) being converted to multiple OBX’s in the HL7

      20070720165332-0600

      20070720171216-0600

      1

      JPEG

      Base64

      /9j/SkZJRgABAAEAyADIAA

      20070720165332-0600

      20070720171223-0600

      2

      JPEG

      Base64

      /9j/4AAQSkZJRgABAAEAyADIAAD//

      The issue comes into play with larger Images, It can take up to 4hrs to process a single message, however, if dealing with small images, I get sub-second response.

      Any help or direction on what may be causing this issue would be appreciated

    Viewing 1 reply thread
    • Author
      Replies
      • #67377
        Bill Bertera
        Participant

          Andre’ van Olden wrote:

          Currently I am working on a project requiring conversion of xml to hl7.

        • #67378
          Robert Kersemakers
          Participant

            4 Hours is a LOT!

            We (CL 5.5) had a problem with XSDs when maxOccurrences wasn’t ‘unbounded’, but a value like ‘99999’. Testing an XML or translation on it was impossible. After changing all specific values to ‘unbounded’, there were no more troubles.

            Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

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