Stupid Question?

  • Creator
    Topic
  • #49005
    Randy Colella
    Participant

    I think I know the answer to this, but I was asked to double check.

    Is there any way to send images (i.e JPGs) via an HL7 message?

Viewing 4 reply threads
  • Author
    Replies
    • #60444
      Steve Carter
      Participant

      Yes, images, pdfs, etc. can be sent within HL7.  However, they must be base64 encoded.  If they are going to be running through any type of translate, they must be broken up into multiple segments to avoid going over the 64K field size limitation.

      Let me know if you want more specific details.

      Steve

    • #60445
      Jim Kosloskey
      Participant

      Steve,

      Couldn’t you just change the field length in the variant to infinite?

      Then no need to build multiple segments – unless, of course, the receiving system has a problem with fields larger than 64k.

      Jim Kosloskey

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

    • #60446
      Chris Brossette
      Participant

      Steve Carter wrote:

      Yes, images, pdfs, etc. can be sent within HL7.  However, they must be base64 encoded.  If they are going to be running through any type of translate, they must be broken up into multiple segments to avoid going over the 64K field size limitation.

      Let me know if you want more specific details.

      Steve

      I am with Randy, we are looking at sending PDFs from our EKG system (MUSE) to McKesson’s HPF system.  I know it is possible but it would be great to see an example…..

      Thanks Steve for your help….

      Chris Brossette

      MS Baptist Health Systems

      601.968.1462

      cbossette@mbhs.org

    • #60447
      Will Soper
      Participant

      We send Muse EKGs to HPF via postscript. The result message contains a ZPS segment, which is just an encoded postscript document. All we do to decode the segment is:

      puts $outfile [string map {

      \F\ |

      \S\ ^

      \T\ &

      \R\ ~

      \E\ \

      \X0A\ n

      \X0D\ r

          } $ekg_strip]

      and save $outfile to cold as a .ps file

    • #60448
      David Barr
      Participant

      That’s not a very reliable way to decode HL7 escape sequences.  It will mess up on sequences like ETS .  I’ve got a short little proc that is more robust if you are interested.

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

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,293
Replies
34,435
Topic Tags
286
Empty Topic Tags
10