Chat became a lifeline for a doctor fighting to save his patients injured by Israeli attacks near and against the hospital itself