More than 950 projects will make NHS hospitals safer, more resilient and better equipped to care for patients.