I went through this last year as well. Had to merge everything into the UK CAA which is where my Class 1 is held.
If you are transferring to the UK with an overseas medical you need to transfer the medical records as well.
We just had a company pilots transfer bounced back to get his medical records transferred from Portugal.