Skip to content
New issue

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

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

Already on GitHub? # to your account

[Tools] fix timepoint data problems #8949

Merged

Conversation

xlecours
Copy link
Contributor

Fixes #5040

The script now uses 'Other' has Feedback type instead of the one with id 5 (Which was failing due to foreign key constraint if there was no feedback type with id = 5)

Also remove the part where the date of birth was determined based on the Subproject/Cohort id 1 or 2 (which does not mean anything) and now relies on Timepoint::getEffectiveDateOfBirth. I assumed that subproject 1 and 2 was making a distinction between pre ans post natal visits. Timepoint::getEffectiveDateOfBirth should handle that.

@xlecours xlecours changed the title 20231114 issue5040 fix timepoint data problems [Tools] fix timepoint data problems Nov 14, 2023
@driusan
Copy link
Collaborator

driusan commented Nov 14, 2023

I think this needs to be rebased? Seems to have a lot of unrelated changes (and 3 files with conflicts..)

delegate EDC check to Timepoint class
@xlecours xlecours force-pushed the 20231114_Issue5040_fix_timepoint_data_problems branch from 0914c52 to 1f78862 Compare November 14, 2023 17:10
@CamilleBeau CamilleBeau added the Passed Manual Tests PR has undergone proper testing by at least one peer label Dec 1, 2023
@driusan driusan merged commit df67123 into aces:main Dec 1, 2023
20 checks passed
@ridz1208 ridz1208 added this to the 26.0.0 milestone Apr 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Passed Manual Tests PR has undergone proper testing by at least one peer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tools] fix_timepoint_data_problems: hardcoding issues
4 participants