Пример #1
0
        public frmIntensiveTend_FContent(bool blnNew, string p_strInPatientID, string p_strInPatientDate, string p_strCreateDate)
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();

            //
            // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
            //
//			m_lblSign.Text=MDIParent.OperatorName;
//			m_mthSetRichTextBoxAttribInControl(this);
            //m_objBorderTool=new clsBorderTool(Color.White);
            //m_objSignTool = new clsEmployeeSignTool(m_lsvEmployee);
            //m_objSignTool.m_mthAddControl(m_txtSign);
            m_objSign = new clsEmrSignToolCollection();
            m_objSign.m_mthBindEmployeeSign(cmdSign, txtSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);

            //初始化变量值
            blnNewRecord           = blnNew;
            strRecordInPatientID   = p_strInPatientID;
            strRecordInPatientDate = p_strInPatientDate;
            strRecordCreateDate    = p_strCreateDate;
            m_mthSetRichTextBoxAttribInControl(this);
            //右键菜单
            m_objTempTool  = new clsTemplatesetInvoke();
            objHRPBaseForm = new frmHRPBaseForm();
        }
Пример #2
0
        public frmTakeOver_XJ()
        {
            InitializeComponent();

            //指明医生工作站表单
            intFormType = 1;
            //			m_objSignTool = new clsEmployeeSignTool(m_lsvEmployee_New);
            //			m_objSignTool.m_mthAddControl(m_txtSign);

            cmdConfirm.Visible = false;

            m_mthSetRichTextBoxAttribInControl(this);

            this.Text = "交班记录";
            lblCreateDateTitle.Text = "交班时间:";
            this.m_lblForTitle.Text = this.Text;
            if (m_trnRoot != null)
            {
                m_trnRoot.Text = "交班时间";
            }

            //			m_lblSign.Text=MDIParent.OperatorName;


            //			//签名常用值
            //			m_objCUTC = new clsCommonUseToolCollection(this);
            //			m_objCUTC.m_mthBindEmployeeSign(new Control[]{this.m_cmdEmployeeSign },
            //				new Control[]{this.m_txtSign },new int[]{1});

            //签名常用值
            m_objSign = new clsEmrSignToolCollection();
            //m_mthBindEmployeeSign(按钮,签名框,医生1or护士2,身份验证trueorfalse);
            m_objSign.m_mthBindEmployeeSign(m_cmdEmployeeSign, lsvSign, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
        }
Пример #3
0
        public frmGestationMisbirthsthree_Con(bool blnIsNew, string strMotherID, string strInPatientDate, string strBirthTime, ref string strOpenDate)
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();
            this.Size = new System.Drawing.Size(760, 472);
            //
            // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
            //
            //指明医生工作站表单
            intFormType        = 1;
            m_blnIsNew         = blnIsNew;
            m_strMotherID      = strMotherID;
            m_strBirthTime     = strBirthTime;
            m_strOpenTime      = strOpenDate;
            m_strInPatientDate = strInPatientDate;
            //m_objSignTool = new clsEmployeeSignTool(m_lsvEmployee);
            //m_objSignTool.m_mthAddControl(m_txtDoctorSign);

            //new clsCommonUseToolCollection(this).m_mthBindEmployeeSign(new Control[]{this.m_cmdDoctorSign },
            //    new Control[]{this.m_txtDoctorSign},new int[]{1});
            //签名常用值
            m_objSign = new clsEmrSignToolCollection();
            //m_mthBindEmployeeSign(按钮,签名框,医生1or护士2,身份验证trueorfalse);
            m_objSign.m_mthBindEmployeeSign(m_cmdSign, m_txtSign, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);

            m_objDomain = new clsGestationMisbirthsthreeDomain();
            m_txtBLOODPRESSURE1.Focus();
        }
