/**
  * Listing page of Operator User and Patient Portal
  * where all pending orders are listed for operator user
  * and all test are listed for patient
  */
 public function indexAction()
 {
     $messages = $this->_helper->flashMessenger->getMessages();
     $message = '';
     if (!empty($messages) && $messages[0] == 'mail_sent') {
         $message = $messages[0];
     }
     $this->view->mail_sent = $message;
     $model = new Application_Model_Patient();
     $id = 0;
     if ($this->userObj['user_type'] == 'patient') {
         $id = $this->userObj['id'];
     }
     $patients = $model->getAllPatient($id);
     $this->view->user_type = $this->userObj['user_type'];
     //        print_r($patients); die;
     $this->view->patients = $patients;
 }