This was easy to do for orders being generated from the ancillary system. All I needed to do was modify my translation to do a BULKCOPY/SEND then modify MSH-10 and ORC-1 to turn it into a status change message and that gets sent as well.
I’m not certain how I should go about this for the orders originating on the host though. I don’t want this in reply to every order from the host, only those orders that are going to this one specific ancillary system.
I’m guessing that I’ll need to do this as a TPS on the outbound thread for the ancillary system and somehow find a way to route that reply to the outbound thread for the host system. Or is there a way through a translation to do a send but give it a different destination?
Any help would be appreciated.
Thank you, Ed.