The Royal College of Emergency Medicine (RCEM) has warned delays to treatment leads to patients dying or coming to harm.

Dr Fiona Hunter, vice president of the RCEM in Scotland, said A&E departments are so busy that all available space is used with patients “stacked up” on beds in corridors or waiting in ambulances.

She said: “People are losing their loved ones from being stuck in these inappropriate, non-clinical areas that were never designed to hold patients for any length of time.”

NHS Ayrshire and Arran said that, like other health boards, it was experiencing “significant pressures” across the health and care system.

It said it tried to forecast demand to minimise delays and that it worked to mitigate risks where delays were identified.

NHS 24 said it was continuing to engage with Sharon’s family while a review of the case was ongoing.

The Scottish Ambulance Service said lengthy hospital turnaround times were preventing crews from getting out to treat other patients.

“We continue to work closely with health boards to support their efforts to reduce hospital handover delays,” a spokesperson added.

Health Secretary Angela Constance said she would shortly set out a “new national plan” to directly address A&E pressures and delayed discharge.

“Whilst the situation in Scotland is not unique and A&E departments across the UK continue to face significant demand, I am clear that our system requires reform and I am determined to shorten waits for patients, reduce people going to hospital unnecessarily and ease A&E pressures,” she added.