I won't be opting out.
Having had to use the NHS extensively in the recent past, I would be happy for my records to be used for research purposes. In fact during my treatment I agreed to students having access to me and my records to do this very thing.
If it helps save one life it's worth it.