Added method merge_diagnoses_data_with_rest