The federal government is giving hospitals billions to meet rising demands.