If OPD is deleted after saved from Visiting Doctor Appointment then Visiting Doctor Appointment in OPD should also gets updated for that entry so that the user can select registered patient again with same Visiting Doctor Appointment number.