There are three data sharing schemes which you, as a patient, should be aware of.
1. Summary care record
2. Connecting care
In addition, it is also possible for you to have a view of your own medical record online. Details of these schemes, including an opt-out form for the local and national sharing can be found here.