public override void OnRefreshView() { this.Update(); this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.Show("下载科室列表失败"); } this.ShowStatusMessage(null); this.ShowStatusMessage("正在下载用户列表,请稍候..."); List <UserInfo> lstUserInfo = null; if (UserAccess.Instance.GetAllUserInfos(ref lstUserInfo) != SystemData.ReturnValue.OK) { this.ShowStatusMessage(null); MessageBoxEx.Show("用户列表下载失败!"); return; } if (lstUserInfo == null || lstUserInfo.Count <= 0) { this.ShowStatusMessage(null); return; } for (int index = 0; index < lstUserInfo.Count; index++) { UserInfo userInfo = lstUserInfo[index]; string szInputCode = GlobalMethods.Convert.GetInputCode(userInfo.USER_NAME, false, 10); this.cboUserList.Items.Add(userInfo); } this.ShowStatusMessage(null); }
/// <summary> /// 加载临床科室列表 /// </summary> private void LoadDeptList() { if (!InitControlData.InitCboDeptName(ref this.cboDeptList)) { MessageBoxEx.Show("下载科室列表失败"); } }
public override void OnRefreshView() { this.Update(); this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.Show("下载科室列表失败"); } this.ShowStatusMessage(null); this.ShowStatusMessage("正在下载质量问题列表,请稍候..."); List <EMRDBLib.QaEventTypeDict> lstQCEventTypes = null; short shRet = QaEventTypeDictAccess.Instance.GetQCEventTypeList(ref lstQCEventTypes); if (shRet != SystemData.ReturnValue.OK) { MessageBoxEx.Show("病案质量问题分类字典下载失败!"); return; } if (lstQCEventTypes == null || lstQCEventTypes.Count <= 0) { this.ShowStatusMessage(null); return; } for (int index = 0; index < lstQCEventTypes.Count; index++) { EMRDBLib.QaEventTypeDict qcEventType = lstQCEventTypes[index]; this.cboEventType.Items.Add(qcEventType); } this.ShowStatusMessage(null); }
protected override void OnShown(EventArgs e) { base.OnShown(e); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.ShowError("加载科室列表失败"); } }
private void InitDept() { this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.Show("下载科室列表失败"); } this.ShowStatusMessage(null); }
public override void OnRefreshView() { this.Update(); this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.Show("下载科室列表失败"); } this.ShowStatusMessage(null); }
public override void OnRefreshView() { this.Update(); this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); List <DeptInfo> lstDeptInfos = null; InitControlData.InitCboDeptName(ref cboDeptName); this.ShowStatusMessage(null); }
protected override void OnShown(EventArgs e) { base.OnShown(e); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.ShowError("加载科室列表失败"); } this.dtTimeBegin.Value = DateTime.Now.AddMonths(-1); this.dtTimeEnd.Value = DateTime.Now; this.dataTableView1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; }
protected override void OnShown(EventArgs e) { base.OnShown(e); this.dataGridView1.Font = new Font("宋体", 10.5f); this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.Show("下载科室列表失败"); } this.ShowStatusMessage(null); }
protected override void OnShown(EventArgs e) { base.OnShown(e); this.dataGridView1.Font = new Font("宋体", 10.5f); this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.Show("下载科室列表失败"); } this.ShowStatusMessage(null); this.dtpBeginTime.Value = DateTime.Now.AddMonths(-1); this.dataGridView1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; this.ShowStatusMessage(null); }
protected override void OnShown(EventArgs e) { base.OnShown(e); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.ShowError("加载科室列表失败"); } if (!InitControlData.InitcboUserList(ref this.cboUserList)) { MessageBoxEx.ShowError("加载质控医生列表失败"); } this.dtTimeBegin.Value = DateTime.Now.AddMonths(-1); this.dtTimeEnd.Value = DateTime.Now; this.Text = "出院患者"; }
protected override void OnShown(EventArgs e) { base.OnShown(e); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.ShowError("加载科室列表失败"); } if (!InitControlData.InitcboUserList(ref this.cboUserList)) { MessageBoxEx.ShowError("加载质控医生列表失败"); } this.dtIssuedBegin.Value = DateTime.Now.AddMonths(-1); this.dtIssuedEnd.Value = DateTime.Now; this.col_2_btnPass.Image = Properties.Resources.confirm; this.col_2_btnReject.Image = Properties.Resources._return; }
protected override void OnShown(EventArgs e) { base.OnShown(e); this.dataGridView1.Font = new Font("宋体", 10.5f); this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.Show("下载科室列表失败"); } this.ShowStatusMessage(null); string[] qcReuslt = new string[] { "正常", "未书写超时", "书写提前", "书写超时", "正常未书写" }; this.cboQcResult.Items.Clear(); foreach (string item in qcReuslt) { this.cboQcResult.Items.Add(item); } this.ShowStatusMessage(null); }
protected override void OnShown(EventArgs e) { base.OnShown(e); this.dataGridView1.Font = new Font("宋体", 10.5f); this.ShowStatusMessage("正在下载临床科室列表,请稍候..."); if (!InitControlData.InitCboDeptName(ref this.cboDeptName)) { MessageBoxEx.Show("下载科室列表失败"); } this.ShowStatusMessage(null); GlobalMethods.UI.SetCursor(this, Cursors.WaitCursor); //初始化文书标题列项 string sql = "select distinct doctype_name from qc_time_record_t"; DataSet ds = null; short shRet = CommonAccess.Instance.ExecuteQuery(sql, out ds); if (shRet != EMRDBLib.SystemData.ReturnValue.OK || ds == null || ds.Tables[0].Rows.Count <= 0) { GlobalMethods.UI.SetCursor(this, Cursors.Default); return; } for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { DataGridViewTextBoxColumn column1 = new DataGridViewTextBoxColumn(); column1.Name = ds.Tables[0].Rows[i][0].ToString() + "(总)"; column1.HeaderText = ds.Tables[0].Rows[i][0].ToString() + "(总)"; column1.Width = 100; column1.SortMode = DataGridViewColumnSortMode.NotSortable; column1.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; column1.Visible = false; this.dataGridView1.Columns.Add(column1); DataGridViewTextBoxColumn column2 = new DataGridViewTextBoxColumn(); column2.Name = ds.Tables[0].Rows[i][0].ToString() + "(超时)"; column2.HeaderText = ds.Tables[0].Rows[i][0].ToString() + "(超时)"; column2.Width = 100; column2.SortMode = DataGridViewColumnSortMode.NotSortable; column2.Visible = false; column2.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; this.dataGridView1.Columns.Add(column2); DataGridViewTextBoxColumn column3 = new DataGridViewTextBoxColumn(); column3.Name = ds.Tables[0].Rows[i][0].ToString() + "(超时率)"; column3.HeaderText = ds.Tables[0].Rows[i][0].ToString() + "(超时率)"; column3.Width = 100; column3.SortMode = DataGridViewColumnSortMode.NotSortable; column3.Visible = false; column3.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; this.dataGridView1.Columns.Add(column3); } //增加横向统计 病历总数 病历超时总数 病历超时率 DataGridViewTextBoxColumn column4 = new DataGridViewTextBoxColumn(); column4.Name = "病历总数"; column4.HeaderText = "病历总数"; column4.Width = 80; column4.Visible = true; column4.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight; this.dataGridView1.Columns.Add(column4); DataGridViewTextBoxColumn column5 = new DataGridViewTextBoxColumn(); column5.Name = "病历超时总数"; column5.HeaderText = "病历超时总数"; column5.Width = 80; column5.Visible = true; column5.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight; this.dataGridView1.Columns.Add(column5); DataGridViewTextBoxColumn column6 = new DataGridViewTextBoxColumn(); column6.Name = "病历超时率"; column6.HeaderText = "病历超时率"; column6.Width = 80; column6.Visible = true; column6.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight; this.dataGridView1.Columns.Add(column6); GlobalMethods.UI.SetCursor(this, Cursors.Default); this.ShowStatusMessage(null); }