Пример #4
0
 public frmMiddleQestationLayRecord()
 {
     m_objSign = new clsEmrSignToolCollection();
     InitializeComponent();
     m_objSign.m_mthBindEmployeeSign(m_cmdOper, m_txtOperator, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
     m_objSign.m_mthBindEmployeeSign(m_cmdDealwith, m_txtlsvDealwith, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #5
0
 public frmGeneralNurse_ObstetricNewChildRec()
 {
     InitializeComponent();
     m_mthSetRichTextBoxAttribInControl(this);
     m_objSign = new clsEmrSignToolCollection();
     //可以指定员工ID如
     m_objSign.m_mthBindEmployeeSign(m_cmbsign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #6
0
 public frmIntensiveTendMain_CSWKRec()
 {
     InitializeComponent();
     m_mthSetRichTextBoxAttribInControl(this);
     m_mthInitDataTable();
     m_objSign = new clsEmrSignToolCollection();
     //可以指定员工ID如
     m_objSign.m_mthBindEmployeeSign(m_cmbRecordSign, lsvRecordSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #7
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public frmValidateByDirector()
 {
     InitializeComponent();
     BlnValidateResult = false;
     //签名常用值
     m_objSign = new clsEmrSignToolCollection();
     //m_mthBindEmployeeSign(按钮,签名框,主任医师10or护士长20,身份验证trueorfalse);
     m_objSign.m_mthBindEmployeeSign(btnDirector, txtDirectror, 10, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #8
0
 /// <summary>
 /// 中期妊娠引产记录表(三合一)
 /// </summary>
 public frmIMR_GestationMisbirthsthrees_F2()
 {
     InitializeComponent();
     m_objSign = new clsEmrSignToolCollection();
     m_mthSetRichTextBoxAttribInControl(this);
     //   iCare.frmInpatMedRecBase ba = new frmInpatMedRecBase();
     m_objSign.m_mthBindEmployeeSign(m_cmdSurgeryer, m_txtSurgeryer, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
     m_objSign.m_mthBindEmployeeSign(m_cmdDealer, m_txtDealer, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #9
0
 public frmNewBorthBabyGeneralNurseRecord_CSRec()
 {
     InitializeComponent();
     m_mthInitDataTable();
     m_mthSetRichTextBoxAttribInControl(this);
     m_objSign = new clsEmrSignToolCollection();
     //可以指定员工ID如
     m_objSign.m_mthBindEmployeeSign(m_cmbsign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #10
0
        public frmEMR_IntBloodSugarWatchcon()
        {
            InitializeComponent();
            m_objSign = new clsEmrSignToolCollection();

            //可以指定员工ID
            m_objSign.m_mthBindEmployeeSign(m_cmdSign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);
            m_mthSetRichTextBoxAttribInControl(this);
            m_mthThisAddRichTextInfo(this);
        }
Пример #11
0
 public frmGeneralNurseRecord_CSCon(bool blnNew, string p_strInPatientID, string p_strInPatientDate, string p_strCreateDate)
     : this()
 {
     blnNewRecord           = blnNew;
     strRecordInPatientID   = p_strInPatientID;
     strRecordInPatientDate = p_strInPatientDate;
     strRecordCreateDate    = p_strCreateDate;
     m_mthSetRichTextBoxAttribInControl(this);
     m_objSign = new clsEmrSignToolCollection();
     m_objSign.m_mthBindEmployeeSign(m_cmbsign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #12
0
        /// <summary>
        /// Init
        /// </summary>
        void Init()
        {
            try
            {
                clsPublic.PlayAvi("请稍候...");
                this.lblPatName.Text    = patVo.m_strPatientName;
                this.lblAreaName.Text   = patVo.m_strAreaName;
                this.lblBedNo.Text      = patVo.m_strBedName;
                this.lblIpNo.Text       = patVo.m_strInHospitalNo;
                this.lblSex.Text        = patVo.m_strSex;
                this.lblAge.Text        = patVo.m_strAge;
                this.lblNoticeDate.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm");

                DataTable dt = null;
                clsOperationRequisitionService_Oracle svc1 = (clsOperationRequisitionService_Oracle)clsObjectGenerator.objCreatorObjectByType(typeof(clsOperationRequisitionService_Oracle));
                svc1.m_lngQueryDiagnosis(patVo.m_strPatientID, out dt);
                svc1 = null;
                if (dt != null && dt.Rows.Count > 0)
                {
                    DataView dv = dt.DefaultView;
                    dv.Sort  = "inpatient_dat desc";
                    diagDesc = dv[0]["primarydiagnoseall"].ToString().Trim();
                }

                clsAssistDicService_2 svc2 = (clsAssistDicService_2)clsObjectGenerator.objCreatorObjectByType(typeof(clsAssistDicService_2));
                svc2.m_lngGetOperationName(out dt);
                svc2 = null;
                if (dt != null && dt.Rows.Count > 0)
                {
                    this.txtOpName.DataSource       = dt;
                    this.txtOpName.TextColumnIndex  = 1;
                    this.txtOpName.ValueColumnIndex = 0;
                    this.txtOpName.AutoMatch        = true;
                    this.txtOpName.MaxDataGridWidth = 1000;
                }

                clsEmrSignToolCollection tools = new clsEmrSignToolCollection();
                tools.m_mthBindEmployeeSign(this.btnDoctMain, this.txtDoctMain, 1, false);
                tools.m_mthBindEmployeeSign(this.btnDoctAss1, this.txtDoctAss1, 1, false);
                tools.m_mthBindEmployeeSign(this.btnDoctAss2, this.txtDoctAss2, 1, false);
                tools.m_mthBindEmployeeSign(this.btnDoctAss3, this.txtDoctAss3, 1, false);

                clsBIHOrderService svc3 = new clsDcl_GetSvcObject().m_GetOrderSvcObject();
                this.isStepControl = svc3.IsOpStepControl();
                svc3 = null;

                GetHistory();
                New();
            }
            finally
            {
                clsPublic.CloseAvi();
            }
        }
Пример #13
0
        /// <summary>
        /// 出入量登记表
        /// </summary>
        public frmIntakeAndOutputVolumeSummary()
        {
            InitializeComponent();
            //签名常用值

            m_objSign = new clsEmrSignToolCollection();
            //可以指定员工ID如

            m_objSign.m_mthBindEmployeeSign(m_cmdEmployeeSign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);
            m_mthSetRichTextBoxAttribInControl(this);
        }
Пример #14
0
 public frmEMR_SummaryBeforeOP()
 {
     InitializeComponent();
     //指明医生工作站表单
     intFormType = 1;
     // 设置RichTextBox属性。(右键菜单、用户姓名、用户ID、输入字体颜色,双画线颜色)
     m_mthSetRichTextBoxAttribInControl(this);
     //签名常用值
     m_objSign = new clsEmrSignToolCollection();
     //m_mthBindEmployeeSign(按钮,签名框,医生1or护士2,身份验证trueorfalse);
     m_objSign.m_mthBindEmployeeSign(m_cmdEmployeeSign, lsvSign, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #15
0
 public frmPartogramRecord_GX()
 {
     InitializeComponent();
     //m_mthSetBindingSource();
     m_objSign = new clsEmrSignToolCollection();
     m_mthSetRichTextBoxAttribInControl(this);
     //m_mthBindEmployeeSign(按钮, 签名框, 医生1or护士2, 身份验证trueorfalse, 员工ID);
     m_objSign.m_mthBindEmployeeSign(m_cmdDeliver, m_lsvDeliver, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
     m_objSign.m_mthBindEmployeeSign(m_cmdAsst, m_txtAidUser, 1, false, clsEMRLogin.LoginInfo.m_strEmpID, true);
     m_objDomain = new clsPartogramDomain();
     intFormType = 2;
 }
Пример #16
0
        /// <summary>
        /// 阴道检查记录表
        /// </summary>
        public frmVaginalExaminationRecord()
        {
            InitializeComponent();

            //签名常用值


            m_objSign = new clsEmrSignToolCollection();
            //可以指定员工ID如


            m_objSign.m_mthBindEmployeeSign(m_cmdSign, lsvSign, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
            m_mthSetRichTextBoxAttribInControl(this);
        }
Пример #17
0
 public frmAYQBabyAssessmentRecord_Rec(bool blnIsNew, string strMotherID, string strInPatientDate, string strBirthTime, ref string strOpenDate)
 {
     InitializeComponent();
     m_strMotherID = strMotherID;
     //指明医生工作站表单
     intFormType        = 1;
     m_blnIsNew         = blnIsNew;
     m_strOpenTime      = strOpenDate;
     m_strInPatientDate = strInPatientDate;
     //签名常用值
     m_objSign = new clsEmrSignToolCollection();
     m_objSign.m_mthBindEmployeeSign(m_cmdDoctorSign, m_txtDoctorSign, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
     m_objDomain = new clsAYQBabyAssessmentContentDomain();
 }
Пример #18
0
//		private clsCommonUseTool m_objICU;

        public frmPICUShiftInForm()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            // TODO: Add any initialization after the InitializeComponent call
            //指明医生工作站表单
            intFormType = 1;
//			m_strDeptID = m_strGetICUDeptID();

            m_objShiftInDomain = new clsPICUShiftInDomain();

            m_objSign = new clsEmrSignToolCollection();
            m_objSign.m_mthBindEmployeeSign(m_cmdFromDoctor, txtFromDoctor, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
        }
Пример #19
0
        public frmShuXueZhiLiaoyes_xj()
        {
            InitializeComponent();

            m_mthSetRichTextBoxAttribInControl(this);
            //指明医生工作站表单
            intFormType             = 1;
            this.Text               = "输血治疗同意书";
            this.m_lblForTitle.Text = this.Text;

            m_objSign = new clsEmrSignToolCollection();

            //医师
            m_objSign.m_mthBindEmployeeSign(m_cmdRecord, m_txtRecorder, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
        }
Пример #20
0
        /// <summary>
        /// 出入量登记表
        /// </summary>
        public frmIntakeAndOutputVolumeCon()
        {
            InitializeComponent();

            //签名常用值

            m_objSign = new clsEmrSignToolCollection();
            //可以指定员工ID如

            m_objSign.m_mthBindEmployeeSign(m_cmdSign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);
            m_mthSetRichTextBoxAttribInControl(this);
            string[] strTimeItems = new string[] { "上午七时至下午三时", "下午三时至下午六时", "下午六时至凌晨二时", "凌晨二时至上午七时" };
            m_cboRecordTime.AddRangeItems(strTimeItems);
            m_mthThisAddRichTextInfo(this);
        }
Пример #21
0
        /// <summary>
        /// 通用ICU护理记录24小时统计
        /// </summary>
        /// <param name="p_strRegisterID">入院登记流水号</param>
        /// <param name="p_strTransferID">转科流水号</param>
        /// <param name="p_strAfterDays">入ICU后天数</param>
        /// <param name="p_strCreateDate">创建日期,修改统计时必须赋值</param>
        /// <param name="p_blnIsAddNew">是否新添统计</param>
        public frmICUNurseStatistics(string p_strRegisterID, string p_strTransferID, string p_strAfterDays, string p_strCreateDate, bool p_blnIsAddNew)
        {
            InitializeComponent();

            m_strTransferID         = p_strTransferID;
            m_strAfterDays          = p_strAfterDays;
            m_blnIsAddNewStatistics = p_blnIsAddNew;
            m_strCreateDate         = p_strCreateDate;
            m_strRegisterID         = p_strRegisterID;
            //签名常用值

            m_objSign = new clsEmrSignToolCollection();
            m_objSign.m_mthBindEmployeeSign(m_cmdEmployeeSign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);

            m_mthSetRichTextBoxAttribInControl(this);
        }
Пример #22
0
        public frmPICUShiftOutForm()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();
            //指明医生工作站表单
            intFormType = 1;
            // TODO: Add any initialization after the InitializeComponent call

            m_objShiftOutDomain = new clsPICUShiftOutDomain();

            clsDepartment [] objDeptArr = m_objCurrentContext.m_ObjDeptManager.m_objGetAllInDeptArr();
            m_cboToDept.AddRangeItems(objDeptArr);

            m_objSign = new clsEmrSignToolCollection();
            m_objSign.m_mthBindEmployeeSign(m_cmdFromDoctor, txtFromDoctor, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
        }
Пример #23
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public frmFirstIllnessNote()
 {
     //
     // Windows 窗体设计器支持所必需的
     //
     InitializeComponent();
     //指明医生工作站表单
     intFormType        = 1;
     cmdConfirm.Visible = false;
     // 设置RichTextBox属性。(右键菜单、用户姓名、用户ID、输入字体颜色,双画线颜色)
     m_mthSetRichTextBoxAttribInControl(this);
     //签名常用值
     m_objSign = new clsEmrSignToolCollection();
     //m_mthBindEmployeeSign(按钮,签名框,医生1or护士2,身份验证trueorfalse);
     m_objSign.m_mthBindEmployeeSign(m_cmdEmployeeSign, lsvSign, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
 }
Пример #24
0
        public frmBedCardManage()
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();

            m_mthIniti();
            //new clsCommonUseToolCollection(this).m_mthBindEmployeeSign(new Control[]{this.m_cmdManageDoc,this.m_cmdChargeDoc },new Control[]{this.m_txtManageDoc,this.m_txtChargeDoc},new int[]{1,1});

            //签名常用值
            m_objSign = new clsEmrSignToolCollection();
            //m_mthBindEmployeeSign(按钮,签名框,医生1or护士2,身份验证trueorfalse);
            m_objSign.m_mthBindEmployeeSign(m_cmdManageDoc, m_txtManageDoc, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
            m_objSign.m_mthBindEmployeeSign(m_cmdChargeDoc, m_txtChargeDoc, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
        }
Пример #25
0
        public frmEMR_PullDeliverRecord()
        {
            InitializeComponent();
            //指明医生工作站表单
            intFormType = 1;
            m_mthSetRichTextBoxAttribInControl(this);

            #region 电子签名
            m_objSign = new clsEmrSignToolCollection();
            m_objSign.m_mthBindEmployeeSign(m_cmdRecorder, txtSign, 1, true, clsEMRLogin.LoginInfo.m_strEmpID);
            // m_objSign.m_mthBindEmployeeSign(m_cmdOperator, m_txtOperator, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
            m_objSign.m_mthBindEmployeeSign(m_cmdAssistant, m_lsvAssistant, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
            // m_objSign.m_mthBindEmployeeSign(m_cmdAnaesthetist, m_txtAnaesthetist, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
            m_objSign.m_mthBindEmployeeSign(m_cmdOperator, m_lsvAction, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
            m_objSign.m_mthBindEmployeeSign(m_cmdAnaesthetist, m_lismazui, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
            #endregion
        }
Пример #26
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public frmValidateByDirector(int intFormType, string strDeptID)
 {
     InitializeComponent();
     BlnValidateResult = false;
     //签名常用值
     m_objSign = new clsEmrSignToolCollection();
     if (intFormType == 1)
     {
         //m_mthBindEmployeeSign(按钮,签名框,主任医师10or护士长20,身份验证trueorfalse);
         m_objSign.m_mthBindEmployeeSign(btnDirector, txtDirectror, 10, strDeptID, true);
     }
     else
     {
         //m_mthBindEmployeeSign(按钮,签名框,主任医师10or护士长20,身份验证trueorfalse);
         m_objSign.m_mthBindEmployeeSign(btnDirector, txtDirectror, 20, strDeptID, true);
     }
 }
Пример #27
0
        public frmGeneralNurseRecord()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();
            //指明护士工作站表单
            intFormType = 2;
            // TODO: Add any initialization after the InitializeComponent call
            m_mthSetRichTextBoxAttribInControl(this);

            m_objSign = new clsEmrSignToolCollection();

            //可以指定员工ID如
            m_objSign.m_mthBindEmployeeSign(m_cmbsign, txtSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);


            m_mthInitThreeMeasureEvent();
        }
Пример #28
0
        /// <summary>
        /// 催产素静脉点滴观察表(编辑窗体)
        /// </summary>
        public frmOXTIntravenousDripCon()
        {
            InitializeComponent();

            //签名常用值


            m_dtpCreateDate.Enabled = true;

            m_objSign = new clsEmrSignToolCollection();
            //可以指定员工ID如


            m_objSign.m_mthBindEmployeeSign(m_cmdSign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);
            m_mthSetRichTextBoxAttribInControl(this);
            m_mthThisAddRichTextInfo(this);
        }
Пример #29
0
        /// <summary>
        /// 构造函数
        /// </summary>
        public frmMiniBooldSugarContent(bool blnAdd)
        {
            InitializeComponent();
            //指明护士工作站表单
            intFormType = 2;
            //签名常用值
            m_objSign = new clsEmrSignToolCollection();

            //m_mthBindEmployeeSign(按钮,签名框,医生1or护士2,身份验证trueorfalse,登录员工);
            m_objSign.m_mthBindEmployeeSign(m_cmbsign, txtSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);

            //标识表单操作
            blnAddRecord = blnAdd;

            //初始化richtextbox控件
            m_mthSetRichTextBoxAttribInControl(this);
        }
Пример #30
0
        /// <summary>
        /// Init
        /// </summary>
        void Init()
        {
            try
            {
                clsPublic.PlayAvi("请稍候...");
                this.lblPatName.Text   = patVo.m_strPatientName;
                this.lblAreaName.Text  = patVo.m_strAreaName;
                this.lblBedNo.Text     = patVo.m_strBedName;
                this.lblIpNo.Text      = patVo.m_strInHospitalNo;
                this.lblSex.Text       = patVo.m_strSex;
                this.lblAge.Text       = patVo.m_strAge;
                this.dtpApplyDate.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm");

                DataTable dt = null;
                clsOperationRequisitionService_Oracle svc1 = (clsOperationRequisitionService_Oracle)clsObjectGenerator.objCreatorObjectByType(typeof(clsOperationRequisitionService_Oracle));
                svc1.m_lngQueryDiagnosis(patVo.m_strPatientID, out dt);
                svc1 = null;
                if (dt != null && dt.Rows.Count > 0)
                {
                    DataView dv = dt.DefaultView;
                    dv.Sort  = "inpatient_dat desc";
                    diagDesc = dv[0]["primarydiagnoseall"].ToString().Trim();
                }

                clsEmrSignToolCollection tools = new clsEmrSignToolCollection();
                tools.m_mthBindEmployeeSign(this.btnApplyDoct, this.txtApplyDoct, 1, false);
                tools.m_mthBindEmployeeSign(this.btnConfirmDoct, this.txtConfirmDoct, 1, false);

                GetHistory();
                New();

                // 申请、审核
                this.tsbSave.Enabled        = (this.bizType == 0 ? true : false);
                this.tsbDel.Enabled         = (this.bizType == 0 ? true : false);
                this.tsbConfirm.Enabled     = (this.bizType == 0 ? false : true);
                this.txtConfirmDesc.Enabled = (this.bizType == 0 ? false : true);
                this.txtConfirmDoct.Enabled = (this.bizType == 0 ? false : true);
                this.btnConfirmDoct.Enabled = (this.bizType == 0 ? false : true);
                this.dtpConfirmDate.Enabled = (this.bizType == 0 ? false : true);
            }
            finally
            {
                clsPublic.CloseAvi();
            }
        }