Originally posted by Tom Parsons
Hello,
Some of my interfaces with XLATEs have become rather unwieldy and would like to try a different approach...
I was wondering if there are any disadvantages in having an interface
use a single large TPS TCL proc to perform 99% of the work to
IDENTIFY/SELECT/MODIFY/CONTINUE/KILL inbound HL7 msgs,
located in either the INBOUND TPS or the ROUTE TPS
(with NO other TPS code and NO XLATEs).
Basically, all logic/data manipulation is then consolidated within a single proc.
So the "front-end" does all the work and just sends only the necessary
msgs thru to the outbound with their appropriate modifications.
As opposed to the typical / more "distributed method"-
1) INBOUND TPS code to IDENTIFY/SELECT (CONTINUE/KILL) msgs
2) ROUTE with TPS code and XLATE (MODIFY)
3) OUTBOUND TPS code to also CONTINUE/KILL msgs
My msg modifications (XLATEs) are many and require a significant amount of code-
(BULKCOPY/IF logic/TCL snippets/REGEXs/TABLE lookups/etc.),
along with a few scattered TPS procs.
The specific interface I have in mind runs thru ~5000 msgs daily.
But over the years these procs and XLATEs have become large and cumbersome to maintain.
Also, it is my understanding that large XLATEs especially pose a significant burden on system resources.
But any more so than large TPS TCL scripts ?
It seems to me that the more work you can do on the front end- the better.
Your thoughts ?
Thanks to all the CLOVERLEAF folks, GREAT product and forum !
Tom
[]