Sean O'Donnell died from water intoxication after being advised to drink lots of liquids after a routine operation at a hospital in Dublin, a court recently heard.