- This topic has 3 replies, 4 voices, and was last updated 15 years, 8 months ago by .
I have a dietary system who wants to receive allergies from the HIS. They want food allergies, of course, but they also want some drug allergies. They also want their own codes, not the HIS codes.
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.
- The forum ‘Cloverleaf’ is closed to new topics and replies.