Exemplo n.º 1
0
        /// <summary>
        /// 检测是否已填住院诊断
        /// </summary>
        /// <param name="p_strRegisterID"></param>
        /// <returns></returns>
        public long m_lngCheckDiagnose()
        {
            long      lngRes   = 1;
            DataTable dtResult = new DataTable();
            clsDcl_YB objDcl   = new clsDcl_YB();

            objDcl.m_lngCheckDiagnose2(this.m_objViewer.strJslx, this.m_objViewer.strRegisterId, out dtResult);
            objDcl = null;
            if (dtResult != null && dtResult.Rows.Count > 0)
            {
                strCYZD = dtResult.Rows[0]["outhospitaldiagnose_right"].ToString();
                if (!string.IsNullOrEmpty(strCYZD))
                {
                    if (strCYZD.Length > 100)
                    {
                        strCYZD = strCYZD.Substring(0, 100);
                    }
                }
                if (dtResult.Rows[0][0].ToString().Length == 0)
                {
                    return(0);
                }
                else
                {
                    return(1);
                }
            }
            else
            {
                clsLogText log = new clsLogText();
                log.LogError("没有检测到出院诊断");
                return(0);
            }
        }
Exemplo n.º 2
0
        private void frmAdministrative_Load(object sender, EventArgs e)
        {
            clsDcl_YB ybDcl = new clsDcl_YB();

            DataSource = ybDcl.GetAdministrative();
            this.dgvData.DataSource = DataSource;
            ybDcl = null;
        }
Exemplo n.º 3
0
        private void btnOK_Click(object sender, EventArgs e)
        {
            lblykl.Text   = "";
            lblxkl.Text   = "";
            lblqrxkl.Text = "";
            string strOldPwd   = this.txtpws.Text.Trim();
            string strNewPwd   = this.txtNewpws.Text.Trim();
            string strNewPwd1  = this.txtCfNewpws.Text.Trim();
            bool   blUserType  = this.cmb_UserType.SelectedIndex == 1; //判断是否住院部编号
            string strUserType = "711014";                             //门诊部编号

            if (blUserType)
            {
                strUserType = "111014";
            }
            if (string.IsNullOrEmpty(strOldPwd))
            {
                lblykl.Text = "不能为空!";
                return;
            }
            else if (string.IsNullOrEmpty(strNewPwd))
            {
                lblxkl.Text = "不能为空!";
                return;
            }
            else if (string.IsNullOrEmpty(strNewPwd1))
            {
                lblqrxkl.Text = "不能为空!";
                return;
            }
            else if (!strNewPwd.Equals(strNewPwd1))
            {
                lblqrxkl.Text = "两次输入不一致!";
                return;
            }
            else
            {
                if (clsYBPublic_cs.m_lngUserPwsRevise(intThisPtr, strUserType, strOldPwd, strNewPwd) > 0)
                {
                    clsDcl_YB clsDclYB = new clsDcl_YB();
                    clsDclYB.m_lngHospitalUserLogin(strNewPwd, strUserType);
                    MessageBox.Show("密码修改成功!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Question);
                    this.Close();
                }
            }
        }
Exemplo n.º 4
0
 public clsCtl_YBUserRegister()
 {
     objDomain = new clsDcl_YB();
 }
Exemplo n.º 5
0
 public clsCtl_YBChargeAutoUpData()
 {
     objDomain = new clsDcl_YB();
 }
Exemplo n.º 6
0
 public clsCtl_YBItemsCorr()
 {
     objDomain = new clsDcl_YB();
 }
Exemplo n.º 7
0
 public clsCtl_YBChargeItems()
 {
     objDomain = new clsDcl_YB();
 }
Exemplo n.º 8
0
 public clsCtl_YBChargeMZ()
 {
     objDomain = new clsDcl_YB();
 }
Exemplo n.º 9
0
 public clsCtl_YBPatientInfo()
 {
     objDomain = new clsDcl_YB();
 }
Exemplo n.º 10
0
 public clsCtl_YBBillInfoMZ()
 {
     objDomain = new clsDcl_YB();
 }
Exemplo n.º 11
0
 public clsCtl_YBChargeInfoZY()
 {
     objDomain = new clsDcl_YB();
 }