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
Issue converting txt file to HL7
System
Originally posted by Brandon Grudt
I have a local filedrop thread that is scanning a folder and it is supposed to grab the files and push them out as HL7 messages, but it is not doing that.
Find more posts tagged with
Clovertech
Comments
jcobane1
Brandon,
The first thing I would check is the process log to see if there is any indication there and I would look at your routing defintion; make sure that you have the TRX ID determination set appropriately for your data as it sounds like it is not routing any data through to translation which may indicate a routing issue.
Hope this helps.
Jim Cobane
Henry Ford Health
System
Originally posted by Brandon Grudt
I have found the solution, and misrepresented the problem in the original post. When the ScottCare message was generated, a CR and LF followed the message, which was inconsistent with my working thread. I deleted those markups in Notepad++ and tried to rerun the file. The message still did not go through, which was why I posted that the format was the same (as it WAS, but only once I manually edited it). I had disregarded the CR LF as the potential issue because removing them did not allow the message to pass.
But once I dug into it more, I realized I had not put a -nonewline on my puts command when building the file. I did that, reindexed the thread and set up a test patient for next month to generate a text file. It crossed.
The odd thing is that I would have thought that the engine would have returned something even with the CR LF on the final line. On top of that, when I manually edited those out, I'd have thought the message would pass.
It's funny that explaining the issue is sometimes the best troubleshooting you can do. I spent a while trying to figure this out, but didn't put everything together until I started bouncing the issue off of people.
jcobane1
Glad you got it resolved!