Hello All,
I am new to the OHDSI community and I look forward to discussions with you all.
I have been studying the source code for ATLAS, but would like some help understanding the functionality of some of the code. For example, one question I have is: how are cohort_defintion_ids generated? Where does the numbering start? I have been creating cohorts on our own instance of ATLAS, but it seems like the convention for id generation is consistent one day (959, 960, 961, etc), and then it starts on a completely different number on another day but is still consecutive for cohorts created after that (12509, 12510, 12511, etc). Is there a reason for this?
I ask this because I want to see if I can insert a cohort into the WebAPI cohort tables from outside ATLAS (following all the proper formatting, of course), but in a way that it doesn’t affect ATLAS. Which of the cohort tables should be populated so that ATLAS does not fail? This external cohort would have its own id, but this id would need to be unique so that it doesn’t have the same id as another cohort currently in the tables. Knowing how these ids are assigned would be helpful in getting this to work. Would this be possible? I can further explain if needed.
Thanks.