We are in the middle of a conversion of EMR’s where we are completely re-writing all of our ADT interfaces. We are spending a lot of time replicating xlate code for all of our trigger events for each downstream system. In other words, if we have to translate data in a field we have to do it in the xlates for A01, A02, A03, etc. Very time consuming. We do not want to use wild card routes because we want there to be a route for each message type. The main reason for not wanting to use wildcard routs is because not all of our staff understands regular expressions and if they right mouse click on the route in the monitor they won’t be able to tell what messages are being routed. From analyzing our variant, we find that the only difference between the ADT trigger events is at the segment level therefore we can create one ADT_Parent message type in our variant that will work for all ADT message types.
We will then create a parent Xlate for each downstream system that has the stuff that is common to all ADT messages in that Xlate. The parent Xlate will use the ADT_Parent message structure in the variant. If a downstream system has any translations that are specific to a trigger event that can’t be applied to all ADT messages we will create a child Xlate for just that trigger event and chain it behind the parent for the route for that given ADT trigger event. This will allow us to make the changes that are true for all ADT messages in the Parent xlate one time and it will work for all the children. This hopefully will speed up our development and reduce maintenance.
Back to the question, since chaining is relatively new, has anyone seen any issues with chaining that we need to be aware of?