Example #1
0
 /// <summary>
 /// 加载病历内容
 /// </summary>
 private void LoadEmrContentNew()
 {
     try
     {
         if (!string.IsNullOrEmpty(nOofinpat) && !m_IsLoadedEmrContentNew)
         {
             m_UCEmrInputNew.PatientChangedByIEmrHost(Convert.ToDecimal(nOofinpat));
             m_UCEmrInputNew.HideBar();
             m_IsLoadedEmrContentNew = true;
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
        /// <summary>
        /// 加载病历
        /// edit by Yanqiao.Cai 2012-11-23
        /// 1、add try ... catch
        /// </summary>
        private void AddEmrInputNew()
        {
            try
            {
                WaitDialogForm m_WaitDialog = new WaitDialogForm("正在加载病人信息...", "请稍候");
                m_Host.ChoosePatient(Convert.ToDecimal(m_NoOfFirstPage));//切换病人
                DS_Common.HideWaitDialog(m_WaitDialog);

                m_UCEmrInputNew = new DrectSoft.Core.MainEmrPad.New.UCEmrInput(m_Host.CurrentPatientInfo, m_Host, floderState);
                m_UCEmrInputNew.SetVarData(m_Host);
                this.Controls.Add(m_UCEmrInputNew);
                m_UCEmrInputNew.HideBar();
                m_UCEmrInputNew.Dock = DockStyle.Fill;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #3
0
        private void AddEmrInputNew()
        {
            try
            {
                DS_Common.SetWaitDialogCaption(m_WaitDialog, "正在加载病人信息...");
                m_App.ChoosePatient(Convert.ToDecimal(m_noofinpat));//切换病人
                DS_Common.HideWaitDialog(m_WaitDialog);

                m_UCEmrInputNew = new DrectSoft.Core.MainEmrPad.New.UCEmrInput(m_App.CurrentPatientInfo, m_App, FloderState.None);
                m_UCEmrInputNew.SetVarData(m_App);
                this.panelControl1.Controls.Add(m_UCEmrInputNew);
                m_UCEmrInputNew.OnLoad();
                m_UCEmrInputNew.HideBar();
                m_UCEmrInputNew.Dock = DockStyle.Fill;
            }
            catch (Exception)
            {
                throw;
            }
        }
Example #4
0
        /// <summary>
        /// 加载病历
        /// </summary>
        private void AddEmrInputNew()
        {
            try
            {
                if (string.IsNullOrEmpty(m_NoOfFirstPage) || m_IsLoadedEmrContentNew)
                {
                    return;
                }
                m_Host.ChoosePatient(Convert.ToDecimal(m_NoOfFirstPage), FloderState.None.ToString());//切换病人

                m_UCEmrInputNew = new DrectSoft.Core.MainEmrPad.New.UCEmrInput(m_Host.CurrentPatientInfo, m_Host, FloderState.None);
                m_UCEmrInputNew.SetVarData(m_Host);
                xtraTabPageEmrContent.Controls.Add(m_UCEmrInputNew);
                m_UCEmrInputNew.OnLoad();
                m_UCEmrInputNew.HideBar();
                m_UCEmrInputNew.Dock    = DockStyle.Fill;
                m_IsLoadedEmrContentNew = true;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }