Install poppler-utils on Redhat. This includes a utility called “pdftotext”. You can write your message out to a file, then you can exec the pdftotext utility from TCL and read the output back in. You’ll have to parse the results based on the format of the data in the PDF and convert it to HL7. It usually helps to run “pdftotext -layout”. This makes the output correspond to the order of items on the page rather than the order they appear in the PDF file (they can differ).