The impact of staffing shortages on occupancy rates