OHDSI Home | Forums | Wiki | Github

Get the count/summary statistics of the cohort

Hello Everyone,

I have defined a cohort using Atlas and would like to know the cohort size after I apply each inclusion criteria or concept set criteria.

For example, I start with people > 60 years which might fetch around 100 records, then I apply Ethnicity criteria which might filter down further and result in 50 records. Then I apply another filter of people who have ‘Warfarin’. How/Where can I view the count/ summary statistics/ dashboard kind of thing in atlas based on filters applied to the cohort?

I did try ‘Characterizations’ tab and ‘Cohort-Definition - Generate’ tab under Atlas. Infact my generate report from cohort definition has failed though I have all the data whereas under ‘Characterizations’ tab, it just keeps loading. Can you please help me with it?

Any help is appreciated


@Chris_Knoll - Can you please help with this?

I’m not sure about the error under characterization, but could be related to that you were unable to generate the cohort. So I would start with getting a successful generation,

I think you should watch the videos found here: https://www.ohdsi.org/past-events/cohort-definitionphenotyping-tutorial/. These instructional videos talk about the philosophy of cohort definitions, what they are, and how they are defined in Atlas.

To summarize:

For example, I start with people > 60 years

60 years old, as of when? That’s the key to longitudinal data, people have certain characteristics (such as their age) at different times in their patient history. You might say ‘60 years as of 2016’. to do that in atlas, you could select the earliest visit per person who was age > 60. But I would take what you said about defining your population, and work it backwards: Who are those people taking warfarin? among those, who are a certain ethnicity? Among those, who are > 60?

Atlas cohort definitions are about identifying people who satisfy a criteria between two points of time. which means you don’t work in the mode of ‘Find all Men…then find all Hispanics, then find all who are age > 60’, none of these things specify any sort of time index.

In Atlas, you begin by identifying patient-level events that satisfy some criteria, and then from those, you can apply additional criteria to filter out people from the cohort. These events come from conditions, drug exposures, procedures, etc.

So, start with getting a cohort to generate. Then you can move on to characterization and ask questions like 'How many of these were > 60? How many were {ethnicity}. etc