I have a table in the Xlate to convert the codes.
These are A60 messages, and the IAM segment can repeat. Is there a way to build a Tcl in the route that would iterate through all of the allergy segments and kill the message if there are no allergies in the message in which the dietary system is interested?
As it is, if a message comes thru that has no diet related allergies, it’s coming out of the Xlate either with a blank IAM segment, or none (depending whether I make it required on the outbound segment.) The dietary vendor doesn’t want the message at all, if there are no appropriate allergies.
Thanks, Kathy