I have been trying to understand what Atlas does to the cohort and cohort definition tables to manage cohorts. I am managing cohort data manually at present but I want to future proof for when I use Atlas to manage it directly. During my investigations I noticed that the COHORT_DEFINITION table in the ohdsi schema (in the VM I downloaded prior to the conference) is different to the COHORT_DEFINITION table in the “public” schema.
The ohdsi definition contains the following columns:
id integer,
name (255),
description (1000),
expression_type (50),
created_by,
created_date,
modified_by, modified_date
the public definition contains the slightly different set below;
cohort_definition_id integer,
cohort_definition_name (255),
cohort_definition_description text,
definition_type_concept_id ,
cohort_definition_syntax text,
subject_concept_id,
cohort_initiation_date
The ohdsi schema seems to be where Atlas stores its cohort definitions but it is the public schema definition that matches the ohdsi documentation. Can anyone help me with understanding how these tables are used and why there are two separate sets with different structures.