$sql1="update employee_appointment set abnormalitys=REPLACE(abnormalitys,'".$row_similar["abnormality_id"]."','".$primary_id."') where abnormalitys like ('%".$row_similar["abnormality_id"]."%')";
$sql2="update checkup_form set abnormality_ids=REPLACE(abnormality_ids,'".$row_similar["abnormality_id"]."','".$primary_id."') where abnormality_ids like ('%".$row_similar["abnormality_id"]."%')";
$sql3="update `prescription_master` set diseases=REPLACE(diseases,'".$row_similar["abnormality_id"]."','".$primary_id."') where diseases like ('%".$row_similar["abnormality_id"]."%')";
$sql3="update `diagnosis_chronic_mapping` set chronic_id=REPLACE(chronic_id,'".$row_similar["abnormality_id"]."','".$primary_id."') where chronic_id like ('%".$row_similar["abnormality_id"]."%')";