示例#1
0
        /// <summary>
        /// 重载构造
        /// </summary>
        /// <param name="app"></param>
        /// <param name="operatetype"></param>
        /// <param name="diagcode"></param>
        /// <param name="statusid"></param>
        /// <param name="admitinfo"></param>
        /// <param name="statusIDOut"></param>
        /// <param name="diagnosisNo"></param>
        /// <param name="mainpageNo"></param>
        public IemNewDiagInfoForm(IEmrHost app, string operatetype, string diagcode, string statusid, string admitinfo, string statusIDOut, int diagnosisNo, int mainpageNo)
        {
            try
            {
                InitializeComponent();
                m_App = app;
                InitLookUpEditor();

                InitInHosPatiResult();
                InitSubInHosPatiResult();
                InitOutHosPatiResult();

                m_DiagnosisNo = diagnosisNo;
                m_MainpageNo  = mainpageNo;
                m_OPETYPE     = operatetype;
                m_DIAGCODE    = diagcode;
                m_STATUSID    = statusid;
                m_AdmitInfo   = admitinfo;
                m_StatusIDOut = statusIDOut;
                BridFormValue(m_OPETYPE, m_DIAGCODE, m_STATUSID, m_AdmitInfo, m_StatusIDOut);

                IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
                string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
                XmlDocument       doc    = new XmlDocument();
                doc.LoadXml(cansee);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
示例#2
0
        private void UCIemDiagnose_Load(object sender, EventArgs e)
        {
            //m_SqlHelper = DataAccessFactory.DefaultDataAccess;
            //InitLookUpEditor();
            #if DEBUG
            #else
            //HideSbutton();
            #endif
            IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
            string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
            XmlDocument       doc    = new XmlDocument();
            doc.LoadXml(cansee);
            if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "0")//不可见
            {
                CanSEEControl = "0";
            }
            if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "1")//可见
            {
                CanSEEControl = "1";
            }

            //固定编码员 add by cyq 2012-11-23
            string encoder = GetFixedEncoder();
            if (!string.IsNullOrEmpty(encoder.Trim()))
            {
                lueBmy.CodeValue = encoder;
                lueBmy.Enabled   = false;
            }
            else
            {
                lueBmy.Enabled = true;
            }
        }
示例#3
0
        /// <summary>
        /// 确定事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_OK_Click(object sender, EventArgs e)
        {
            try
            {
                //设置当前病人(修复m_App病人丢失问题)
                if (null == m_App || null == m_App.CurrentPatientInfo || m_App.CurrentPatientInfo.NoOfFirstPage.ToString() != m_IemInfo.IemBasicInfo.NoOfInpat)
                {
                    CurrentInpatient = DS_SqlService.GetPatientInfo(m_IemInfo.IemBasicInfo.NoOfInpat);
                }
                else
                {
                    CurrentInpatient = m_App.CurrentPatientInfo;
                }

                GetUI();
                if (null != CurrentInpatient)
                {
                    CurrentInpatient.ReInitializeAllProperties();
                }
                IemMainPageManger manger = new IemMainPageManger(m_App, CurrentInpatient);
                manger.SaveData(m_IemInfo);

                //add by cyq 2012-12-05 病案室人员编辑后状态改为已归档
                if (editFlag)
                {
                    DS_BaseService.SetRecordsRebacked(int.Parse(CurrentInpatient.NoOfFirstPage.ToString().Trim()));
                }
            }
            catch (Exception ex)
            {
                MyMessageBox.Show(1, ex);
            }
        }
示例#4
0
 /// <summary>
 /// 获取固定编码员工号(配置)
 /// <auth>Yanqiao.Cai</auth>
 /// <date>2011-11-23</date>
 /// </summary>
 public string GetFixedEncoder()
 {
     try
     {
         IemMainPageManger IemM          = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
         string            encoder       = string.Empty;
         string            encoderConfig = IemM.GetConfigValueByKey("FixedEncoder");
         if (!string.IsNullOrEmpty(encoderConfig.Trim()))
         {
             if (encoderConfig.Contains(","))
             {
                 string[] str = encoderConfig.Split(',');
                 encoder = str[0];
             }
             else
             {
                 encoder = encoderConfig;
             }
             //员工工号不满6位,则不足6位
             if (!string.IsNullOrEmpty(encoder.Trim()) && encoder.Length < 6)
             {
                 int length = encoder.Length;
                 for (int i = 0; i < 6 - length; i++)
                 {
                     encoder = "0" + encoder;
                 }
             }
         }
         return(encoder);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
示例#5
0
        public new void Load(IEmrHost app)
        {
            m_Host = app;
            if (!string.IsNullOrEmpty(CurrentNoofinpat))
            {
                CurrentInpatient = new Common.Eop.Inpatient(Convert.ToDecimal(CurrentNoofinpat));
            }
            else if (m_Host.CurrentPatientInfo != null)
            {
                CurrentInpatient = m_Host.CurrentPatientInfo;
            }
            else
            {
                return;
            }
            CurrentInpatient.ReInitializeAllProperties();

            manger = new IemMainPageManger(m_Host, CurrentInpatient);
            info   = manger.GetIemInfo();

            LoadForm();

            //病案室人员拥有编辑病案首页的权限(未归档病历)
            InitFirstPageEditFlag(null == CurrentInpatient ? "" : CurrentInpatient.NoOfFirstPage.ToString());
            if (editFlag)
            {
                SetButtonsEditState(true);
            }
        }
示例#6
0
        public IemNewDiagInfoForm(IEmrHost app, string operatetype, string diagcode, string statusid, string admitinfo, string morphoicd, string statusIDOut, int diagnosisNo, int mainpageNo)
        {
            try
            {
                InitializeComponent();
                m_SqlHelper = DataAccessFactory.DefaultDataAccess;
                m_App       = app;
                InitLookUpEditor();
                InitlueMorpho();
                InitInHosPatiResult();
                InitSubInHosPatiResult();
                InitOutHosPatiResult();

                m_DiagnosisNo = diagnosisNo;
                m_MainpageNo  = mainpageNo;
                m_OPETYPE     = operatetype;
                m_DIAGCODE    = diagcode;
                m_STATUSID    = statusid;
                m_AdmitInfo   = admitinfo;
                m_Morphoicd   = morphoicd; //add by jxh
                m_StatusIDOut = statusIDOut;
                BridFormValue(m_OPETYPE, m_DIAGCODE, m_STATUSID, m_AdmitInfo, m_Morphoicd, m_StatusIDOut);

                IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
                string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
                XmlDocument       doc    = new XmlDocument();
                doc.LoadXml(cansee);
            }
            catch (Exception ex)
            {
                DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex);
            }
        }
示例#7
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="app">插件接口</param>
        /// <param name="operatetype">操作方式</param>
        /// <param name="diagcode">诊断的ICD编码</param>
        /// <param name="statusid">诊断结果(入院病情)</param>
        /// <param name="admitinfo">子入院病情</param>
        /// <param name="statusIdOut">出院情况</param>
        public IemNewDiagInfoForm(IEmrHost app, string operatetype, string diagcode, string statusid, string admitinfo, string statusIdOut)
        {
            try
            {
                InitializeComponent();
                m_App = app;
                InitLookUpEditor();

                InitInHosPatiResult();
                InitSubInHosPatiResult();
                InitOutHosPatiResult();

                m_OPETYPE     = operatetype;
                m_DIAGCODE    = diagcode;
                m_STATUSID    = statusid;
                m_AdmitInfo   = admitinfo;
                m_StatusIDOut = statusIdOut;
                BridFormValue(m_OPETYPE, m_DIAGCODE, m_STATUSID, m_AdmitInfo);

                IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
                string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
                XmlDocument       doc    = new XmlDocument();
                doc.LoadXml(cansee);
            }
            catch (Exception ex)
            {
                DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex);
            }
        }
