Written by

Applications Development Consultant at The Ohio State University, Wexner Medical Center
Question Jonathan Anglin · Jul 16, 2020

Routing Rule: Same Target, Different Transforms

I send ORUs to a process where a transform is applied before sending the message to a process where the routing is handled. A recent request was made that when OBR:25="D" the message is also be faxed with transforms that have some similarities to the original, but not exactly the same. I copied the DTC, made the alterations, and created a separate rule to handle it. However, when I run a message through with a "D" in OBR:25, it is only sent to the routing process once. Although I didn't see documentation to the contrary, I'm wondering if a message cannot be sent to the same target twice with different transforms.

The routing rules for the "transform" process look like this:

Comments

Marc Mundt · Jul 16, 2020

Just to rule out a problem with the second when's condition, does the "IMPRESSION TO FAX" rule work if its the only rule?

And it would be good to have a look at the business rule log as it may offer some more insight into how the routing was decided.

0
Marc Mundt  Jul 16, 2020 to Marc Mundt

This quick test does send two messages to the same business operation:

0
Jonathan Anglin  Jul 17, 2020 to Marc Mundt

does the "IMPRESSION TO FAX" rule work if its the only rule?

That's a good reminder of how to simplify the test. It did not work when it's the only rule.

it would be good to have a look at the business rule log

I did look at it, or rather thought I was. I looked again this morning and there were errors. I must have accidentally opened the event log on the wrong process yesterday. Thank you for the sanity-check!

0