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

How to identify valid concepts and concept relationships? #6

Open
schuemie opened this issue Nov 9, 2018 · 1 comment
Open

How to identify valid concepts and concept relationships? #6

schuemie opened this issue Nov 9, 2018 · 1 comment

Comments

@schuemie
Copy link
Member

schuemie commented Nov 9, 2018

Many queries like this one identify valid concepts and relationships by checking whether the current system date is between the valid_start_date and the valid_end_date. Although there's nothing incorrect about that, I always check whether invalid_reason IS NULL.

@ericaVoss, @alondhe: any thoughts on what should be recommended best practice?

@PRijnbeek
Copy link
Collaborator

Sysdate should be replaced by GETDATE() in the queries if we take this approach

PRijnbeek added a commit that referenced this issue Feb 14, 2019
Update format of person and care_site queries
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