If you have any worries about the NHS sharing your personal data with third parties who will not need your consent for thier purposes... You need to opt out before 3oth June 2021.
Follow link - scroll down and click "start now" button (see below). You need your NHS number and will have to verify it's you by a text on your mobile phone.