The Foundation for Delaware County contributed an undisclosed amount of money to keep the hospitals open until March 28.