示例#8
0
        /// <summary>
        /// Modify by xlb
        /// 根据扩展表是否有记录来设置是否隐藏按钮
        /// 2013-06-07
        /// </summary>
        private void ReLocationEditButton()
        {
            btnBaseInfo.Height   = Convert.ToInt32(baseInfoHeight * GetPageHeight());
            btnBaseInfo.Location = new Point(pictureBox1.Location.X - btnBaseInfo.Width, pictureBox1.Location.Y);

            btnDialogInfo.Height   = Convert.ToInt32(dialogInfoHeight * GetPageHeight());
            btnDialogInfo.Location = new Point(pictureBox1.Location.X - btnBaseInfo.Width, pictureBox1.Location.Y + btnBaseInfo.Height);


            btnOperInfo.Height   = Convert.ToInt32(operInfoHeight * GetPageHeight());
            btnOperInfo.Location = new Point(pictureBox2.Location.X - btnBaseInfo.Width, pictureBox2.Location.Y);
            if (manger == null)
            {
                manger = new IemMainPageManger(m_Host, CurrentInpatient);
            }
            if (manger.SetExetionButton())/*扩展维护表有记录则显示按钮否则隐藏编辑按钮*/
            {
                btnFeeInfo.Height   = Convert.ToInt32(feeInfoHeight * GetPageHeight());
                btnFeeInfo.Location = new Point(pictureBox2.Location.X - btnBaseInfo.Width, pictureBox2.Location.Y + btnOperInfo.Height);
                btnExcInfo.Height   = Convert.ToInt32(excInfoHeight * GetPageHeight());
                btnExcInfo.Location = new Point(pictureBox2.Location.X - btnBaseInfo.Width, pictureBox2.Location.Y + btnOperInfo.Height + btnFeeInfo.Height);
            }
            else
            {
                btnExcInfo.Visible  = false;
                btnFeeInfo.Height   = Convert.ToInt32((feeInfoHeight + excInfoHeight) * GetPageHeight());
                btnFeeInfo.Location = new Point(pictureBox2.Location.X - btnFeeInfo.Width, pictureBox2.Location.Y + btnOperInfo.Height);
            }
        }
示例#9
0
        private Inpatient CurrentInpatient;//add by ywk
        private void btn_OK_Click(object sender, EventArgs e)
        {
            ((ShowUC)this.Parent).Close(true, m_IemInfo);
            //点击确认按钮就将数据更新到数据库
            CurrentInpatient = m_App.CurrentPatientInfo;
            CurrentInpatient.ReInitializeAllProperties();
            IemMainPageManger manger = new IemMainPageManger(m_App, CurrentInpatient);

            manger.SaveData(m_IemInfo);
        }
示例#10
0
        private Inpatient CurrentInpatient;//add by ywk
        private void btn_OK_Click(object sender, EventArgs e)
        {
            GetUI();
            ((ShowUC)this.Parent).Close(true, m_IemInfo);
            //病案首页费用,确认后加到电子病历的表中 add by ywk 2012年10月16日 18:41:57
            CurrentInpatient = m_App.CurrentPatientInfo;
            CurrentInpatient.ReInitializeAllProperties();
            IemMainPageManger manger = new IemMainPageManger(m_App, CurrentInpatient);

            manger.SaveData(m_IemInfo);
        }
示例#11
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            manger = new IemMainPageManger(m_Host);
            info   = manger.GetIemInfo();
            util   = new DrawMainPageUtil(info);

            pictureBox1.BackgroundImage       = util.MF1;
            pictureBox1.BackgroundImageLayout = ImageLayout.Stretch;

            pictureBox2.BackgroundImage       = util.MF2;
            pictureBox2.BackgroundImageLayout = ImageLayout.Stretch;
        }
