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

discrepancy in montherapy query #65

Open
clarkevans opened this issue Aug 14, 2019 · 0 comments
Open

discrepancy in montherapy query #65

clarkevans opened this issue Aug 14, 2019 · 0 comments

Comments

@clarkevans
Copy link

clarkevans commented Aug 14, 2019

For the mono-therapy query in the cohort query, this is using the drug_exposure table rather than the drug_era table. The problem with using the drug exposure table directly is that it will exclude individuals who happen to have 2 records that provide exact same drug. It seems like this would need to be collapsed, and that's what the drug_era table does. The generated SQL uses the drug_era table when computing this particular condition.

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

1 participant