private function collectTreatementInfo($request)
 {/*{{{*/
     $treatmentDesc = XString::convertUTF8ToGBK(ltrim($request->treatmentDesc));
     $beginTime = AskSessionInfo::assembleDate($request->treateBeginYear, $request->treateBeginMonth, $request->treateBeginDay);
     $endTime = AskSessionInfo::assembleDate($request->treateEndYear, $request->treateEndMonth, $request->treateEndDay);
     $treatementHospitalId = $request->treatementHospitalId;
     $treatement = BingLiDto::createTreatementDto($treatmentDesc, $beginTime, $endTime, $treatementHospitalId);
     return $treatement;
 }/*}}}*/
	public function showBingli($request, $response)
	{/*{{{*/
		header('Content-Type: text/html; charset=gbk');
		$domain = $request->getRequest('domain', URL_PREFIX.'zixun.haodf.com');
		$type = $request->getRequest('type', 'qita');
		
		$typeList = PatientAttachment::$typeList;
		$typeDetail = $typeList[$type];
		$tplContent = '';
		if($typeDetail['type'] == PatientAttachment::TYPE_HUAYANDAN)
		{
			$tplContent = BingLiTpl::getTplContent($type);
		}
		$response->typeDetail = $typeDetail;
		$response->tplContent = $tplContent;
		$response->type = $type;
		$response->domain = $domain;
		//随访复查用
		$questionCategoryId = '';
		$questionCategoryId = $request->questionCategoryId;
		$response->questionCategoryId = $questionCategoryId;
		$response->userId = $request->userId;
        //多患者
        $patientId = $request->patientId;
		$response->patientId = $patientId;
        if(false == empty($patientId))
        {
            //传过来patient以后,要用patient的user
            $patient = DAL::get()->find('Patient', $patientId);
            $user = $patient->user;
            $response->userId = $user->id;
        }
        if(null != $request->hoskey)
        {
            $dateyear    = $request->dateyear;
            $datemonth   = $request->datemonth;
            $dateday     = $request->dateday;
            $hosInfo = AskSessionInfo::getSinglePatientInfos(NodeObj::NODE_DEFINE_HOSPITAL, $request->hoskey);
            $date = AskSessionInfo::assembleDate($dateyear, $datemonth, $dateday);
            $response->date =  $date;
            $response->hosKey = $request->hoskey;
            $itemName = $request->projectname;
            $response->itemName = $this->js_unescape($itemName);
            $response->hospitalName = isset($hosInfo->hospitalName)?$hosInfo->hospitalName:'';
            $response->facultyName = isset($hosInfo->facultyName)?$hosInfo->facultyName:'';
        }
        if($request->bingli4space)
        {
            return 'space';
        }
        else
        {
            return 'default';
        }
	}/*}}}*/