Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a Cohort's Complement Set #2968

Open
zhehaowUNC opened this issue Oct 23, 2024 · 2 comments
Open

Creating a Cohort's Complement Set #2968

zhehaowUNC opened this issue Oct 23, 2024 · 2 comments

Comments

@zhehaowUNC
Copy link

is there any way to create the complement of an existing cohort or at least get the id's of the patients that are not in that cohort by calling webapi? if not, what would be a possible approach to this?

@chrisknoll
Copy link
Collaborator

No we try to avoid revealing personally identifying information to clients. I would resort to querying direclty into your cdm/results scheama where you look at the results.cohort table for the people in the cohort an then your cdm.person table to identify who exists in your data.

@zhehaowUNC
Copy link
Author

zhehaowUNC commented Oct 24, 2024

this is my solution locally when I do have direct access to the postgresql database. However I'm trying to see if I can actualize this functionality in Atlas online connected to real patient databases, which I believe I don't have access to? I'm trying to compare the patients in one cohort vs those in its complement cohort and extract a subset of patients from the complement cohort that are similar in certain ways to those in the original cohort. Then my goal is to provide stats on the three sets similar to how cohort characterization provides insight on a single cohort. I'm not attemping to directly reveal individual patient info to viewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants