Looking at the information they have sent, I deduce the following…
They take a PDF file and uuencode it. As near as I can tell, they then (on a windows box, since it makes a difference in the ASCII output) take the ouput file and do a pass looking for restricted characters and convert them to HL7-delimited hexadecimal. The resulting field has lots of X0D\X0A combinations all over it.
So, my task is to take this field (subcomponent actually) and write it out to a file and try to decode it. The problem I am having is that I am unable to get it to decode cleanly.
I have taken the subcomponent and run perl against it to convert the hexadecimal back into ASCII. Now I *should* have a clean uuencoded file (with x0dx0a at the end of a line) which I should be able to decode somewhere. I’ve tried decoding both on UNIX (AIX, uudecode after removing x0d characters) and Windows (XP Pro,WinZip). No dice. Both result in corrupted PDF files.
Anyone currently decoding GE Muse results and able to point out what I am missing? Or perhaps able to suggest an alternative method of decoding?