Applying Logic to Combine Filter Cards
For a complex search, you can combine filter cards on the Included tab of your Current Filters.
AND and OR Operators
| Operator | Description |
|---|---|
![]() |
When you add a filter card as an included filter card, the logical AND operator is applied by default as the logic for combining it with any existing filter cards. Combining filter cards using the AND operator filters to those patients in the patient set for which there is data for all the criteria specified. |
![]() |
If you want to switch the logic to apply a logical OR operator, simply select the AND operator to toggle to OR.
Combining filter cards using the OR operator filters to those patients in the patient set for which there is data for one or more of the interactions or interaction sets separated by OR.
|
Filtering for Patients that Match All Filter Criteria
By adding and combining interaction filter cards with the AND operator, you can find patients who have all of the interactions specified on the filter cards.
You can also filter down to patients who have several interactions of the same kind by adding multiple filter cards of the same type with the AND operator. For example, if you add two chemotherapy filter cards, the patient count and your selection are reduced to patients who have had at least two chemotherapy treatments.
-
You want to search for patients who have had an EOX or an ECF chemotherapy treatment or both therapies:
To do so, you add a chemotherapy filter card on the Included tab and select both EOX and ECF for the Protocol attribute on the filter card.
-
You want to find patients who have had both types of chemotherapy, EOX, and ECF:
To do so, you add two chemotherapy filter cards on the Included tab. These filter cards are automatically combined with the AND operator. On one filter card, you select EOX for the Protocol attribute. On the other filter card, you select ECF.
Example
You add three interaction filter cards (A, B, C) on the Included tab. These filter cards are automatically combined with AND.
In this case, your filter settings correspond to the gray area in the following diagram:
Filtering for Patients that Match One or More Filter Alternatives
By adding various interaction filter cards combined with OR, you can filter to patients who have one or more of the various interactions or interaction sets specified on the filter cards. For example, if you add a chemotherapy filter card and a radiotherapy filter card, and combine them with the OR operator, you filter to patients who have had a chemotherapy or radiotherapy treatment, or both kinds of therapy.
You can also filter to patients who have one or more different attributes for an interaction. To do so, you add several interaction filter cards of the same kind, and combine them with the OR operator. You then specify a different attribute on each of the filter cards. For example, if you want to find gastric cancer patients who have been diagnosed with reference to the ICD-10 code or the ICD-9-CM code or both, you add two Primary Tumor Diagnosis filter cards and combine them with OR. On one of the filter cards, you select C16 for the ICD-10 attribute and on the other filter card, you select 151 for the ICD-9-CM attribute.
Example
You add an interaction filter card (A) on the Included tab. You then add two interaction filter cards (B and C), where only filter card (B) and filter card (C) are combined with the OR operator.
In this case, your filter settings correspond to the gray area in the following diagram:

