/**
  * When Operator user saves results request is posted to this method
  * it saves the results of test for which a patient has applied.
  */
 public function saveresultAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender(true);
     $data = $this->getRequest()->getPost();
     patient::saveTestResult($data);
     echo json_encode(['messages' => 'Results are saved.']);
     die;
 }