Closed isangil closed 2 years ago
if we can pls committ changes one by one (extract-sql), that way is not a massive review.
okay. yes, I'll commit one by one. I will add, for example, 'RAD-' + rad.uk to make up the source_pk. I have to do the same to the visit_detail_id - have it be 'RAD-' + rad.uk, or it won't be unique. 'RAD-' + rad.fk2 would still not be unique.
exactly, thanks
Okay. will do.
need the HospSupp join to finish this one @lvarnedoe thank you
Let's add the clinical table abbreviations (SRG, HOR, CHM) to the primary Keys of each clinical extract AND the visit detail, we will avoid having false duplicates.