Automated identification of diagnostic labelling errors in medicine