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

DRUG_ERA Script Issue #482

Open
ericaVoss opened this issue Mar 22, 2022 · 3 comments
Open

DRUG_ERA Script Issue #482

ericaVoss opened this issue Mar 22, 2022 · 3 comments
Labels

Comments

@ericaVoss
Copy link

https://ohdsi.github.io/CommonDataModel/sqlScripts.html#Drug_Eras
The output of this script doesn't match the DRUG_ERA table.

image

This script also doesn't calculate gap_days, just asserts it is looking for 30 days out.

@clairblacketer FYI

@ericaVoss
Copy link
Author

Associating with Chris' GIST:
https://gist.github.com/chrisknoll/a18c8e15ff66f26fac84

@MaximMoinat
Copy link
Collaborator

Has this been solved already? This forum post shows the need of having this fixed (the old query is apparently very slow on some databases). Also, the comments of Chris here on the condition era are relevant.

@clairblacketer
Copy link
Contributor

Potentially need to update - adam black suggested a new way that is more performant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs More Work
Development

No branches or pull requests

3 participants