Yes. If your treatment was provided under the NHS, the Healthcare Trust responsible for the Hospital will take responsibility for the medical negligence claim. They are NHS indemnified to cover such claims.
If treatment was provided by a privately funded healthcare provider, the claim will be brought against the individual doctor. Every doctor practising privately must have their own indemnity insurance in place to cover such claims.