Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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 been successfully tested by at least one peer label Dec 1, 2023
@driusan driusan merged commit df67123 into aces:main Dec 1, 2023
@ridz1208 ridz1208 added this to the 26.0.0 milestone Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Passed manual tests PR has been successfully tested 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