Rename CenterID of the candidate table to RegistrationCenterID (part 1 of candidate's CenterID refactoring) #4057
Closed
14 tasks done
Labels
SQL
PR contains SQL modifications such as schema changes and new SQL scripts
This will be part 1 of the future for the
CenterID
field of the candidate table plan (as discussed in September 2018 with @samirdas @driusan and @ridz1208, see meetings notes).TODOs:
Rename the
CenterID
field column of thecandidate
table toRegistrationCenterID
, which correspond to theCenterID
at which the candidate was first registered. This should never be changed for a given candidate.The future PR should include:
RegistrationCenterID
s.CenterID
when possible (ensure there is not duplication of the data displayed when doing so and that it does not affect the numbers)Extra notes to not forget for this PR:
c.CenterID
andCenterID
and check if need to replace it bys.CenterID
orc.RegistrationCenterID
Development notes:
candidate
'sCenterID
field renaming (see issue DICOM archive of the major branch broken #4067)candidate
'sCenterID
field renaming (see issue Imaging browser - View session broken on major #4068)Future labels for the PR:
RegistrationCenterID
should never be changed for a givencandidate
. Thesession
table will have the information about the latestCenterID
the candidate has been seen.c.CenterID
is replaced byc.RegistrationCenterID
in your project code queries.The text was updated successfully, but these errors were encountered: