anchor.diff:   	 		}.bind(this));
    		},
    		deleteAdverseEvent:function(indx){
  - 	 		createAE.deleteAdverseEvent(indx, function(ajaxOutput){
  + 	 		captureAE.deleteAdverseEvent(indx, function(ajaxOutput){
    	 	 		$('ae-section-' + indx).remove();
    	 		}.bind(this));
    	 	
  
positive.code:  		},
   		refreshRPCrlOptionsAndShowDetails:function(newRPId, fetchOnlyDetails){
   	 		//will refresh the options of reporting period.
   	 		createAE.refreshReportingPeriodAndGetDetails(newRPId, fetchOnlyDetails, function(ajaxOutput){
   	 	 		this.rpCtrl.options.length = 1;
   	 	 		ajaxOutput.objectContent.each(function(rp){
   	 	 	 		 this.addOptionToSelectBox(this.rpCtrl,rp.name, rp.id);
  
negative.code:  		        }
   		  	}.bind(this));
   		  	//get the HTML to add from server   
   		  	captureAE.addObservedAE(listOfTermIDs, function(responseStr){
  				$('observedBlankRow').insert({after:responseStr});
  				if( $('observedEmptyRow')) $('observedEmptyRow').remove();
  				this.initializeOtherMeddraAutoCompleters(listOfTermIDs);
  