public void deletePatient(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException{
		log.debug("PatientManager deletePatient method called...");
		int healthRecord=Integer.parseInt(request.getParameter("healthrec"));

		PatientService patientService=new PatientServiceImpl();
		try{
			if(patientService.deletePatient(healthRecord)>=1){
				request.setAttribute("result", "Deleted Successfully...");
				log.info("Patient deleted successfully...");
			}
		} catch (Exception e) {			
			request.setAttribute("result", "Error :"+e.toString());
			log.error(e.toString());
		}
		RequestDispatcher view=request.getRequestDispatcher("AddPatient.jsp");
		view.forward(request, response);
	}