Versions Compared

Key

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

...

When you are finished, click OK.

Filters

You can use Use the Filter Transform to filter any unwanted HL7 messages out of the incoming feed before they are passed to the next device in the channel. For example, you may want to filter out messages if a specific field contains a certain value.

...

Click the Add Filter Transform button. In the Path column Condition field, enter the field you want to check (e.g., MSH-3). to be checked and the value that will trigger the filter. In the example below, the transform will filter out messages where the MSH-9 path contains the value "ADT."

Click the icon to launch the popup window.

Enter the value that should be matched to the incoming message (the Filter Message).

By default, filters are "false." That is, if the Filter Message value does not match the incoming field value, the message will be filtered out. If desired, Connexion can mark this as an error (check the Mark as Error box on the popup).

Once the Filter Transform has been added and configured, set the Condition and add an optional Description.

...

Normally, filtering simply removes the message and puts it in the Filtered category in the Queue. If you want the message to be marked as an Error instead, and listed in the Error category, check the box. You will see that the default value of "False" in the Transform field is changed to "True."

To add a message that should be included in the message history when the message is moved to the Filtered or Error queue, enter it in the Filter Message field.

Click the "X" to close the window.

Segment Filters

Sometimes, you may want to let a message through, but exclude (or only include) certain fields. To do this, use the Segment Filter Transformer. Click the Add Segment Filter Transform button and then launch the popup window.

...