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();
    }
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();
    }
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 ( ) ; }
Move the respondent

@param int $fromOrgId
@param int $fromRespId
@param int $toOrgId
@param string $toPatientId
@return int 1 If saved
Move the respondent