From 1 July 2021 the NHS is sharing all GP medical records data for further research.
Full details are here:
If you want to opt out, please do this online https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/general-practice-data-for-planning-and-research/gp-privacy-notice#opting-out
A useful video explains it here: