High levels of hospital bed occupancy, delays in transferring patients out of hospital, and staff shortages throughout the urgent and emergency care system have all had an impact on A&E waiting times over recent years.