Our main clinical system sends ADT from a single port that need to be routed to various ancillary systems. We decided to do out filtering/routing in a tps. Based on a variety criteria we determin which ancillaries get the msg. Example. ADT_A01 will go to blood blank, dietary, housekeeping, etc….
In our first tps we stermin which systems it goes to and for each we create a new msg and insert a “route” into the metadata.
We have a custom TrxId routine that takes the meta data and creates a TrxId. Example BBANK^ADT^A01.
All of this works currently, but as you can imagine there are 30 plus route defined in the inbound thread. BBANK^ADT^A01,HMHLTH^ADT^A01,etc..
I wanted to reduce the number by using wilcards.
BBANK^ADT^A[1-8] since they all use the same Xlate anyway.
I cannot get this to work. here is a sample from the test tab.
######## TRXID: BBANK^ADT^A08
04/20/2006 10:14:27
[xlt :rout:ERR /0: UNNAMED_TID] No routes defined for TrxId ‘BBANK^ADT^A08’
#### Is the output from the TrxId script.
Wildcard routing is checked and I am running 5.1 on Aix 5.1.
Help.