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
Proc error
System
Originally posted by Mark Perschbacher
I am attempting to write an xlate pre-proc to examine the IN1.(0).00429(0), copy to a variable, and then run string match to a value GROUP HEALTH, and send it out the xlate.
Find more posts tagged with
Clovertech
Comments
jcobane1
Mark,
I believe the syntax of your "if" statement is incorrect with placement of the { and ] characters. I believe you want:
if { [string match {GROUP HEALTH} $insname]} {
set outval 2000
}
Hope this helps.
Jim Cobane
Henry Ford Health
Jim Kosloskey
Mark,
Couldn't you just check the the field's value to see if it is equal to "GROUP HEALTH" in the Xlate using an IF action instead of using Tcl?
Jim Kosloskey
System
Originally posted by Mark Perschbacher
Jim, well, let's talk about that. I am following the recomendation of our installer on this. The object being that if a string in the IN1 matches GROUP HEALTH, the xlate will send the numeric code 2000 out. I plan on adding other IF statements for REGENCE, COMMUNITY HEALTH, etc. My alternative is to build a huge table with all these literal entries. Sending the data to a temp. variable seemed like the way to go, but I am open to suggestions.
Vince Angulo
We went through the same thing here at Children's, and it's only worked out for us because we changed practice management vendors.
When we were sending coverages one-way to IDX through our old engine (Cerner OpenEngine Classic), we had to do it via translation proc that was basically a huge switch statement to translate the hospital payor/plans to practice payor/plans. Hopefully someone here gives you a more reasonable solution.
Our new practice management vendor (Epic) maintains the translation values within the payor/plan master files and the external values are looked up as the transaction is filed. So, in our case, it ends up being maintenance for our Applications Team and not the Integration Team.