Originally posted by Robert Denny
We have some procs that will pull the value of a subfield and run it through a table. If the Value meets a criteria we then send the message, if not we kill it.
Now we have certain fields that will more than one value to compare to the table and I could use the help from an advanced TCL script write to suggest ways to iterate through the field and compare the first value of each set and compare to the table.
This is for fields in which there are more than one providers listed. Such as OBR28.
How do I pull the first subfield from each set and compare to the table?
Here is an example of the current script. I am wondering if I can modify it for the part in which we pull data from OBR28?
######################################################################
# Name: abchouse_filter_lab
# Purpose: Restrict messages sent to those in the abc_prov table
#