示例#12
0
 /// <summary>
 /// 保存事件
 /// 保存后不关闭窗体
 /// <auth>Modify by xlb</auth>
 /// <date>2013-05-27</date>
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btn_OK_Click(object sender, EventArgs e)
 {
     try
     {
         GetUI();
         IemMainPageManger.SaveIemFeeZy(m_IemInfo.IemFeeInfo);
         //((ShowUC)this.Parent).Close(true, m_IemInfo);
     }
     catch (Exception ex)
     {
         MyMessageBox.Show(1, ex);
     }
 }
示例#13
0
        /// <summary>
        /// 根据跳转来传来的状态值,控制此页面的显示情况
        /// add by ywk
        /// </summary>
        /// <param name="operatetype"></param>
        private void BridFormValue(string operatetype, string diagcode, string statusid, string admitinfo, string morphoicd, string statusIDOut)
        {
            if (operatetype == "add")
            {
                this.lueOutDiag.CodeValue             = "";
                this.lue_inHosPatiResult.EditValue    = string.Empty;
                this.lue_subInHosPatiResult.EditValue = string.Empty;
            }
            if (operatetype == "edit")
            {
                if (!string.IsNullOrEmpty(diagcode))
                {
                    lueOutDiag.CodeValue = diagcode;
                }
                if (!string.IsNullOrEmpty(morphoicd))   //add by jxh
                {
                    lueMorpho.CodeValue = morphoicd;
                }
                if (!string.IsNullOrEmpty(statusid))
                {
                    this.lue_inHosPatiResult.EditValue  = statusid;
                    this.lue_outHosPatiResult.EditValue = statusIDOut;

                    //如果上级页面传来的是有,就显示子项目的几个控件 add by ywk 2012年7月26日15:09:15
                    if (statusid == "1")
                    {
                        CanSeeContorl = "1";
                        lue_subInHosPatiResult.Visible = true;
                    }

                    if (!string.IsNullOrEmpty(admitinfo))
                    {
                        lue_subInHosPatiResult.EditValue = admitinfo;
                    }
                }
                //编辑状态进来。带过来几个诊断的符合情况
                #region 控制诊断符合情况的复选框
                IemMainPageManger IemM       = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
                DataTable         DTIemDiag  = IemM.GetIemInfo().IemDiagInfo.OutDiagTable;
                DataTable         NewDt      = DTIemDiag.Clone();
                DataRow[]         SpliteRows = DTIemDiag.Select("DIAGNOSIS_CODE='" + diagcode + "'");
                if (SpliteRows.Length > 0)
                {
                    for (int i = 0; i < SpliteRows.Length; i++)
                    {
                        NewDt.ImportRow(SpliteRows[i]);
                    }
                }
                #endregion
            }
        }
示例#14
0
        private void LoadForm2()
        {
            manger                      = new IemMainPageManger(m_Host, CurrentInpatient);
            util                        = new DrawMainPageUtil(info);
            ma                          = util.GetPrintImage();
            pictureBox1.Width           = GetPageWidth();
            pictureBox1.Height          = GetPageHeight();
            pictureBox2.Width           = GetPageWidth();
            pictureBox2.Height          = GetPageHeight();
            pictureBox1.BackgroundImage = ma[0];
            pictureBox2.BackgroundImage = ma[1];

            ReLocationPicture();
        }
示例#15
0
 /// <summary>
 /// 确定事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btn_OK_Click(object sender, EventArgs e)
 {
     try
     {
         GetUI();
         CurrentInpatient = m_App.CurrentPatientInfo;
         CurrentInpatient.ReInitializeAllProperties();
         IemMainPageManger manger = new IemMainPageManger(m_App, CurrentInpatient);
         manger.SaveData(m_IemInfo);
         btn_Close_Click(sender, e);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#16
0
        private void UCIemOperInfo_Load(object sender, EventArgs e)
        {
            IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
            string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
            XmlDocument       doc    = new XmlDocument();

            doc.LoadXml(cansee);
            if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "0")//不可见
            {
                CanSEEControl = "0";
            }
            if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "1")//可见
            {
                CanSEEControl = "1";
            }
        }
示例#17
0
        private void LoadForm2()
        {
            manger = new IemMainPageManger(m_Host, CurrentInpatient);
            DeleteMetaFile();
            util = new DrawMainPageUtil(info);

            pictureBox1.Width  = GetPageWidth();
            pictureBox1.Height = GetPageHeight();
            pictureBox2.Width  = GetPageWidth();
            pictureBox2.Height = GetPageHeight();

            pictureBox1.BackgroundImage = util.MF1;
            pictureBox2.BackgroundImage = util.MF2;

            ReLocationPicture();
            BindParentFormCloseEvent();
        }
示例#18
0
        private Inpatient CurrentInpatient;//add by ywk
        /// <summary>
        /// edit by xlb 2013-01-23
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_OK_Click(object sender, EventArgs e)
        {
            try
            {
                string message = "";
                bool   isSuit  = Validate(ref message);
                if (!isSuit)
                {
                    //throw new Exception(message);//在这抛异常,岂不是抛出了系统级,应抛出信息为message
                    //edit by ywk 2013年2月26日8:42:25
                    DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(message);
                    return;
                }
                //设置当前病人(修复m_App病人丢失问题)
                if (null == m_App || null == m_App.CurrentPatientInfo || m_App.CurrentPatientInfo.NoOfFirstPage.ToString() != m_IemInfo.IemBasicInfo.NoOfInpat)
                {
                    CurrentInpatient = DS_SqlService.GetPatientInfo(m_IemInfo.IemBasicInfo.NoOfInpat);
                }
                else
                {
                    CurrentInpatient = m_App.CurrentPatientInfo;
                }

                GetUI();
                //edit by 2012-12-20 张业兴 关闭弹出框只关闭提示框
                //((ShowUC)this.Parent).Close(true, m_IemInfo);
                //点击确认按钮就将数据更新到数据库
                //CurrentInpatient = m_App.CurrentPatientInfo;
                if (null != CurrentInpatient)
                {
                    CurrentInpatient.ReInitializeAllProperties();
                }
                IemMainPageManger manger = new IemMainPageManger(m_App, CurrentInpatient);
                manger.SaveData(m_IemInfo);

                //add by cyq 2012-12-05 病案室人员编辑后状态改为已归档
                if (editFlag)
                {
                    DS_BaseService.SetRecordsRebacked(int.Parse(CurrentInpatient.NoOfFirstPage.ToString().Trim()));
                }
            }
            catch (Exception ex)
            {
                DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex);
            }
        }
