Tens of thousands of patients were waiting for routine treatment at Hampshire Hospitals Trust in July, figures show.

The King's Fund, a leading healthcare think tank, has said the new Prime Minister must act urgently to tackle the problems blighting the NHS as it heads into a "terrible" winter.

NHS England figures show 51,394 patients were waiting for non-urgent elective operations or treatment at Hampshire Hospitals NHS Foundation Trust at the end of July – up from 50,328 in June, and 44,166 in July 2021.

Of those, 2,337 (5%) had been waiting for longer than a year.

The median waiting time from referral at an NHS Trust to treatment at Hampshire Hospitals Trust was 14 weeks at the end of July – the same as in June.

Nationally, 6.8 million people were waiting to start treatment at the end of July – a new record.

Richard Murray, chief executive of the King's Fund, said the NHS is being "shaken to its core".

"The challenges affecting the NHS cannot be solved without addressing the systemic workforce shortages and sustained funding shortfalls in social care.

"The new PM and Secretary of State have a matter of weeks to decide what emergency short term action to take to provide at least some additional support during what promises to be a terrible winter for patients and staff.

"This could include maximising the campaigns for winter Covid boosters and flu vaccines, tackling the pensions issue driving senior staff out of the NHS, and emergency funding to boost capacity in social care."

Separate figures show 1.5 million patients in England were waiting for a key diagnostic test in July – a fall from 1.6 million in June.

At Hampshire Hospitals Trust, 11,673 patients were waiting for one of 13 standard tests, such as an MRI scan, non-obstetric ultrasound or gastroscopy at this time.

Of them, 3,464 (30%) had been waiting for at least six weeks.

Responding to the latest performance figures for England as a whole, Nigel Edwards, chief executive of the Nuffield Trust, said the NHS's problems have been "years in the making".

“The new government is absolutely right to prioritise health and social care as a matter of urgency.

"Exactly how to turn this around as we go into winter will not be an easy task, but a relentless focus on the workforce, social care and hospital buildings are essential."

Other figures show cancer patients at Hampshire Hospitals Trust are not being seen quickly enough.

The NHS states 85% of cancer patients urgently referred by a GP should start treatment within 62 days.

But NHS England data shows just 76% of patients urgently referred by their GP who received cancer treatment at Hampshire Hospitals Trust in July began treatment within two months of their referral.

That was up from 72% in June, but down from 83% in July 2021 last year.

New Health and Social Care Secretary and Deputy Prime Minister Thérèse Coffey said: “Clearly this level of performance is unacceptable, which is why I have set out our priorities will be ABCD: ambulances, backlogs, care and doctors and dentists.

“We know some of the backlog challenges will increase as people continue to present themselves for treatment.

"We are investing £39 billion to tackle these challenges, ensure the NHS is fully prepared for winter and fix the broken social care system.”