Hi Kevin.
We are currently supporting multiple Cerner Millennium domains and multiple epic environments in our cloverleaf test.
In our case patient data originates from Epic and goes to Cerner and charges coding etc. – coming back from Cerner Millennium to Epic.
We made a decisions to route patients to Cerner specific domain by first letter of their first name (Bob goes to Build, Tom goes to Test).
We also made a dessision on Epic side to have different ranges for MRNs and ACCOUNT Numbers so Epic Test would have MRN range of 600000, Dev range of 700000, etc.
SO messages that come back from Multiple destinations will be routed back to Epic by MRN ranges.
To manage that and preserve similarity between Cloverleaf Production and test we created additional routing site and pointed our test site to that site.
We also modified our inbound threads to become a MultiServer (accepting connections from more than one system).
All destination routing done in the routing site (by simple trix_id script) and does not affect any work that done in the Cloverleaf.
The only side effect (positive or negative you decide) is that any changes that done in Cloverleaf Test immediately affect all downstream systems regardless of domain.
I hope this helps.
Alex