Extract an Embedded PDF file

Discussion of open issues, suggestions and bugs regarding to (known as Delphi HL7) HL7 Components
Post Reply
luv2ski555
Posts: 7
Joined: Thu Apr 03, 2014 2:18 am

Extract an Embedded PDF file

Post by luv2ski555 »

I'm using HL7 2.3 and Need to extract an embedded PDF file and save it as a regular PDF file from the ZEF segment. I have not been very successful on finding information of how you would go about this. Can anyone give me some ideas on how you would extract a PDF from the ZEF segment?

The ZEF segment look like this
ZEF|1|JVBERi0xLjMNCjEgMCBvYmoNCjw8DQovVHlwZSAvQ2F0YWx...

Thanks
luv2ski555
Posts: 7
Joined: Thu Apr 03, 2014 2:18 am

Re: Extract an Embedded PDF file

Post by luv2ski555 »

Can anyone tell me if DelphiHL7 supports extracting PDF's from the ZEF segment?
admin
Site Admin
Posts: 256
Joined: Sun Jun 05, 2011 8:06 pm

Re: Extract an Embedded PDF file

Post by admin »

Hi,

it's a looked base64.
You can use AsBase64 property or Encode/Decode Delphi functions.

Best Regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests