public function confirmPatient($request, $response) {/*{{{*/ AskSessionInfo::bindUser($this->_newUser->id); $isBeforeLoginConfirmPatient = AskSessionInfo::getBeforeLoginConfirmPatient(); $patients = $this->_newUser->patients; if(false == empty($patients) && is_array($patients) && false == $isBeforeLoginConfirmPatient) { $response->patients = $patients; $response->hasPatient = true; } else { $response->patients = array(); $response->hasPatient = false; } $response->user = $this->_newUser; $response->relationList = Patient::relationDef(); }/*}}}*/