infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Has anyone parsed the contents of a PDF document using TCL?
System
Originally posted by David Coffey
Actually I do know of a shop that has done it to extract PHI to build the HL7 on the fly, I am hoping they respond. Anyone else? How is this done?
David Coffey
Find more posts tagged with
Clovertech
Comments
david_barr
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).
System
Originally posted by David Coffey
I'm sorry I should have posted that I am running 5.8.5 on Windows. I am aware of the linux utility but I am on the wrong OS.
david_barr
You can get a Windows version of Poppler (
http://blog.alivate.com.au/poppler-windows/)
, or you can use the Poppler package from Cygwin, which is what I use on Windows.