Inbound PDFs

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Inbound PDFs

  • Creator
    Topic
  • #53765
    Kevin Crist
    Participant

      We are having issues with receiving some IB pdfs that are embedded into the HL7. They are getting truncated but not sure where. They start out in System A and pass thru to System B who then passes it on to System C which is cloverleaf. Sysem A says they are sending the complete message. What can we check in cloverleaf to see if we are cutting it off. What could cause this issue with Cloverleaf?

      Thanks.

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

          Kevin,

          Check the SMAT inbound to see if it is cut off in the message you receive.

          Then check the SMAT outbound to see if it is cut off upon send.

          If it is there in and not out then check the field definition for the length. If you are pre Cloverleaf 6.0 then use an editor to look at the fields file.

          If the entry does not have a length of -1 then it is quite possible the truncation is happening in the Xlate (I am assuming Xlate use here).

          It is also possible the PDF is not being encoded and there are binary control characters causing parsing to be improper regardless of the field length.

          The field being used should follow the HL/7 ED Data Type rules and use something like base-64 encoding to eliminate the issue binary data could cause. Theree are other components of the ED Data Type which should be used as well. They describe among other things the encoding method, the type of document, etc.

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

        • #78862
          Kevin Crist
          Participant

            Thanks for the reply Jim.

            we are on CL 5.4.1. We have the field length to a -1 and the pdf is truncated on the IB smat. Instead of a 12 – 16 page holter we get just enough of the pdf to create one blank page in our EMR. The wierd thing is that some do work and on the ones that dont work we can go in to the application and resend and most times we get the whole pdf. I didnt know if there would be any issue with it taking too long to transfer or something to that effect.

          • #78863
            Jim Kosloskey
            Participant

              Kevin,

              If you can get one of the problem messages resent, turn up the EO so you can see the PDL message hex dump.

              It is possible the PDF is not encoded and there is a binary combination that looks like the MLP ending encapsulation characters inside the PDF so PDL thinks it has the end of the message.

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

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