Non-emergency surgeries were cancelled Wednesday at Cambridge Memorial Hospital due to a broken water pipe.

Hospital officials say a frozen pipe burst early Wednesday morning, causing flooding and damage to clinical areas.

One of the hardest hit sections of the building was the intensive care unit.

Patients housed in that unit were transferred to the hospital’s surgical recovery room, which is why surgeries did not take place.

Also damaged was the “fast track” section of the hospital’s emergency department, which deals with non-urgent issues.

All patients are safe, hospital officials say.

“Our priority is to get a temporary ICU fully operational and to resume all surgeries,” hospital president Patrick Gaskin said in a press release.

Although there is not yet a timeline for when everything will be back to normal at the hospital, some surgeries will take place starting Thursday.

Some non-urgent care matters may take longer than usual over the next few weeks, Gaskin said.