Define and manage filters

Last updated: Feb 3, 2026
DEVELOPER
IMPLEMENTATION
HEALTH TECH VENDOR

A filter either blocks or conditionally sends events in async subscriptions (i.e., notifications you receive). You can apply, or link, filters to subscriptions that rely on either Redox data models or Redox FHIR®. Learn more about filters.

Prerequisites

  • All environment users can view filters. However, a user must be assigned to an engineer or support role to create or edit filters. Learn about user roles.
  • Before creating a filter, identify the specific field path (JSON or FHIR®) you want to filter on.
  • To create a filter, select a subscription with async traffic (an event notification that goes one way).
  • To edit a promoted filter, first edit the staging version of the filter, then re-promote to production.

View existing filters

Follow these instructions to review all the filters in your environment at once.

  1. Log in to the Redox dashboard.
  2. From the side nav menu, click the Operations drop-down.
  3. The Operations options expand. Click the Filters option.
    The Filters option is a sub-option under the Operations tab.
    Filters in the side nav
  4. All existing filters in the environment display.

Create a filter

Follow these instructions to create a filter.

Step 1: Open the subscription you want to filter

  1. Log in to the dashboard.
  2. From the navigation menu, click the Connections page.
  3. All of your connections appear. Select the connection with the subscription you want to filter.
  4. By default, the Subscriptions page opens. Find the subscription you want to filter, then click the Settings link.
  5. The Settings page opens. Click the Define filter button.
    A user opens a connection then opens the relevant subscription’s settings to create a filter.
    Open the subscription settings
  6. Proceed to the relevant Step 2 option based on the type of filter you want to create.

Step 2 – Option A: Create a Block all filter rule

It might be useful to block traffic for a particular subscription during the implementation phase.

  1. From the Filter mode drop-down, select the Block all option.
  2. Click the Save Filter button.
    A user creates a filter rule to block all traffic for the selected subscription.
    Create a block all filter rule
  3. Your new filter is saved and all traffic for the selected subscription is restricted until the filter is removed.

Step 2 – Option B: Create a Send if filter rule

These conditional filters are the most common, since they allow you to moderate the event notifications you receive from one of your connections.

  1. From the Filter mode drop-down, select the Send if option.
  2. A set of three fields appears. Click the Select Field Path drop-down to view a list of fields.
  3. Select the field you want to filter.
  4. A modal opens for testing the field path and value. You can change your selection by clicking the Field Path drop-down again to view a list of fields.
    A user selects the Patient ID type field path to filter on.
    Select a field path
  5. Once you have the correct path, use the validation tools to test your choice. Or, if you dont want to test, you can skip and proceed to the next step.
    1. Find a log payload for the subscription you want to filter. Learn more about searching for logs.
      A user selects the Redox processing stage to view and copy a log payload.
      Copy a log payload
    2. Copy and paste the log payload into the Test Message section.
      A user pastes the copied log payload into the Select Field Path modal to pull out the relevant ID types to filter.
      Paste a log payload to test the field values
    3. On the right side of the modal, under Field Values, the value that displays is the one found at the field path you selected.
  6. Keep in mind that Redox doesn’t validate the filter like this. But it does give you an idea of whether you selected the right field path by using an existing log payload.
  7. Click the Select Path button on the bottom right of the modal.
  8. The modal closes. In the next drop-down, select is in or is not in.
    1. is in: The field path value must equal something in the defined value set. In other words, if the specified value(s) exist, the notification should be sent.
    2. is not in: The field path value must not equal something in the defined value set. In other words, if these value(s) exist, the notification shouldn’t be sent.
  9. Enter the relevant comma-separated values. You can also use null as a string value in the value set if you want to filter by whether the field path is populated.
    A user defines an "is in" rule with MRN and EPI values to conditionally filter on Patient ID Type.
    Define and save a filter
  10. To add a rule for another field, click the plus (+) icon. Populate the fields for the new rule.
  11. Once you’ve finished defining all the necessary rules, click the Save Filter button. Alternatively, you can click the Cancel button to discard the filter.
    A user adds two "is in" rules, then discards one before saving the filter.
    Add or delete filter rules

