Capacity challenges and workforce issues have created unprecedented strain on the state’s hospitals.