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