Defining exit rules for a cohort in Atlas

You can also set rules on how patients exit your cohort. This may be useful, to define the right censoring events in a cohort used in a survival analysis study.

For instance, you can choose to exit the cohort when the patients start a treatment of a particular medication. Exit rules can be set by diagnosis and after a fixed duration relative to the initial event. In addition, you can also set how many times an event has happened before patients are excluded from the cohort. By default, patients will remain in the cohort until the end of continuous observation.

Note: First, check that Atlas is reading from the vocabulary matching to the data freeze of your choice.

From "Event Persistence" in the "Cohort Exit" box we can select event persistence until: "end of continuous observation", "fixed duration relative to initial event", or "end of a continuous drug exposure". With the last two options, you can select the number of days after the initial event or drug exposure to get an equal observation period for all patients in the cohort.

You can also add a Censoring Event from the dropdown menu under +Add Censoring Event.

For example, you can select exclusion criteria by death selecting "Add Death" from the dropdown menu.

By default exclusion criteria by death is "Any Death".

To select death by a specific concept set (limiting to death say by a particular diagnostic cause), click the small arrow by the “a death occurrence from” -box, select Import Concept Set, and from the popup window find and select your previously defined concept set. Pay attention to setting the concept set the right way according to whether the medical codes in the concept set are standard or non-standard medical codes.

Other options with +Add attribute… are filtering e.g., by age of death, gender, date, or type of death.

Exploring your new cohort with tools designed for the purpose is highly recommended before moving to downstream analysis like GWAS.

For further instructions see General workflows for the most common analyses, Cohort Characterizations in Atlas, Cohort Operations tool, Trajectory Visualization tool, and Custom GWAS tool.

Custom GWAS can also be launched using the Cohort Operations tool.

Last updated