Define and manage filters

Last updated: Jul 29, 2026
DEVELOPER
IMPLEMENTATION
HEALTH TECH VENDOR

A filter is a rule you define to conditionally allow or automatically stop certain asynchronous notifications from delivering to your destination(s) (i.e., notifications you receive). You should use filters to:

  • Reduce noise: Prevent irrelevant data from reaching your system.
  • Manage workflows: Only process notifications that meet specific criteria (e.g., only accept PatientAdmin messages for patients in the cardiology department).

There are two types of filters:

  • Send if: Conditionally allow certain notifications based on one or more defined rules.
  • Block all: Don’t allow any notifications for this subscription.

You can apply, or link, filters to subscriptions that rely on either Redox data models or Redox FHIR®.

Filters are one of many operations that can be applied during log processing. Learn about operations.

Prerequisites

  • All environment users can view filters. However, a user must be assigned to an engineer or a support role to create or edit filters. Learn about user roles.
    Recommendation about PHI in filters

    If you choose to filter fields with PHI, users assigned to an observer role might unintentionally access confidential data. Keep in mind that access to filter contents is managed by a different permission from the one managing access to log payloads.

  • 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 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.
Editing options

You can’t edit filters on this page. However, you can click the Edit button to open its settings and edit within the Connections page.

If you’re viewing a promoted asset, though, you first have to edit in staging, then re-promote to production.

View filtered logs

On the Logs page of the dashboard, any filtered logs have the Filtered icon.

The filtered icon appears at the bottom right of a log entry.
Filtered status

Selecting the log opens the processing stages, which have a Filtered label and icon if a filter was applied. You can select the processing stage to view the log details, then click the filter label to see the specific filter details. These details include the status of the log and the outcome of each filter rule.

Create a filter

  1. Follow the steps to view filters.
  2. Click the New button.
  3. The create form opens. Enter a human-friendly name for the filter. This name appears on the Filters page.
  4. In the Type field, select either Block all or Send if. Follow the instructions for the relevant type.
    A user clicks the New button on the Filters page and enters a name.
    Create a filter

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 Advanced Mode option to directly edit the field path or enter one that doesn’t appear in the drop-down list. 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

In advanced mode, you can click the JSONPath Expressions link to open help text definitions. Switch back to template mode anytime.

In advanced mode, the JSONPath Expressions help link appears below the field path.
JSONPath expressions help option

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

  1. Follow the steps to view filters.
  2. Find the filter you want to edit and click anywhere it in its row.
  3. Under Filter details, click the Edit button at the top right. For promoted filters, follow the instructions below these.
  4. The edit form opens. Edit any details or defined rules, or add new ones.
  5. When you’re finished, click the Save button.
Previous filter rule settings

Any edits to a filter rule are immediately applied to live traffic. However, when looking at past filtered logs, you’ll still see the old filter rules that were in effect at the time of that log.

A filter can only be linked to one subscription. You have to create one for each subscription you want to filter.

  1. Follow the steps to view filters.
  2. Find the filter you want to edit and click anywhere it in its row.
  3. The Details page opens. Fill out the fields under the Links section.
    1. From the Connection drop-down, select the connection you want to link the filter to.
    2. Click the Subscription drop-down. A modal opens with a list of the selected connection’s subscription(s). Click the radio button of the subscription you want, then click the Select button.
  4. Click the Link button.
    A user selects a connection and subscription to link the filter to.
    Link a filter
  5. The filter automatically applies to the subscription’s traffic. For block all filters, all traffic for the selected subscription is restricted until the filter is removed.
    Filter details in logs

    The filtered status and details will appear in related logs. Learn about filter statuses and outcomes.

A filter can only be linked to one subscription. You have to create one for each subscription you want to filter.

Also, a subscription can only have one filter link. This means there’s a 1:1 relationship between filters and subscriptions. Learn about subscriptions.

Example scope

Let’s say you have two subscriptions for receiving Order.New notifications from two different healthcare organizations.

  • The first subscription is with Baylor Hospital. You create a Send if filter with a rule that looks for certain order type(s).
  • The second subscription is with UT-Southwestern. You want only the same order types as from Baylor, but you can’t link the Baylor filter to UT-Southwestern. This subscription needs its own filter, even if you want the same rule applied.

However, you could add a rule to the Baylor filter if you only want to get orders from a specific facility within the health system. Then your filter would have two rules to conditionally allow new orders (of a specific type) from a specific facility.

Remember that both of your subscriptions now have linked filters. This means you can’t create or link a new Block all filter to either of them.

  1. Follow the steps to view filters.
  2. Find the filter with the link you want to manage and click anywhere it in its row.
  3. The Details page opens. A filter can only be linked to one subscription. To add a new link, you have to delete the existing filter link.
    1. To view an existing link in context, click the link to open related logs.
    2. To delete an existing link, click the three-dots icon to the right of the subscription, then the Delete option. A modal opens to confirm that you want to proceed. Click the Delete button to continue or the Cancel button to discard the changes.
      The Delete option is under the three-dots icon menu.
      Delete a filter link
    3. To add a new link, you must first delete an existing link. Then, follow the steps to link a filter.

Promote a filter

During implementation, you can build and test a filter in a staging environment. Once you’re confident it works, you can promote it to production. Promoting an asset saves time and avoids introducing errors by rebuilding it in a different environment. Learn about promoting assets.

  1. Follow the steps to view filters.
  2. From the Environments drop-down, make sure you’ve selected 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. Find the filter you want to promote and click anywhere in its row.
  4. The Details page opens. Click the Promote button.
  5. 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
  6. The Details 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

Every time you edit a filter, you create a new version of the asset. 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 might have been introduced or to resolve an error by using a version that worked previously.

  1. Follow the steps to view filters.
  2. Find the filter with a version you want to restore and click anywhere in its row.
  3. The Details page opens. Click the Restore button.
  4. A modal appears to restore a version. From the drop-down, select a version to restore.
    Restore notes

    Restoring means activating a version that’s not in use. That means you can go backwards or forwards a version.

    Keep in mind you can’t restore a version that’s already in use or an asset that’s been deleted.

  5. The diff view shows what’s different between the current and selected version. Review the differences. When finished, click the Restore button.
    Versions after editing

    If you edit an asset after restoring a previously used version, a new version is created.

    For example, let’s say you were on version 3 and you restore version 2. Then you make and save edits to version 2. This creates version 4 of the asset. At that point, you can still restore to version 3 at any time.

    A user selects a filter version to restore and reviews the diff view of both versions.
    Restore a filter version
  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
Platform API endpoints

This article describes how to manage filters in the Redox dashboard. To manage destinations via API, use these Redox Platform API endpoints instead:

FHIR® is a registered trademark of Health Level Seven International (HL7) and is used with the permission of HL7. Use of this trademark does not constitute an endorsement of products/services by HL7®.