Originally posted by Kenadi Moore
I've been able to write a tcl script to embed a pdf into OBX-5 of an HL7, but only if I put the local directory and file name in my script:
set fileHandle [open /hci/kfiles/cl.pdf rb]
set encodedPDF [base64::encode [read $fileHandle [file size /hci/kfiles/cl.pdf]]]
The problem is that I need to retrieve the file off a windows server based on a link in the original HL7 message.