Пример #1
0
 private void SHZTDToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dgvMzjld.Rows.Count > 0)
     {
         string         mzID  = dgvMzjld.CurrentRow.Cells["mzjldid"].Value.ToString();
         string         patID = dgvMzjld.CurrentRow.Cells["patid"].Value.ToString();
         string         date  = dgvMzjld.SelectedRows[0].Cells["otime"].Value.ToString();
         NurseRecord_HQ form1 = new NurseRecord_HQ(mzID, patID, date);
         form1.ShowDialog();
     }
 }
Пример #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count > 0)
            {
                string patID   = dataGridView1.CurrentRow.Cells["病人编号"].Value.ToString();
                string mzjldId = "";
                if ((int)_FlowType > 6)
                {
                    if (dataGridView1.CurrentRow.Cells["麻醉编号"].Value != null)
                    {
                        mzjldId = dataGridView1.CurrentRow.Cells["麻醉编号"].Value.ToString();
                    }
                }
                string patZhuyuanID = dataGridView1.CurrentRow.Cells["住院号"].Value.ToString();
                string date         = dateTimePicker1.Value.Date.ToString("yyyy-MM-dd");
                switch (_FlowType)
                {
                case EnumCreator.FlowType.NotSet:
                    break;

                case EnumCreator.FlowType.Paiban:
                    break;

                case EnumCreator.FlowType.OperImplant:
                    OperImplant SSSZR = new OperImplant(patID, date);
                    SSSZR.Show();
                    break;

                case EnumCreator.FlowType.Mzzqtys:
                    MZZQTYS MZZQTYS = new MZZQTYS(patID, date);
                    MZZQTYS.Show();
                    break;

                case EnumCreator.FlowType.BeforeVisit_YS:
                    BeforeVisit_HQ BeforeVisit_YS = new BeforeVisit_HQ(patID, date);
                    BeforeVisit_YS.Show();
                    break;

                case EnumCreator.FlowType.BeforeVisit_HS:
                    BeforeVisit_HS_HQ BeforeVisit_HS = new BeforeVisit_HS_HQ(patID, date);
                    BeforeVisit_HS.Show();
                    break;

                case EnumCreator.FlowType.Mzjld:
                    break;

                case EnumCreator.FlowType.QixieQingdian:
                    break;

                case EnumCreator.FlowType.PACU:
                    PACU_HQ pacu = new PACU_HQ(patID, mzjldId, date);
                    pacu.ShowDialog();
                    break;

                case EnumCreator.FlowType.NurseRecord:
                    NurseRecord_HQ NurseRecord_HQ = new NurseRecord_HQ(mzjldId, patID, date);
                    NurseRecord_HQ.Show();
                    break;

                case EnumCreator.FlowType.AfterAnalgesia:
                    AfterAnalgesia mzzt = new AfterAnalgesia(mzjldId, patID, date);
                    mzzt.Show();
                    break;

                case EnumCreator.FlowType.AnesthesiaSummary:
                    AnesthesiaSummary mzzj = new AnesthesiaSummary(mzjldId, patID, date);
                    mzzj.Show();
                    break;

                case EnumCreator.FlowType.Lsyz:
                    LsyzForm lsyz = new LsyzForm(mzjldId, patID);
                    lsyz.Show();
                    break;

                case EnumCreator.FlowType.TransfusionEvaluation:
                    ShuXuePG sxpg = new ShuXuePG(mzjldId, patID);
                    sxpg.Show();
                    break;

                default:
                    break;
                }
            }
            else
            {
                MessageBox.Show("请选择病人!");
            }
        }