Text this: Artificial intelligence and machine learning approaches for patient safety in complex surgery