Building up your filters using AND and OR: Demographic & Clinical

You can build up complex series of criteria using the various AND and OR options.

Your first step is to choose whether the criteria you’re choosing will include or exclude patients from your cohort. After that you have an extremely flexible set of options.

Add criteria from the same dataset

Create your first filter, then click Add another:

Dropdown list of filters

You’ll be presented with some further options:

Dataset name and and/or selection highlighted

The dataset named is greyed out, as you’re restricted to choosing items from this dataset.

Choose AND or OR to apply to the next criteria, then choose the next data item, operator and answer. In the example below we’ve set two criteria within one dataset:

inclusion criteria pop up

Bracketed criteria

Use the different Add criteria buttons to build up filters. Each button applies to the criteria within that part of the ‘nest’:

Here we’ve created a set of criteria defined as:

INCLUDE (Blood result greater than or equal to 5 AND gender=female) OR (Blood result greater than or equal to 5 AND patient D.O.B before 1960)

You can add exclusion criteria in the same way.

Important

If you move away from the Cohort Discovery area while creating a cohort, your work will be lost if you have not saved it.