Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

By varying the placement and configuration of the Branch Device, almost any permutation of branching or joining can be achieved. The documentation here uses simple examples for the sake of clarity.

Insert a Branch Device by editing the channel, then choosing HL7 > HL7 Branch Device.

Image Added

Configuring the device

Once the Branch Device is added to the channel, several options must be configured:

Image Added

  • To add a destination, click the Add new expression condition button.
  • Set the destination of the message if it does not match the condition. You can send an unmatched message to the Error Queue, let it Pass Through to the next device in the current channel, or send it to another channel.
  • Click the Enabled check box to "turn on" the destination.
  • Set the Condition that will fire off the branching. For example, if the MSH-3 path equals a specific value, the message will be branched. You can also choose to Always use the branch, or Never use it (this option is equivalent to unchecking the Enabled option).
  • Choose a Destination Queue for the message. This is the channel that the message should be sent to upon branching. The drop-down list is populated with all available channels, as well as the Pass Through option, which simply sends the message to the next device in the current channel.
  • Enter an optional Description for the destination.

In this example, we are sending the incoming message to a different channel based on the contents of the MSH-9 path. If MSH-9 is ADT, the message will be sent to the Development channel. If the value of MSH-9 is ORU it will be sent to the Production channel. Messages that do not match either condition will be passed through to the next device in the current channel.

Image Added