More than 19 planned operations have been cancelled a day on average since the start of the year because of capacity issues in the NHS.

The latest figures show 512 operations were scrapped in May due to a lack of space or staff, up from 490 the previous month but below this year's high of 704 in January.

A total of 2,912 planned operations were cancelled between January and May due to capacity reasons, an average of 19.2 per day.

Scottish Labour's health spokesman Anas Sarwar said: "These official figures once again reveal the extent of the SNP's mismanagement of our NHS.

"An average of nearly 20 operations are being cancelled every day so far this year - that's almost 3,000 patients since January.

The Herald:

"This is simply unacceptable. The SNP has left our NHS staff under-valued and under-resourced, while patients are facing delay after delay.

"It is clear that SNP Health Secretary Shona Robison is now totally out of her depth - she created this crisis and she can't be the one to fix it.

"Nicola Sturgeon must reshuffle her Cabinet and get back to the day job of fixing the mess the SNP has made of our NHS."

Ms Robison said: "In May there was on average of almost 1,000 operations per day carried out in Scotland's hospitals - with the lowest ever rate of overall cancellations since these statistics were created and only 1.7% cancelled due to non-clinical or capacity reasons. In fact, since January almost 130,000 operations have been carried out.

"Boards work hard to keep cancellations to a minimum, and we'll continue working with them so we see sustained improvement.

"Today's statistics also show improving A&E performance, with Scotland's A&Es being the best in the UK for over two years, plus encouraging improvement in the delayed discharge rate.

"I am confident that the recently announced extra £9 million to improve patient flow through hospitals this year will help us continue to reduce delays."