-
Notifications
You must be signed in to change notification settings - Fork 97
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
Plausible before birth checks #561
Comments
That makes sense to me. The check is already implemented such that a record violates it if
When looking at event datetime, things indeed go wrong. The event is cast to a date, but the Two possible solutions:
I would propose the first as it is simple to implement and consistent. |
I concur with your suggestion @MaximMoinat - thanks! And thanks Melanie for the report :) |
Cast patient.birth_Date to Date to fix issue 561: OHDSI#561
@rakeshnbabu any luck with your work on this post-hackathon / want to open a PR for your change? Thanks 😄 |
So sorry, I’ve been fighting with line endings of all things... my diffs
were flagging the entire file as being edited. I’m going to have a few
hours this afternoon to finally sort it out on my mac at home. You should
see a push later today!
…-- Rocky
On Sat, Nov 9, 2024 at 9:57 AM Katy Sadowski ***@***.***> wrote:
@rakeshnbabu <https://github.com/rakeshnbabu> any luck with your work on
this post-hackathon / want to open a PR for your change? Thanks 😄
—
Reply to this email directly, view it on GitHub
<#561 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABINFHQO7FU5OBF7HPKP2LLZ7YPFBAVCNFSM6AAAAABLU3YGCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGI2DOOBXGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
OK fantastic, thank you so much! It's no real rush, just wanted to see if you were still planning to finish it :) |
First, thank you @katy-sadowski, @MaximMoinat and all who update, maintain and support the DQD! This is a very useful tool and we rely on it to ensure our data are of high quality.
One suggestion, the new plausible before birth checks require an even start before birth. However, in our source data some of our events start at birth. So, a baby has a birthdatetime of 10am on December 31, 2024, their visit_start_datime is also at 10am on December 31, 2024. The DQD requires birthdatetime < visit_start_datime. I think changing the check of birthdatetime < or = visit_start_datime would be more appropriate since visits (and possibly other clinical events) can start at birthdatetime.
The text was updated successfully, but these errors were encountered: