Tim,
Xlate is fololowing the standard. Apparently your Tcl code is not.
The interesting part there is that it’s happening where I’m not coding it to make any changes to the message. I’ve converted a filter TCL into an Xlate.
The TCL checked the patient type and continues or kills the messages, and I setup the Xlate to check the patient type and either bulk copy or suppress the message.
Here’s an example from out test system
First message is with the Tcl and the second is with the Xlate
MSH|^~&||L||L|200906030900|44|ADT^A04|70491076|D|2.2|70491076||AL||
EVN|A04|200906030900||
PID||00968416|00831268^^^L|31070^L219670|SIMPSON^HOMER^^JR||19500627|M||1|41 SHORT LANE^^BETHLEHEM^PA^18015^^C||(610)865-0000||ENGLISH^E^|D|^|0915400004^^^L|555-99-7410|
PD1||||529^SCOBLIONKO^DAVID^P
NK1|1|SIMPSON^RALPH|H^^|96 OLD LANE^^BATH^PA^18014^|
PV1||E|ED^^^L^^^||||996^UNKNOWN^DOCTOR|||OUT|||||||996^UNKNOWN^DOCTOR|LQR^^L|0915400004^^^L|0|||||||||||||||||||L|||||200906030859||| 0.00||
AL1|||^|||
DG1|0|I9|789.00|ABDMNAL PAIN UNSPCF SITE||ADMITTING||||||||
DG1|99|I9|789.00|ABDMNAL PAIN UNSPCF SITE||WORKING||||||||
GT1|1|31070|SIMPSON^HOMER^^JR||41 SHORT LANE^^BETHLEHEM^PA^18015^^C|(610)865-0000||19500627|M||S|555-99-7410|||1|AT&T WIRLESS^|45 PHONE STREET^^ALLENTOWN^PA^18102^^|||5
IN1|1|||||||||||||||^^|||||||||||||||||||||||||||||
ZCA|||^^^
ZCV|||ART||||LQR|0
MSH|^~&||L||L|200906030900|44|ADT^A04|70491076|D|2.2|70491076||AL
EVN|A04|200906030900
PID||00968416|00831268^^^L|31070^L219670|SIMPSON^HOMER^^JR||19500627|M||1|41 SHORT LANE^^BETHLEHEM^PA^18015^^C||(610)865-0000||ENGLISH^E|D||0915400004^^^L|555-99-7410
PD1||||529^SCOBLIONKO^DAVID^P
NK1|1|SIMPSON^RALPH|H|96 OLD LANE^^BATH^PA^18014
PV1||E|ED^^^L||||996^UNKNOWN^DOCTOR|||OUT|||||||996^UNKNOWN^DOCTOR|LQR^^L|0915400004^^^L|0|||||||||||||||||||L|||||200906030859||| 0.00
DG1|0|I9|789.00|ABDMNAL PAIN UNSPCF SITE||ADMITTING
DG1|99|I9|789.00|ABDMNAL PAIN UNSPCF SITE||WORKING
GT1|1|31070|SIMPSON^HOMER^^JR||41 SHORT LANE^^BETHLEHEM^PA^18015^^C|(610)865-0000||19500627|M||S|555-99-7410|||1|AT&T WIRLESS|45 PHONE STREET^^ALLENTOWN^PA^18102|||5
IN1|1
ZCV|||ART||||LQR|0