void btxPacs_Click(object sender, EventArgs e) { string datetimes = ""; Bifrost.GlassButton btpacs = (Bifrost.GlassButton)sender; datetimes = gettimestr(btpacs.Parent.Name); if (datetimes != "") { string Sqlcondition = " and jclx='" + btpacs.Text + "' and to_char(jcsj,'yyyy-MM-dd')='" + datetimes.Trim() + "'"; Bifrost.HisInStance.frm_Pasc frm = new Bifrost.HisInStance.frm_Pasc(inPatientInfo, Sqlcondition); frm.ShowDialog(); } }
private void pACSToolStripMenuItem_Click(object sender, EventArgs e) { try { string patient_id = dgvPatientInfo.CurrentRow.Cells["编号"].Value.ToString(); InPatientInfo inPatient = DataInit.GetInpatientInfoByPid(patient_id); Bifrost.HisInStance.frm_Pasc fc = new Bifrost.HisInStance.frm_Pasc(inPatient); App.FormStytleSet(fc, false); fc.Show(); } catch (Exception ex) { } }
/// <summary> /// 查看PACS /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void pACSToolStripMenuItem_Click(object sender, EventArgs e) { try { string patient_id = ucC1FlexGrid1.fg[ucC1FlexGrid1.fg.RowSel, "ID"].ToString(); InPatientInfo inPatient = BASE_COMMON.DataInit.GetInpatientInfoByPid(patient_id); Bifrost.HisInStance.frm_Pasc fc = new Bifrost.HisInStance.frm_Pasc(inPatient); App.FormStytleSet(fc, false); fc.Show(); } catch (Exception ex) { } }
/// <summary> /// PACS查看 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void pACSToolStripMenuItem_Click(object sender, EventArgs e) { try { if (this.dataGridView1.SelectedRows != null && this.dataGridView1.SelectedRows.Count > 0) { string patient_id = this.dataGridView1.SelectedRows[0].Cells["PATIENT_ID"].Value.ToString().Trim(); InPatientInfo inPatient = DataInit.GetInpatientInfoByPid(patient_id); Bifrost.HisInStance.frm_Pasc fc = new Bifrost.HisInStance.frm_Pasc(inPatient); App.FormStytleSet(fc, false); fc.Show(); } } catch (Exception ex) { } }
/// <summary> /// 显示屏展示患者的检查信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnCheck_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; btnTest.Enabled = false; Bifrost.HisInStance.frm_Pasc fc = new Bifrost.HisInStance.frm_Pasc(DataInit.CurrentPatient); App.FormStytleSet(fc, false); fc.Show(); } catch { } finally { this.Cursor = Cursors.Default; btnTest.Enabled = true; } }