1. A computer-implemented method comprising: automatically determining, by a computer, inconsistencies between fields in electronic records, the fields comprise at least a structured field and a non-structured field, the fields are designed to be able to include overlapping information in structured and non-structured form, wherein said automatically determining comprises: obtaining one or more groups of fields of the electronic records, each of which groups comprising at least one structured field and at least one non-structured field, wherein the fields in each group have an overlapping relationship; generating instances of pairs of data and a corresponding actual label from the electronic records based on the fields in each group, wherein the data is defined using a value of the non-structured field of an electronic record, wherein the actual label is defined using a value of the structured field of the electronic record and a mapping between values of the structured field and a set of labels; for each classifier of one or more classifiers: training the classifier based on the instances; predicting by the classifier predicted labels for each instance of the instances, whereby a predicted label is predicted by a classifier for an instance which was used to train the classifier; and comparing the predicted label with the actual label; and indicating potential inconsistencies, by the computer, to a user.