original_string: protected function saveTo($fromOrgId, $fromRespId, $toOrgId, $toPatientId)
      {
          $model = $this->getModel();
          try {
              $model->move($fromOrgId, $fromRespId, $toOrgId, $toPatientId);    
          } catch (\Exception $exc) {
              $this->addMessage($exc->getMessage());
              return 0;
          }        
          
          return $model->getChanged();
      }
code: protected function saveTo($fromOrgId, $fromRespId, $toOrgId, $toPatientId)
      {
          $model = $this->getModel();
          try {
              $model->move($fromOrgId, $fromRespId, $toOrgId, $toPatientId);    
          } catch (\Exception $exc) {
              $this->addMessage($exc->getMessage());
              return 0;
          }        
          
          return $model->getChanged();
      }
code_tokens: protected function saveTo ( $ fromOrgId , $ fromRespId , $ toOrgId , $ toPatientId ) { $ model = $ this -> getModel ( ) ; try { $ model -> move ( $ fromOrgId , $ fromRespId , $ toOrgId , $ toPatientId ) ; } catch ( \ Exception $ exc ) { $ this -> addMessage ( $ exc -> getMessage ( ) ) ; return 0 ; } return $ model -> getChanged ( ) ; }
docstring: Move the respondent
  
  @param int $fromOrgId
  @param int $fromRespId
  @param int $toOrgId
  @param string $toPatientId
  @return int 1 If saved
docstring_tokens: Move the respondent