示例#19
0
        private Inpatient CurrentInpatient;//add by ywk

        /// <summary>
        /// 保存事件保存数据关闭窗体
        /// Modify by xlb 2013-05-27
        /// 保存不关闭窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_OK_Click(object sender, EventArgs e)
        {
            try
            {
                GetUI();
                //((ShowUC)this.Parent).Close(true, m_IemInfo);

                //点击确认按钮就将数据更新到数据库
                CurrentInpatient = m_App.CurrentPatientInfo;
                CurrentInpatient.ReInitializeAllProperties();
                IemMainPageManger manger = new IemMainPageManger(m_App, CurrentInpatient);
                manger.SaveData(m_IemInfo);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
示例#20
0
        public new void Load(IYidanEmrHost app)
        {
            m_Host = app;
            if (!string.IsNullOrEmpty(CurrentNoofinpat))
            {
                CurrentInpatient = new Common.Eop.Inpatient(Convert.ToDecimal(CurrentNoofinpat));
            }
            else if (m_Host.CurrentPatientInfo != null)
            {
                CurrentInpatient = m_Host.CurrentPatientInfo;
            }
            else
            {
                return;
            }
            CurrentInpatient.ReInitializeAllProperties();

            manger = new IemMainPageManger(m_Host, CurrentInpatient);
            info   = manger.GetIemInfo();
            LoadForm();
        }
示例#21
0
        /// <summary>
        /// 控件是否显示
        /// <auth>Yanqiao.Cai</auth>
        /// <date>2011-10-17</date>
        /// </summary>
        private void InitUIShowOrHide()
        {
            IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
            string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
            XmlDocument       doc    = new XmlDocument();

            doc.LoadXml(cansee);
            controlEnableFlag = doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "1" ? true : false;
            if (controlEnableFlag)//可见
            {
                labelControl8.Visible      = true;
                labelControl9.Visible      = true;
                labelControl10.Visible     = true;
                labelControl12.Visible     = true;
                labelControl13.Visible     = true;
                lueISChooseDate.Visible    = true;
                lueIsClearOpe.Visible      = true;
                lueISGanran.Visible        = true;
                lueAnesthesiaLevel.Visible = true;
                lueComplications.Visible   = true;
                this.Height = 275;

                BindAnesthesiaLevel();
                BindComplications();
            }
            else
            {
                labelControl8.Visible      = false;
                labelControl9.Visible      = false;
                labelControl10.Visible     = false;
                labelControl12.Visible     = false;
                labelControl13.Visible     = false;
                lueISChooseDate.Visible    = false;
                lueIsClearOpe.Visible      = false;
                lueISGanran.Visible        = false;
                lueAnesthesiaLevel.Visible = false;
                lueComplications.Visible   = false;
                this.Height = 230;
            }
        }
示例#22
0
 /// <summary>
 /// 窗体加载事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void UCIemOperInfo_Load(object sender, EventArgs e)
 {
     try
     {
         IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
         string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
         XmlDocument       doc    = new XmlDocument();
         doc.LoadXml(cansee);
         if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "0")//不可见
         {
             CanSEEControl = "0";
         }
         if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "1")//可见
         {
             CanSEEControl = "1";
         }
         this.ActiveControl = btnAddOperation;
     }
     catch (Exception ex)
     {
         MyMessageBox.Show(1, ex);
     }
 }
示例#23
0
        private Inpatient CurrentInpatient;//add by ywk

        /// <summary>
        /// 确定事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_OK_Click(object sender, EventArgs e)
        {
            try
            {
                //设置当前病人(修复m_App病人丢失问题)
                if (null == m_App || null == m_App.CurrentPatientInfo || m_App.CurrentPatientInfo.NoOfFirstPage.ToString() != m_IemInfo.IemBasicInfo.NoOfInpat)
                {
                    CurrentInpatient = DS_SqlService.GetPatientInfo(m_IemInfo.IemBasicInfo.NoOfInpat);
                }
                else
                {
                    CurrentInpatient = m_App.CurrentPatientInfo;
                }

                GetUI();
                //edit by 2012-12-20 张业兴 关闭弹出框只关闭提示框
                //((ShowUC)this.Parent).Close(true, m_IemInfo);
                //病案首页费用,确认后加到电子病历的表中 add by ywk 2012年10月16日 18:41:57
                //CurrentInpatient = m_App.CurrentPatientInfo;
                if (null != CurrentInpatient)
                {
                    CurrentInpatient.ReInitializeAllProperties();
                }
                IemMainPageManger manger = new IemMainPageManger(m_App, CurrentInpatient);
                manger.SaveData(m_IemInfo);

                //add by cyq 2012-12-05 病案室人员编辑后状态改为已归档
                if (editFlag)
                {
                    DS_BaseService.SetRecordsRebacked(int.Parse(CurrentInpatient.NoOfFirstPage.ToString().Trim()));
                }
            }
            catch (Exception ex)
            {
                DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex);
            }
        }
