public function checkCondition4SpaceBefore($request, $response)
    {/*{{{*/
        $askSpace = AskSessionInfo::getBindSpace();
        if (false == empty($askSpace) && false == $askSpace->isNull())
        {
            $this->skips($askSpace, $response);
            if ($this->user->isNull())
            {
                $response->setRedirect($response->router->urlfor('user/login',array('forward' => $response->router->urlfor('newcase/checkcondition4spacebefore'))));
                return false;
            }
            else
            {
                AskSessionInfo::bindUser($this->user->id);
            }

            $patientList = $this->user->patientList;
            if (empty($patientList))
            {
                $this->checkCondition4SpaceAfter($request, $response);
            }
            else
            {
                $response->setRedirect($response->router->urlfor('newcase/selectpatient', array("from" => "space")));
            }
        }
    }/*}}}*/
 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();
 }/*}}}*/