/// <summary>
        /// 查找病人
        /// </summary>
        public void SearchingPatient()
        {
            StringBuilder strWhere = new StringBuilder( );

            strWhere.Append("CUREDATE between ");
            strWhere.Append("'" + condiction.BeginDate.ToString("yyyy-MM-dd") + " 00:00:00'");
            strWhere.Append(" AND ");
            strWhere.Append("'" + condiction.EndDate.ToString("yyyy-MM-dd") + " 23:59:59'");
            if (condiction.PatientNameKeyWord.Trim( ) != "")
            {
                strWhere.Append(" AND PATNAME LIKE '%" + GWI.HIS.Windows.Controls.CommonFun.FormatKeyword(condiction.PatientNameKeyWord) + "%' ");
            }

            if (condiction.OutPatientNo.Trim( ) != "")
            {
                strWhere.Append(" AND VISITNO = '" + condiction.OutPatientNo + "'");
            }

            DataTable tbPatient = OutPatient.GetPatientList(strWhere.ToString());

            formView.SearchResultList = tbPatient;
        }