示例#24
0
        private Inpatient CurrentInpatient;//add by ywk
        private void btn_OK_Click(object sender, EventArgs e)
        {
            try
            {
                //设置当前病人(修复m_App病人丢失问题)
                if (null == m_App || null == m_App.CurrentPatientInfo || m_App.CurrentPatientInfo.NoOfFirstPage.ToString() != m_IemInfo.IemBasicInfo.NoOfInpat)
                {
                    CurrentInpatient = DS_SqlService.GetPatientInfo(m_IemInfo.IemBasicInfo.NoOfInpat);
                }
                else
                {
                    CurrentInpatient = m_App.CurrentPatientInfo;
                }

                //edit by 2012-12-20 张业兴 关闭弹出框只关闭提示框
                //((ShowUC)this.Parent).Close(true, m_IemInfo);
                //点击确认按钮就将数据更新到数据库
                //CurrentInpatient = m_App.CurrentPatientInfo;
                if (null != CurrentInpatient)
                {
                    CurrentInpatient.ReInitializeAllProperties();
                }
                IemMainPageManger manger = new IemMainPageManger(m_App, CurrentInpatient);
                manger.SaveData(m_IemInfo);

                //add by cyq 2012-12-05 病案室人员编辑后状态改为已归档
                if (editFlag)
                {
                    DS_BaseService.SetRecordsRebacked(int.Parse(CurrentInpatient.NoOfFirstPage.ToString().Trim()));
                }
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
        }
示例#25
0
        private string m_Morphoicd;   //形态学诊断

        public IemNewDiagInfoForm(IEmrHost app, string operatetype, string diagcode, string statusid, string admitinfo)
        {
            try
            {
                InitializeComponent();
                m_SqlHelper = DataAccessFactory.DefaultDataAccess;
                m_App       = app;
                InitLookUpEditor();
                InitlueMorpho();      //add by jxh  绑定下拉控件
                InitInHosPatiResult();
                InitSubInHosPatiResult();
                InitOutHosPatiResult();

                m_OPETYPE   = operatetype;
                m_DIAGCODE  = diagcode;
                m_STATUSID  = statusid;
                m_AdmitInfo = admitinfo;
                BridFormValue(m_OPETYPE, m_DIAGCODE, m_STATUSID, m_AdmitInfo);

                IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
                string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
                XmlDocument       doc    = new XmlDocument();
                doc.LoadXml(cansee);
                if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "0")//不可见
                {
                    #region 注释
                    //labelControl4.Visible = false;
                    //chkMandZ0.Visible = false;
                    //chkMandZ1.Visible = false;
                    //chkMandZ2.Visible = false;
                    //chkMandZ3.Visible = false;
                    //labelControl5.Visible = false;
                    //chkRandC0.Visible = false;
                    //chkRandC1.Visible = false;
                    //chkRandC2.Visible = false;
                    //chkRandC3.Visible = false;
                    //labelControl6.Visible = false;
                    //labelControl7.Visible = false;
                    //labelControl8.Visible = false;
                    //labelControl9.Visible = false;
                    //chkSqAndSh0.Visible = false;
                    //chkSqAndSh1.Visible = false;
                    //chkSqAndSh2.Visible = false;
                    //chkSqAndSh3.Visible = false;
                    //chkLandB0.Visible = false;
                    //chkLandB1.Visible = false;
                    //chkLandB2.Visible = false;
                    //chkLandB3.Visible = false;
                    //chkRThree0.Visible = false;
                    //chkRThree1.Visible = false;
                    //chkRThree2.Visible = false;
                    //chkRThree3.Visible = false;
                    //chkFandB0.Visible = false;
                    //chkFandB1.Visible = false;
                    //chkFandB2.Visible = false;
                    //chkFandB3.Visible = false;
                    #endregion

                    #region 注释 by cyq 2012-12-25
                    //Point M = new Point(100, 100);
                    //Point M1 = new Point(280, 100);
                    //btnConfirm.Location = M;
                    //btnCancel.Location = M1;
                    #endregion
                }
                if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "1")//可见
                {
                    #region 注释
                    //labelControl4.Visible = true;
                    //chkMandZ0.Visible = true;
                    //chkMandZ1.Visible = true;
                    //chkMandZ2.Visible = true;
                    //chkMandZ3.Visible = true;
                    //labelControl5.Visible = true;
                    //chkRandC0.Visible = true;
                    //chkRandC1.Visible = true;
                    //chkRandC2.Visible = true;
                    //chkRandC3.Visible = true;
                    //labelControl6.Visible = true;
                    //labelControl7.Visible = true;
                    //labelControl8.Visible = true;
                    //labelControl9.Visible = true;
                    //chkSqAndSh0.Visible = true;
                    //chkSqAndSh1.Visible = true;
                    //chkSqAndSh2.Visible = true;
                    //chkSqAndSh3.Visible = true;
                    //chkLandB0.Visible = true;
                    //chkLandB1.Visible = true;
                    //chkLandB2.Visible = true;
                    //chkLandB3.Visible = true;
                    //chkRThree0.Visible = true;
                    //chkRThree1.Visible = true;
                    //chkRThree2.Visible = true;
                    //chkRThree3.Visible = true;
                    //chkFandB0.Visible = true;
                    //chkFandB1.Visible = true;
                    //chkFandB2.Visible = true;
                    //chkFandB3.Visible = true;
                    #endregion
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
示例#26
0
        private string m_AdmitInfo; //传来的子入院病情
        public IemNewDiagInfoForm(IEmrHost app, string operatetype, string diagcode, string statusid, string admitinfo)
        {
            InitializeComponent();
            m_App = app;
            InitLookUpEditor();
            m_OPETYPE   = operatetype;
            m_DIAGCODE  = diagcode;
            m_STATUSID  = statusid;
            m_AdmitInfo = admitinfo;
            BridFormValue(m_OPETYPE, m_DIAGCODE, m_STATUSID, m_AdmitInfo);

            IemMainPageManger IemM   = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
            string            cansee = IemM.GetConfigValueByKey("EmrInputConfig");
            XmlDocument       doc    = new XmlDocument();

            doc.LoadXml(cansee);
            if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "0")//不可见
            {
                //labelControl4.Visible = false;
                //chkMandZ0.Visible = false;
                //chkMandZ1.Visible = false;
                //chkMandZ2.Visible = false;
                //chkMandZ3.Visible = false;
                //labelControl5.Visible = false;
                //chkRandC0.Visible = false;
                //chkRandC1.Visible = false;
                //chkRandC2.Visible = false;
                //chkRandC3.Visible = false;
                //labelControl6.Visible = false;
                //labelControl7.Visible = false;
                //labelControl8.Visible = false;
                //labelControl9.Visible = false;
                //chkSqAndSh0.Visible = false;
                //chkSqAndSh1.Visible = false;
                //chkSqAndSh2.Visible = false;
                //chkSqAndSh3.Visible = false;
                //chkLandB0.Visible = false;
                //chkLandB1.Visible = false;
                //chkLandB2.Visible = false;
                //chkLandB3.Visible = false;
                //chkRThree0.Visible = false;
                //chkRThree1.Visible = false;
                //chkRThree2.Visible = false;
                //chkRThree3.Visible = false;
                //chkFandB0.Visible = false;
                //chkFandB1.Visible = false;
                //chkFandB2.Visible = false;
                //chkFandB3.Visible = false;
                Point M  = new Point(100, 100);
                Point M1 = new Point(280, 100);
                btnConfirm.Location = M;
                btnCancel.Location  = M1;
            }
            if (doc.GetElementsByTagName("IemPageContorlVisable")[0].InnerText == "1")//可见
            {
                //labelControl4.Visible = true;
                //chkMandZ0.Visible = true;
                //chkMandZ1.Visible = true;
                //chkMandZ2.Visible = true;
                //chkMandZ3.Visible = true;
                //labelControl5.Visible = true;
                //chkRandC0.Visible = true;
                //chkRandC1.Visible = true;
                //chkRandC2.Visible = true;
                //chkRandC3.Visible = true;
                //labelControl6.Visible = true;
                //labelControl7.Visible = true;
                //labelControl8.Visible = true;
                //labelControl9.Visible = true;
                //chkSqAndSh0.Visible = true;
                //chkSqAndSh1.Visible = true;
                //chkSqAndSh2.Visible = true;
                //chkSqAndSh3.Visible = true;
                //chkLandB0.Visible = true;
                //chkLandB1.Visible = true;
                //chkLandB2.Visible = true;
                //chkLandB3.Visible = true;
                //chkRThree0.Visible = true;
                //chkRThree1.Visible = true;
                //chkRThree2.Visible = true;
                //chkRThree3.Visible = true;
                //chkFandB0.Visible = true;
                //chkFandB1.Visible = true;
                //chkFandB2.Visible = true;
                //chkFandB3.Visible = true;
            }
        }
示例#27
0
        /// <summary>
        /// 根据跳转来传来的状态值,控制此页面的显示情况
        /// add by ywk
        /// </summary>
        /// <param name="operatetype"></param>
        private void BridFormValue(string operatetype, string diagcode, string statusid, string admitinfo)
        {
            if (operatetype == "add")
            {
                this.lueOutDiag.CodeValue             = "";
                this.lue_inHosPatiResult.EditValue    = string.Empty;
                this.lue_subInHosPatiResult.EditValue = string.Empty;
            }
            if (operatetype == "edit")
            {
                if (!string.IsNullOrEmpty(diagcode))
                {
                    lueOutDiag.CodeValue = diagcode;
                }
                if (!string.IsNullOrEmpty(statusid))
                {
                    this.lue_inHosPatiResult.EditValue = statusid;

                    //如果上级页面传来的是有,就显示子项目的几个控件 add by ywk 2012年7月26日15:09:15
                    if (statusid == "1")
                    {
                        CanSeeContorl = "1";
                        lue_subInHosPatiResult.Visible = true;
                        //labelControl1.Visible = true;
                        //chkAdmitInfo1.Visible = true;
                        //chkAdmitInfo2.Visible = true;
                        //chkAdmitInfo3.Visible = true;
                        //chkAdmitInfo4.Visible = true;
                    }

                    if (!string.IsNullOrEmpty(admitinfo))
                    {
                        lue_subInHosPatiResult.EditValue = admitinfo;
                    }
                }
                //编辑状态进来。带过来几个诊断的符合情况
                #region 控制诊断符合情况的复选框
                IemMainPageManger IemM       = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
                DataTable         DTIemDiag  = IemM.GetIemInfo().IemDiagInfo.OutDiagTable;
                DataTable         NewDt      = DTIemDiag.Clone();
                DataRow[]         SpliteRows = DTIemDiag.Select("DIAGNOSIS_CODE='" + diagcode + "'");
                if (SpliteRows.Length > 0)
                {
                    for (int i = 0; i < SpliteRows.Length; i++)
                    {
                        NewDt.ImportRow(SpliteRows[i]);
                    }
                }
                if (NewDt.Rows.Count > 0)
                {
                    //if (NewDt.Rows[0]["AdmitInfo"].ToString() == "1")
                    //{
                    //    chkAdmitInfo1.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["AdmitInfo"].ToString() == "2")
                    //{
                    //    chkAdmitInfo2.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["AdmitInfo"].ToString() == "3")
                    //{
                    //    chkAdmitInfo3.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["AdmitInfo"].ToString() == "4")
                    //{
                    //    chkAdmitInfo4.Checked = true;
                    //}
                    //门诊和住院
                    //if (NewDt.Rows[0]["MENANDINHOP"].ToString() == "0")
                    //{
                    //    chkMandZ0.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["MENANDINHOP"].ToString() == "1")
                    //{
                    //    chkMandZ1.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["MENANDINHOP"].ToString() == "2")
                    //{
                    //    chkMandZ2.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["MENANDINHOP"].ToString() == "3")
                    //{
                    //    chkMandZ3.Checked = true;
                    //}
                    ////入院和出院
                    //if (NewDt.Rows[0]["INHOPANDOUTHOP"].ToString() == "0")
                    //{
                    //    chkRandC0.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["INHOPANDOUTHOP"].ToString() == "1")
                    //{
                    //    chkRandC1.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["INHOPANDOUTHOP"].ToString() == "2")
                    //{
                    //    chkRandC2.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["INHOPANDOUTHOP"].ToString() == "3")
                    //{
                    //    chkRandC3.Checked = true;
                    //}
                    ////术前和术后
                    //if (NewDt.Rows[0]["BEFOREOPEANDAFTEROPER"].ToString() == "0")
                    //{
                    //    chkSqAndSh0.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["BEFOREOPEANDAFTEROPER"].ToString() == "1")
                    //{
                    //    chkSqAndSh1.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["BEFOREOPEANDAFTEROPER"].ToString() == "2")
                    //{
                    //    chkSqAndSh2.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["BEFOREOPEANDAFTEROPER"].ToString() == "3")
                    //{
                    //    chkSqAndSh3.Checked = true;
                    //}
                    ////临床和病;理
                    //if (NewDt.Rows[0]["LINANDBINGLI"].ToString() == "0")
                    //{
                    //    chkLandB0.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["LINANDBINGLI"].ToString() == "1")
                    //{
                    //    chkLandB1.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["LINANDBINGLI"].ToString() == "2")
                    //{
                    //    chkLandB2.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["LINANDBINGLI"].ToString() == "3")
                    //{
                    //    chkLandB3.Checked = true;
                    //}
                    ////入院三日内
                    //if (NewDt.Rows[0]["INHOPTHREE"].ToString() == "0")
                    //{
                    //    chkRThree0.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["INHOPTHREE"].ToString() == "1")
                    //{
                    //    chkRThree1.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["INHOPTHREE"].ToString() == "2")
                    //{
                    //    chkRThree2.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["INHOPTHREE"].ToString() == "3")
                    //{
                    //    chkRThree3.Checked = true;
                    //}
                    ////放射和病理
                    //if (NewDt.Rows[0]["FANGANDBINGLI"].ToString() == "0")
                    //{
                    //    chkFandB0.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["FANGANDBINGLI"].ToString() == "1")
                    //{
                    //    chkFandB1.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["FANGANDBINGLI"].ToString() == "2")
                    //{
                    //    chkFandB2.Checked = true;
                    //}
                    //if (NewDt.Rows[0]["FANGANDBINGLI"].ToString() == "3")
                    //{
                    //    chkFandB3.Checked = true;
                    //}
                }
                #endregion
            }
        }
示例#28
0
        private void LoadForm()
        {
            if (manger == null)
            {
                manger = new IemMainPageManger(m_Host, CurrentInpatient);
            }
            info = manger.GetIemInfo();
            DeleteMetaFile();
            util = new DrawMainPageUtil(info);

            pictureBox1.Width  = GetPageWidth();
            pictureBox1.Height = GetPageHeight();
            pictureBox2.Width  = GetPageWidth();
            pictureBox2.Height = GetPageHeight();

            pictureBox1.BackgroundImage = util.MF1;
            pictureBox2.BackgroundImage = util.MF2;

            pictureBox1.BackgroundImageLayout = ImageLayout.Stretch;
            pictureBox2.BackgroundImageLayout = ImageLayout.Stretch;

            ReLocationPicture();
            BindParentFormCloseEvent();

            if (this.Parent != null)
            {
                if (this.Parent.AccessibleName != null &&
                    this.Parent.AccessibleName.Trim() != "")   //父窗体的AccessibleName不为空则表示没有编辑的权限
                {
                    simpleButton1.Visible = false;
                    simpleButton2.Visible = false;
                    simpleButton3.Visible = false;
                    simpleButton4.Visible = false;
                    simpleButton5.Visible = false;
                    simpleButton6.Visible = false;
                }
            }

            Employee emp = new Employee(m_Host.User.Id);

            emp.ReInitializeProperties();
            DataHelper help    = new DataHelper();
            string     hoscode = help.GetConfigValueByKey("HosCode");

            if (hoscode == "1")
            {
                string static_save = help.GetStatic_SaveValue(info.IemBasicInfo.NoOfInpat);
                if (static_save == "1")
                {
                    simpleButton1.Enabled = false;
                    simpleButton2.Enabled = false;
                    simpleButton3.Enabled = false;
                    simpleButton4.Enabled = false;
                    simpleButton5.Enabled = false;
                    simpleButton6.Enabled = false;
                }
            }
            if (emp.Grade.Trim() != "")
            {
                DoctorGrade grade = (DoctorGrade)Enum.Parse(typeof(DoctorGrade), emp.Grade);
                if (grade == DoctorGrade.Nurse)
                {
                    simpleButton3.Enabled = false;
                    simpleButton4.Enabled = false;
                    simpleButton5.Enabled = false;
                    simpleButton6.Enabled = false;
                }
            }
            else
            {
                simpleButton1.Enabled = false;
                simpleButton2.Enabled = false;
                simpleButton3.Enabled = false;
                simpleButton4.Enabled = false;
                simpleButton5.Enabled = false;
                simpleButton6.Enabled = false;
            }
        }
示例#29
0
        private void FillUIInner()
        {
            #region
            //if (m_IemInfo.IemBasicInfo.Iem_Mainpage_NO == "")
            //{
            //    //to do 病患基本信息
            //}
            //else
            //{
            //出院诊断
            //DataTable dataTableOper = new DataTable();
            //foreach (Iem_Mainpage_Diagnosis im in m_IemInfo.IemDiagInfo)
            //{
            //    if (m_DiagInfoForm == null)
            //        m_DiagInfoForm = new IemNewDiagInfoForm(m_App);
            //    if (im.Diagnosis_Type_Id == 7 || im.Diagnosis_Type_Id == 8)
            //    {
            //        m_DiagInfoForm.IemOperInfo = im;
            //        DataTable dataTable = m_DiagInfoForm.DataOper;
            //        if (dataTableOper.Rows.Count == 0)
            //            dataTableOper = dataTable.Clone();
            //        foreach (DataRow row in dataTable.Rows)
            //        {
            //            dataTableOper.ImportRow(row);
            //        }
            //        //dataTableOper.AcceptChanges();
            //    }

            //}
            //DataTable dataTableOper = m_IemInfo.IemDiagInfo.OutDiagTable;//这种取值,进行编辑后再进入娶不到值
            IemMainPageManger IemM          = new IemMainPageManger(m_App, m_App.CurrentPatientInfo);
            DataTable         dataTableOper = IemM.GetIemInfo().IemDiagInfo.OutDiagTable;

            this.gridControl1.DataSource = null;
            this.gridControl1.BeginUpdate();
            if (dataTableOper.Select("Diagnosis_Type_Id = '7' or Diagnosis_Type_Id = '8'").Length != 0)
            {
                this.gridControl1.DataSource = dataTableOper.Select("Diagnosis_Type_Id = '7' or Diagnosis_Type_Id = '8'").CopyToDataTable();
            }
            this.gridControl1.EndUpdate();

            m_App.PublicMethod.ConvertGridDataSourceUpper(gridViewDiagnose);

            lueHurt_Toxicosis_Ele.CodeValue = m_IemInfo.IemDiagInfo.Hurt_Toxicosis_ElementID;

            txtPathologyName.Text = m_IemInfo.IemDiagInfo.Pathology_Diagnosis_Name;
            txtPathologyID.Text   = m_IemInfo.IemDiagInfo.Pathology_Diagnosis_ID;
            txtPathologySn.Text   = m_IemInfo.IemDiagInfo.Pathology_Observation_Sn;


            txtAllergicDrug.Text = m_IemInfo.IemDiagInfo.Allergic_Drug;
            if (m_IemInfo.IemDiagInfo.Allergic_Flag == "1")
            {
                chkAllergic1.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.Allergic_Flag == "2")
            {
                chkAllergic2.Checked = true;
            }

            if (m_IemInfo.IemBasicInfo.Autopsy_Flag == "1")
            {
                chkAutopsy1.Checked = true;
            }
            else if (m_IemInfo.IemBasicInfo.Autopsy_Flag == "2")
            {
                chkAutopsy2.Checked = true;
            }

            if (m_IemInfo.IemDiagInfo.BloodType == "1")
            {
                chkBlood1.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.BloodType == "2")
            {
                chkBlood2.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.BloodType == "3")
            {
                chkBlood3.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.BloodType == "4")
            {
                chkBlood4.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.BloodType == "5")
            {
                chkBlood5.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.BloodType == "6")
            {
                chkBlood6.Checked = true;
            }


            if (m_IemInfo.IemDiagInfo.Rh == "1")
            {
                chkRH1.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.Rh == "2")
            {
                chkRH2.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.Rh == "3")
            {
                chkRH3.Checked = true;
            }
            else if (m_IemInfo.IemDiagInfo.Rh == "4")
            {
                chkRH4.Checked = true;
            }


            foreach (DataRow im in dataTableOper.Rows)
            {
                if (im["Diagnosis_Type_Id"].ToString() == "13")
                {
                    this.lueOutDiag.CodeValue = im["Diagnosis_Code"].ToString() == "" ? "" : im["Diagnosis_Code"].ToString();
                }
                //else if (im["Diagnosis_Type_Id"].ToString() == "2")
                //    this.lueInDiag.CodeValue = im["Diagnosis_Code"].ToString() == "" ? "" : im["Diagnosis_Code"].ToString();
            }
            //如果dataTableOper为0,将门诊诊断的值赋给下拉框add by ywk 2012年6月15日 13:32:01
            if (dataTableOper.Rows.Count == 0 && !string.IsNullOrEmpty(m_IemInfo.IemDiagInfo.OutDiagID))
            {
                this.lueOutDiag.CodeValue = m_IemInfo.IemDiagInfo.OutDiagID;
            }

            lueKszr.CodeValue       = m_IemInfo.IemDiagInfo.Section_DirectorID;
            lueZrys.CodeValue       = m_IemInfo.IemDiagInfo.DirectorID;
            lueZzys.CodeValue       = m_IemInfo.IemDiagInfo.Vs_EmployeeID;
            lueZyys.CodeValue       = m_IemInfo.IemDiagInfo.Resident_EmployeeID;
            lueDuty_Nurse.CodeValue = m_IemInfo.IemDiagInfo.Duty_NurseID;
            luejxys.CodeValue       = m_IemInfo.IemDiagInfo.Refresh_EmployeeID;
            lueSxys.CodeValue       = m_IemInfo.IemDiagInfo.InterneID;
            lueBmy.CodeValue        = m_IemInfo.IemDiagInfo.Coding_UserID;
            //病案质量
            if (Convertmy.ToDecimal(m_IemInfo.IemDiagInfo.Medical_Quality_Id) == 1)
            {
                chkMedicalQuality1.Checked = true;
            }
            if (Convertmy.ToDecimal(m_IemInfo.IemDiagInfo.Medical_Quality_Id) == 2)
            {
                chkMedicalQuality2.Checked = true;
            }
            if (Convertmy.ToDecimal(m_IemInfo.IemDiagInfo.Medical_Quality_Id) == 3)
            {
                chkMedicalQuality3.Checked = true;
            }
            lueZkys.CodeValue = m_IemInfo.IemDiagInfo.Quality_Control_DoctorID;
            lueZkhs.CodeValue = m_IemInfo.IemDiagInfo.Quality_Control_NurseID;
            if (!String.IsNullOrEmpty(m_IemInfo.IemDiagInfo.Quality_Control_Date))
            {
                deZkDate.DateTime = Convert.ToDateTime(m_IemInfo.IemDiagInfo.Quality_Control_Date);
                //teZkDate.Time = Convert.ToDateTime(m_IemInfo.IemDiagInfo.Quality_Control_Date);
            }

            #endregion
        }