/// <summary> /// 绑定出院未归档病历 /// </summary> private void LoadOutHospitalLock() { if (m_OutHospitalLock == null) { m_OutHospitalLock = new OutHospitalNoLock(m_app); } m_OutHospitalLock.Dock = DockStyle.Fill; xtraTabPageOutHospitalLock.Controls.Add(m_OutHospitalLock); xtraTabPageOutHospitalLock.PageVisible = true; m_OutHospitalLock.RefreshData(); xtraTabControl1.SelectedTabPage = xtraTabPageOutHospitalLock; }
/// <summary> /// 绑定出院未归档病历 /// </summary> private void LoadOutHospitalLock() { try { if (m_OutHospitalLock == null) { m_OutHospitalLock = new OutHospitalNoLock(m_app); } m_OutHospitalLock.Dock = DockStyle.Fill; xtraTabPageOutHospitalLock.Controls.Add(m_OutHospitalLock); xtraTabPageOutHospitalLock.PageVisible = true; m_OutHospitalLock.RefreshData(); xtraTabQcManager.SelectedTabPage = xtraTabPageOutHospitalLock; //关闭Tab页再重新选中上级的按钮,此处要重新加上TAb add by ywk xtraTabQcManager.TabPages.Add(xtraTabPageOutHospitalLock); } catch (Exception ex) { throw ex; } }
/// <summary> /// 双击菜单进行处理,加载用户控件 /// add by ywk 2012年10月22日 17:46:40 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void treeView1_DoubleClick(object sender, EventArgs e) { try { //treeView1.Nodes. if (treeView1.SelectedNode == null) { return; } string nodename = treeView1.SelectedNode.Name.ToString();//节点的Name //NodOutHosNoSubmit switch (nodename) { case "NodOutHosNoSubmit": //出院未提交患者 if (m_OutHospital == null) { m_OutHospital = new OutHospitalNoSubmit(m_app); } m_OutHospital.ResetControl(); m_OutHospital.Dock = DockStyle.Fill; xtraTabPageOutHospital.Controls.Add(m_OutHospital); xtraTabPageOutHospital.PageVisible = true; m_OutHospital.RefreshData(); xtraTabQcManager.SelectedTabPage = xtraTabPageOutHospital; xtraTabQcManager.TabPages.Add(xtraTabPageOutHospital); break; case "NoOutHosNoLock": //出院未归档病历 if (m_OutHospitalLock == null) { m_OutHospitalLock = new OutHospitalNoLock(m_app); } m_OutHospitalLock.ResetControl(); m_OutHospitalLock.Dock = DockStyle.Fill; xtraTabPageOutHospitalLock.Controls.Add(m_OutHospitalLock); xtraTabPageOutHospitalLock.PageVisible = true; m_OutHospitalLock.RefreshData(); xtraTabQcManager.SelectedTabPage = xtraTabPageOutHospitalLock; //关闭Tab页再重新选中上级的按钮,此处要重新加上Tab add by ywk xtraTabQcManager.TabPages.Add(xtraTabPageOutHospitalLock); break; case "NodOutMedicalScore": //病历评分统计 if (m_OutMedicalScore == null) { m_OutMedicalScore = new OutMedicalScore(m_app); } m_OutMedicalScore.ResetControl(); m_OutMedicalScore.Dock = DockStyle.Fill; xTabPageEmrScore.Controls.Add(m_OutMedicalScore); xTabPageEmrScore.PageVisible = true; //m_OutMedicalScore.RefreshData(); xtraTabQcManager.SelectedTabPage = xTabPageEmrScore; xtraTabQcManager.TabPages.Add(xTabPageEmrScore); break; case "NoQC_Die_Info": //死亡信息统计 if (m_QC_Die_Info == null) { m_QC_Die_Info = new QCDieInfo(m_app); } m_QC_Die_Info.ResetControl(); m_QC_Die_Info.Dock = DockStyle.Fill; xtraTabDieInfo.Controls.Add(m_QC_Die_Info); xtraTabDieInfo.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabDieInfo; xtraTabQcManager.TabPages.Add(xtraTabDieInfo); break; case "NoQC_Operat_Info": //手术信息统计 if (m_QC_Operat_Info == null) { m_QC_Operat_Info = new UcOperatInfo(m_app); } m_QC_Operat_Info.ResetControl(); m_QC_Operat_Info.Dock = DockStyle.Fill; xtraTabQCOperatInfo.Controls.Add(m_QC_Operat_Info); xtraTabQCOperatInfo.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabQCOperatInfo; xtraTabQcManager.TabPages.Add(xtraTabQCOperatInfo); break; case "NodQCRescueInfo": //抢救信息统计 if (m_QC_Rescue_Info == null) { m_QC_Rescue_Info = new UcRescueInfo(m_app); } m_QC_Rescue_Info.Dock = DockStyle.Fill; xtraTabQCRescueInfo.Controls.Add(m_QC_Rescue_Info); xtraTabQCRescueInfo.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabQCRescueInfo; xtraTabQcManager.TabPages.Add(xtraTabQCRescueInfo); break; case "NodeLostCat": //失分项目统计 if (m_QC_LostScoreCat == null) { m_QC_LostScoreCat = new QC_LostScoreCat(m_app); } m_QC_LostScoreCat.Dock = DockStyle.Fill; xtraTabPageLostCat.Controls.Add(m_QC_LostScoreCat); xtraTabPageLostCat.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabPageLostCat; xtraTabQcManager.TabPages.Add(xtraTabPageLostCat); break; case "Nodscore": //质控评分表 if (m_QC_ScoreRecord == null) { m_QC_ScoreRecord = new QC_ScoreRecord(m_app); } m_QC_ScoreRecord.Dock = DockStyle.Fill; xtraTabPageScore.Controls.Add(m_QC_ScoreRecord); xtraTabPageScore.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabPageScore; xtraTabQcManager.TabPages.Add(xtraTabPageScore); break; #region 去掉全院质控率,与科室质控率重复 edit by wyt 2012-11-08 //case "NodHospital_Rate"://全院病历质控率 // if (m_QcHospitalRate == null) // { // m_QcHospitalRate = new UcQcHospitalRate(m_app); // } // m_QcHospitalRate.Dock = DockStyle.Fill; // xtraTabHosRate.Controls.Add(m_QcHospitalRate); // xtraTabHosRate.PageVisible = true; // xtraTabQcManager.SelectedTabPage = xtraTabHosRate; // xtraTabQcManager.TabPages.Add(xtraTabHosRate); // break; #endregion case "NodDept_Rate": //科室病历质控率//替代全院质控率 edit by wyt 2012-11-08 if (m_UcDeptRate == null) { m_UcDeptRate = new UcDeptRate(m_app); } m_UcDeptRate.Dock = DockStyle.Fill; xtraTabDepRate.Controls.Add(m_UcDeptRate); xtraTabDepRate.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabDepRate; xtraTabQcManager.TabPages.Add(xtraTabDepRate); break; case "NodeConsultInfo": //会诊信息明细查询 if (m_Consult == null) { m_Consult = new UCRecord(m_app); } m_Consult.Dock = DockStyle.Fill; m_Consult.ResetControl(); xtraTabPageConsult.Controls.Add(m_Consult); xtraTabPageConsult.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabPageConsult; xtraTabQcManager.TabPages.Add(xtraTabPageConsult); break; case "NodDocQuery": //医师医疗质量统计 if (m_UcQcDoctorQuery == null) { m_UcQcDoctorQuery = new UcQcDoctorQuery(m_app); } m_UcQcDoctorQuery.Dock = DockStyle.Fill; xtraTabDocQuery.Controls.Add(m_UcQcDoctorQuery); xtraTabDocQuery.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabDocQuery; xtraTabQcManager.TabPages.Add(xtraTabDocQuery); break; case "NodDeptQuery": //科室医疗质量统计 if (m_UcDeptQuery == null) { m_UcDeptQuery = new UcDeptQuery(m_app); } m_UcDeptQuery.Dock = DockStyle.Fill; xtraTabDeptQuery.Controls.Add(m_UcDeptQuery); xtraTabDeptQuery.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabDeptQuery; xtraTabQcManager.TabPages.Add(xtraTabDeptQuery); break; case "NodSingleDisease": //单病种医疗质量分析 if (m_UcSingleDisease == null) { m_UcSingleDisease = new UcSingleDisease(m_app); } m_UcSingleDisease.Dock = DockStyle.Fill; xtraTabSingleDisease.Controls.Add(m_UcSingleDisease); xtraTabSingleDisease.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabSingleDisease; xtraTabQcManager.TabPages.Add(xtraTabSingleDisease); break; case "NodPerson": //质控人员配置 ConfigQCAudit configaudit = new ConfigQCAudit(m_app); configaudit.StartPosition = FormStartPosition.CenterScreen; configaudit.ShowDialog(); break; case "NodPointConfig": //评分项配置 ConfigPoint m_configPoint = new ConfigPoint(m_app); m_configPoint.StartPosition = FormStartPosition.CenterScreen; //弹出窗体在中间 m_configPoint.ShowDialog(); break; case "MainpageQC": //病案首页评分项配置 QCIemMainpageConfig mainpageqc = new QCIemMainpageConfig(m_app); mainpageqc.StartPosition = FormStartPosition.CenterScreen; //弹出窗体在中间 mainpageqc.ShowDialog(); break; case "RecordByDoctor": //医师书写病历统计 if (m_UcByDoctor == null) { m_UcByDoctor = new QC_RecordByDoctor(m_app); } m_UcByDoctor.ResetControl(); m_UcByDoctor.Dock = DockStyle.Fill; xtraTabRecorByDoctor.Controls.Add(m_UcByDoctor); xtraTabRecorByDoctor.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabRecorByDoctor; xtraTabQcManager.TabPages.Add(xtraTabRecorByDoctor); break; case "DiagOperRecord": //诊断手术病案统计 if (m_UcDiagOper == null) { m_UcDiagOper = new QC_DiagOperRecord(m_app); } m_UcDiagOper.ResetControl(); m_UcDiagOper.Dock = DockStyle.Fill; xtraTabDiagOperRecord.Controls.Add(m_UcDiagOper); xtraTabDiagOperRecord.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabDiagOperRecord; xtraTabQcManager.TabPages.Add(xtraTabDiagOperRecord); break; case "Consulting": //会诊明细 if (m_Consult == null) { m_Consult = new UCRecord(m_app); } m_Consult.ResetControl(); m_Consult.Dock = DockStyle.Fill; xtraTabPageConsult.Controls.Add(m_Consult); xtraTabPageConsult.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabPageConsult; xtraTabQcManager.TabPages.Add(xtraTabPageConsult); break; case "Nodpatdiadetail": //新增 入院诊断 明细查询 if (m_Ucpatdiadetail == null) { m_Ucpatdiadetail = new QCPatDiaDetail(m_app); } m_Ucpatdiadetail.ResetControl(); m_Ucpatdiadetail.Dock = DockStyle.Fill; xtraTabPageDia.Controls.Add(m_Ucpatdiadetail); xtraTabPageDia.PageVisible = true; xtraTabQcManager.SelectedTabPage = xtraTabPageDia; xtraTabQcManager.TabPages.Add(xtraTabPageDia); break; //case "UserLogin"://登录日志审计 // if (m_UserLoginInfo==null) // { // m_UserLoginInfo = new UserLoginInfo(); // } // m_UserLoginInfo.Dock = DockStyle.Fill; // xtabUserLoginInfo.Controls.Add(m_UserLoginInfo); // xtabUserLoginInfo.PageVisible = true; // xtraTabQcManager.SelectedTabPage = xtabUserLoginInfo; // xtraTabQcManager.TabPages.Add(xtabUserLoginInfo); // break; //case "ActiveUser"://活跃用户审计 // if (m_ActiveUser == null) // { // m_ActiveUser = new ActiveUser(); // } // m_ActiveUser.Dock = DockStyle.Fill; // xtabActiveUser.Controls.Add(m_ActiveUser); // xtabActiveUser.PageVisible = true; // xtraTabQcManager.SelectedTabPage = xtabActiveUser; // xtraTabQcManager.TabPages.Add(xtabActiveUser); // break; //case "DiagGroupInfo": // if (m_DiagGroupInfo == null) // { // m_DiagGroupInfo = new DiagGroupInfo(); // } // m_DiagGroupInfo.Dock = DockStyle.Fill; // xtabDiagGroupInfo.Controls.Add(m_DiagGroupInfo); // xtabDiagGroupInfo.PageVisible = true; // xtraTabQcManager.SelectedTabPage = xtabDiagGroupInfo; // xtraTabQcManager.TabPages.Add(xtabDiagGroupInfo); // break; //case "DataBaseTable": // if (m_DataBaseTable == null) // { // m_DataBaseTable = new DataBaseTable(); // } // m_DataBaseTable.Dock = DockStyle.Fill; // xtabDataBaseTable.Controls.Add(m_DataBaseTable); // xtabDataBaseTable.PageVisible = true; // xtraTabQcManager.SelectedTabPage = xtabDataBaseTable; // xtraTabQcManager.TabPages.Add(xtabDataBaseTable); // break; default: break;; } } //MessageBox.Show(treeView1.SelectedNode.Name); catch (Exception ex) { MyMessageBox.Show(1, ex); } }