Differences for FHIR® field paths

If you’re creating a filter for a subscription that relies on Redox FHIR®, the instructions are the same with a couple of minor differences when selecting the FHIR® field path.

In the Select Field Path modal, you can click the Switch to Template Mode link to enter advanced editing mode. In this mode, the Field Path becomes editable so you can directly edit the field path or enter one that doesn’t appear in the drop-down list. You can also click the JSON Path Expressions link to open help text definitions.

We dont recommend advanced editing for FHIR® beginners.

The option to switch to advanced template mode is in the top right of the modal.
Switch to template mode for FHIR field paths

When validating the FHIR® field path, you have the additional option to toggle between Field Values and Output Paths to test that you have both correct. The value tells you what value would be filtered, and the path tells you the location in the FHIR® payload.

A user toggles between field values and output paths to validate the correct value will be filtered.
Toggle between field values and output paths

Edit a filter

There are three ways you can edit a filter.

  1. Follow the instructions to view existing filters.
  2. From the list of existing filters, click on the filter with links you want to review or manage.
  3. The Settings page opens. Under the Links section, an existing link will display or you can add a link.
    1. To view an existing link in context, click the link to open related logs.
    2. To delete an existing link, click the Delete icon to the right of the subscription. A modal opens to confirm that you want to proceed. Click the Delete button to continue or the Cancel button to discard the changes.
    3. To add a new link, select a connection from the Connection drop-down.
      1. Next, click the Select subscription link.
      2. A modal opens with the available subscriptions for the selected connection. Use the Search field or the Connection drop-down to narrow down the available options. If needed, use the page options at the bottom of the modal to navigate through the pages. Then select the radio button of the subscription you want to link the config modifier to.
      3. Click the Select Subscription button.

Promote a filter

After testing in staging, you can promote a filter to production. Learn about promoting assets.

  1. Log in to the Redox dashboard.
  2. From the Environments drop-down, select the Staging environment.
    The environment drop-down field in the top left corner of the Redox allows you to switch between environments.
    Select the staging environment
  3. From the side nav menu, click the Operations drop-down.
  4. The Operations options expand. Click the Filters option.
    The Filters option is a sub-option under the Operations tab.
    Filters in the side nav
  5. All existing filters in the environment display. Click on the filter you want to promote.
  6. The Settings page opens. Click the Promote button.
  7. A modal appears to let you know you’re exiting the staging environment and proceeding to the production environment. Click the Proceed button. Otherwise, click the Cancel button to discard the promotion.
    A user selects a filter and proceeds to production to promote the filter.
    Promote a filter to production
  8. The Settings page in the production environment opens. Add a filter link to a subscription to apply the filter in your production environment.

Restore a filter version

You can restore a version of a filter that’s not currently in use. This may be helpful when troubleshooting to see where an error may have been introduced or to resolve an error by using a version that worked previously.

  1. Follow the instructions for viewing existing filters.
  2. From the list of existing filters, click on the filter you want to update.
  3. The Settings page opens. Click the Restore button.
    A user selects a filter to restore and clicks the Restore option.
    Click the Restore button
  4. A modal appears to restore a version. From the drop-down, select a version to restore.
  5. The diff view shows what’s different between the current and selected version. Review the differences. When finished, click the Restore button.
    A user selects a filter version to restore and reviews the diff view of both versions.
    Compare filter versions
  6. For promoted assets, restoring a version only applies to the current environment. If you restore a version in staging, you may need to re-promote the asset if you want to apply it to production as well.
    The unpushed changes warning appears under the filter details.
    Unpushed changes
    A warning appears on the filter table when a filter has out of sync versions.
    Out of sync versions