Text this: How machine learning on real world clinical data improves adverse event recording for endoscopy