Hospital forced to adapt when water supply lost