麻醉单打印单独页面

内镜去掉asa限制 出室后可以添加生命体征
转入记录单如果麻醉医生和检测空默认当前登录麻醉师
评估时间默认当前时间
术前访视单手术诊断不一致回写数据
This commit is contained in:
leomon 2023-05-13 14:26:54 +08:00
parent c2228379bc
commit 8a4c6dfa12
18 changed files with 715 additions and 474 deletions

View File

@ -164,6 +164,8 @@ namespace AIMS
sideNavItem.Symbol = "\uf044"; sideNavItem.Symbol = "\uf044";
if (menuSec.Name == "镇痛记录") if (menuSec.Name == "镇痛记录")
sideNavItem.Symbol = "\uf044"; sideNavItem.Symbol = "\uf044";
if (menuSec.Name == "ÄÚ¾µÂé×í")
sideNavItem.Symbol = "\uf044";
if (menuSec.Name == "复苏记录") if (menuSec.Name == "复苏记录")
sideNavItem.Symbol = "\uf15c"; sideNavItem.Symbol = "\uf15c";
if (menuSec.Name == "查询管理") if (menuSec.Name == "查询管理")

View File

@ -1790,26 +1790,29 @@ namespace AIMS.OperationAanesthesia
private void UpdatePhysioDataResp() private void UpdatePhysioDataResp()
{ {
BOperationRecord.UpdatePhysioDataRespByTime(_record); BOperationRecord.UpdatePhysioDataRespByTime(_record);
string PhysioDataConfigIds = "3,12"; //获取机控呼吸时间范围 值
DataTable dtPhysioData = BOperationRecord.getByOpeIDIsPhysioData(_record.Id.Value, PhysioDataConfigIds); //机控时间范围点重置 开始到结束删除+画点
List<string> Ids = PhysioDataConfigIds.Split(',').ToList();
if (dtPhysioData != null && dtPhysioData.Rows.Count > 0) //string PhysioDataConfigIds = "3,12";
{ //DataTable dtPhysioData = BOperationRecord.getByOpeIDIsPhysioData(_record.Id.Value, PhysioDataConfigIds);
foreach (PhysioDataConfig addPP in _record.PhysioConfigList) //List<string> Ids = PhysioDataConfigIds.Split(',').ToList();
{ //if (dtPhysioData != null && dtPhysioData.Rows.Count > 0)
if (!Ids.Contains(addPP.Id.ToString())) continue; //{
addPP.clearAddObj(zgcAnaesRecord); // foreach (PhysioDataConfig addPP in _record.PhysioConfigList)
if (addPP.IsDefalultShow == false) continue; // {
for (int i = 0; i < dtPhysioData.Rows.Count; i++) // if (!Ids.Contains(addPP.Id.ToString())) continue;
{ // addPP.clearAddObj(zgcAnaesRecord);
if (dtPhysioData.Rows[i]["Name"].ToString().Equals(addPP.Name.ToString())) // if (addPP.IsDefalultShow == false) continue;
{ // for (int i = 0; i < dtPhysioData.Rows.Count; i++)
PhysioData pdTemp = PhysioDataConfig.newPhysioData(addPP, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString()); // {
addPP.AddPointItem(pdTemp, false); // if (dtPhysioData.Rows[i]["Name"].ToString().Equals(addPP.Name.ToString()))
} // {
} // PhysioData pdTemp = PhysioDataConfig.newPhysioData(addPP, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString());
} // addPP.AddPointItem(pdTemp, false);
} // }
// }
// }
//}
} }
private void clearSelectCouve_Click(Object sender, EventArgs e) private void clearSelectCouve_Click(Object sender, EventArgs e)
@ -2004,49 +2007,13 @@ namespace AIMS.OperationAanesthesia
bool isTrue = true; bool isTrue = true;
if (_record.AnesthesiaDoctor != null && _record.AnesthesiaDoctor.Trim() != "") if (_record.AnesthesiaDoctor != null && _record.AnesthesiaDoctor.Trim() != "")
{ {
if (_record.AnaseDataQualityRecordList == null || _record.AnaseDataQualityRecordList.Count <= 0)
{
message = "请填写麻醉质量质控指标";
isTrue = false;
}
//if (_record.OpeRecordInfo.StewardNumber == null || _record.OpeRecordInfo.StewardNumber.ToString().Trim() == "")
//{
// message = "请与手术信息选择患者Steward评分";
// isTrue = false;
//}
//if (_record.OpeRecordInfo.Whereabouts == null || _record.OpeRecordInfo.Whereabouts.ToString().Trim() == "")
//{
// message = "请与手术信息选择患者去向!";
// isTrue = false;
//}
if (_record.ASALevel == null || _record.ASALevel == null)
{
message = "请添写ASA分级";
isTrue = false;
}
if (_record.OperationDoctor == null || _record.OperationDoctor.Trim() == "") if (_record.OperationDoctor == null || _record.OperationDoctor.Trim() == "")
{ {
message = "请添加手术医师!"; message = "请添加操作医师!";
isTrue = false; isTrue = false;
} }
if (PublicMethod.RoleName.Contains("术中填写手术等级切口等级"))
{
if (_record.OpeRecordInfo.OperationLevel == null || _record.OpeRecordInfo.OperationLevel.ToString().Trim() == "")
{
message = "请与手术信息选择手术分级!";
isTrue = false;
}
if (_record.OpeRecordInfo.OperationCut == null || _record.OpeRecordInfo.OperationCut.ToString().Trim() == "")
{
message = "请与手术信息选择手术切口!";
isTrue = false;
}
}
} }
return isTrue; return isTrue;
@ -2249,6 +2216,14 @@ namespace AIMS.OperationAanesthesia
{ {
if (_record.AnalgesiaRecord != null) if (_record.AnalgesiaRecord != null)
{ {
_record.AnalgesiaRecord.ProhibitedDrinkingTime = "4";
_record.AnalgesiaRecord.ProhibitedEatingTime = "14";
_record.AnalgesiaRecord.MouthOpeningDegree = "Ⅲ指";
_record.AnalgesiaRecord.AirwayAssessment = "Ⅰ级";
_record.AnalgesiaRecord.ASAClassification = "Ⅰ级";
_record.AnalgesiaRecord.SedationAnalgesiaPlan = "静脉";
_record.AnalgesiaRecord.HeartFunction = "Ⅰ级";
_record.AnalgesiaRecord.Consciousness = "清醒"; _record.AnalgesiaRecord.Consciousness = "清醒";
_record.AnalgesiaRecord.NutritionalDevelopment = "良"; _record.AnalgesiaRecord.NutritionalDevelopment = "良";
_record.AnalgesiaRecord.Pregnancy = "无"; _record.AnalgesiaRecord.Pregnancy = "无";
@ -2262,9 +2237,12 @@ namespace AIMS.OperationAanesthesia
_record.AnalgesiaRecord.EndocrineSystem = "有"; _record.AnalgesiaRecord.EndocrineSystem = "有";
_record.AnalgesiaRecord.OtherSpecialConditions = "无"; _record.AnalgesiaRecord.OtherSpecialConditions = "无";
_record.AnalgesiaRecord.PatientOutcome = "病房"; _record.AnalgesiaRecord.PatientOutcome = "病房";
//_record.AnalgesiaRecord.PainScore = "10"; _record.AnalgesiaRecord.PainScore = "0";
_record.AnalgesiaRecord.StewardScoreDischarge = "6";
_record.AnalgesiaRecord.HighFallRisk = "无"; _record.AnalgesiaRecord.HighFallRisk = "无";
_record.AnalgesiaRecord.StewardScoreDischarge = "";//评估者麻醉师 string Doctor = DBManage.GetDictionaryValuesById(_record.AnesthesiaDoctor, "人员");
_record.AnalgesiaRecord.PostoperativeMonitoringDoctor = Doctor ;//评估者麻醉师
_record.AnalgesiaRecord.Evaluator = Doctor ;//评估者麻醉师
_record.AnalgesiaRecord.AssessmentTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm"); _record.AnalgesiaRecord.AssessmentTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm");
BOperationRecordAnalgesia.Update(_record.AnalgesiaRecord); BOperationRecordAnalgesia.Update(_record.AnalgesiaRecord);
ReviewEvent(); ReviewEvent();

View File

@ -235,14 +235,22 @@ namespace AIMS.OperationAanesthesia
{ {
ToolStrip toolbar = ctl as ToolStrip; ToolStrip toolbar = ctl as ToolStrip;
toolbar.Items.RemoveAt(0); toolbar.Items.RemoveAt(0);
ToolStrip tb = ctl as ToolStrip; ToolStrip tb = ctl as ToolStrip;
//tb.ImageList.Images.Add(Properties.Resources.); ToolStripButton settingBtn3 = new ToolStripButton();
settingBtn3.ToolTipText = "打印反面";
settingBtn3.Text = "打印反面";
settingBtn3.Click += PageSetting_Click3;
tb.Items.Insert(0, settingBtn3);
ToolStripButton settingBtn2 = new ToolStripButton();
settingBtn2.ToolTipText = "打印正面";
settingBtn2.Text = "打印正面";
settingBtn2.Click += PageSetting_Click2;
tb.Items.Insert(0, settingBtn2);
ToolStripButton settingBtn = new ToolStripButton(); ToolStripButton settingBtn = new ToolStripButton();
settingBtn.ToolTipText = "打印"; settingBtn.ToolTipText = "打印全部";
settingBtn.Text = "打印"; settingBtn.Text = "打印全部";
//settingBtn.ImageIndex = tb.ImageList.Images.Count - 1;
settingBtn.Click += PageSetting_Click; settingBtn.Click += PageSetting_Click;
tb.Items.Insert(0, settingBtn); tb.Items.Insert(0, settingBtn);
} }
} }
pdg.PrintPreviewControl.Columns = 2; pdg.PrintPreviewControl.Columns = 2;
@ -261,7 +269,65 @@ namespace AIMS.OperationAanesthesia
{ {
plPrint_Click(null, null); plPrint_Click(null, null);
} }
private void PageSetting_Click2(object sender, EventArgs e)
{
mPanes = new List<MasterPane>();
UpPanes = new List<MasterPane>();
while (_record.pageCount != 1)
{
btnUpPage_Click(null, null);
}
PrintDocPane(null, zgcAnaesRecord, templateManage, true);
count = 0;
int pylWidth = 3;
System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
pDoc.DefaultPageSettings.Landscape = false;
pDoc.OriginAtMargins = true;
pDoc.DefaultPageSettings.PrinterResolution.Kind = PrinterResolutionKind.High;
pDoc.DefaultPageSettings.Margins = new Margins(pylWidth, 0, 0, 0);
pDoc.PrintPage -= new PrintPageEventHandler(pDoc_PrintPage);
pDoc.PrintPage += new PrintPageEventHandler(pDoc_PrintPage);
System.Windows.Forms.PrintDialog pDlg = new System.Windows.Forms.PrintDialog();
pDlg.Document = pDoc;
if (pDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
pDoc.Print();
}
}
private void PageSetting_Click3(object sender, EventArgs e)
{
mPanes = new List<MasterPane>();
UpPanes = new List<MasterPane>();
while (_record.pageCount != 1)
{
btnUpPage_Click(null, null);
}
PrintDocPane(null, zgcAnaesRecord2, templateManage2, false);
count = 0;
int pylWidth = 3;
System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
pDoc.DefaultPageSettings.Landscape = false;
pDoc.OriginAtMargins = true;
pDoc.DefaultPageSettings.PrinterResolution.Kind = PrinterResolutionKind.High;
pDoc.DefaultPageSettings.Margins = new Margins(pylWidth, 0, 0, 0);
pDoc.PrintPage -= new PrintPageEventHandler(pDoc_PrintPage);
pDoc.PrintPage += new PrintPageEventHandler(pDoc_PrintPage);
System.Windows.Forms.PrintDialog pDlg = new System.Windows.Forms.PrintDialog();
pDlg.Document = pDoc;
if (pDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
pDoc.Print();
}
}
private void PrintDocPage(object sender, PrintPageEventArgs e) private void PrintDocPage(object sender, PrintPageEventArgs e)
{ {
if (_record.currentPage == 1) if (_record.currentPage == 1)
@ -458,13 +524,13 @@ namespace AIMS.OperationAanesthesia
{ {
if (PatientId == 0) return; if (PatientId == 0) return;
DateTimeInput tb = sender as DateTimeInput; DateTimeInput tb = sender as DateTimeInput;
if (_record != null && _record.OutRoomTime != null) //if (_record != null && _record.OutRoomTime != null)
{ //{
if ((tb.Name == "txtBG" || tb.Name == "txtCG") && tb.Text.Trim() == "") // if ((tb.Name == "txtBG" || tb.Name == "txtCG") && tb.Text.Trim() == "")
{ // {
return; // return;
} // }
} //}
if (tb.Text.Trim() == "" && tb.CustomFormat == " ") if (tb.Text.Trim() == "" && tb.CustomFormat == " ")
{ {
@ -638,7 +704,7 @@ namespace AIMS.OperationAanesthesia
{ {
DrawGraph.FactEvents Inevent = null; DrawGraph.FactEvents Inevent = null;
DateTimeInput tb = obj as DateTimeInput; DateTimeInput tb = obj as DateTimeInput;
if (_record.StateName == "手术中") if (_record.StateName == "手术中" || tb.Name.Equals( "txtCG") || tb.Name.Equals( "txtBG"))
{ {
DeleteEventTime("txtAnaesthesiaBegin", "麻醉开始", tb, ref Inevent); DeleteEventTime("txtAnaesthesiaBegin", "麻醉开始", tb, ref Inevent);
DeleteEventTime("txtOperationBegin", "手术开始", tb, ref Inevent); DeleteEventTime("txtOperationBegin", "手术开始", tb, ref Inevent);
@ -646,7 +712,7 @@ namespace AIMS.OperationAanesthesia
DeleteEventTime("txtAnaesthesiaEnd", "麻醉完成", tb, ref Inevent); DeleteEventTime("txtAnaesthesiaEnd", "麻醉完成", tb, ref Inevent);
DeleteEventTime("txtCG", cmbCGType.Text, tb, ref Inevent); DeleteEventTime("txtCG", cmbCGType.Text, tb, ref Inevent);
DeleteEventTime("txtBG", cmbBGType.Text, tb, ref Inevent); DeleteEventTime("txtBG", cmbBGType.Text, tb, ref Inevent);
} }
else else
{ {
MessageBox.Show("选择的事件不可删除 只可修改!"); MessageBox.Show("选择的事件不可删除 只可修改!");
@ -1888,26 +1954,26 @@ namespace AIMS.OperationAanesthesia
private void UpdatePhysioDataResp() private void UpdatePhysioDataResp()
{ {
BOperationRecord.UpdatePhysioDataRespByTime(_record); BOperationRecord.UpdatePhysioDataRespByTime(_record);
string PhysioDataConfigIds = "3,12"; //string PhysioDataConfigIds = "3,12";
DataTable dtPhysioData = BOperationRecord.getByOpeIDIsPhysioData(_record.Id.Value, PhysioDataConfigIds); //DataTable dtPhysioData = BOperationRecord.getByOpeIDIsPhysioData(_record.Id.Value, PhysioDataConfigIds);
List<string> Ids = PhysioDataConfigIds.Split(',').ToList(); //List<string> Ids = PhysioDataConfigIds.Split(',').ToList();
if (dtPhysioData != null && dtPhysioData.Rows.Count > 0) //if (dtPhysioData != null && dtPhysioData.Rows.Count > 0)
{ //{
foreach (PhysioDataConfig addPP in _record.PhysioConfigList) // foreach (PhysioDataConfig addPP in _record.PhysioConfigList)
{ // {
if (!Ids.Contains(addPP.Id.ToString())) continue; // if (!Ids.Contains(addPP.Id.ToString())) continue;
addPP.clearAddObj(zgcAnaesRecord); // addPP.clearAddObj(zgcAnaesRecord);
if (addPP.IsDefalultShow == false) continue; // if (addPP.IsDefalultShow == false) continue;
for (int i = 0; i < dtPhysioData.Rows.Count; i++) // for (int i = 0; i < dtPhysioData.Rows.Count; i++)
{ // {
if (dtPhysioData.Rows[i]["Name"].ToString().Equals(addPP.Name.ToString())) // if (dtPhysioData.Rows[i]["Name"].ToString().Equals(addPP.Name.ToString()))
{ // {
PhysioData pdTemp = PhysioDataConfig.newPhysioData(addPP, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString()); // PhysioData pdTemp = PhysioDataConfig.newPhysioData(addPP, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString());
addPP.AddPointItem(pdTemp, false); // addPP.AddPointItem(pdTemp, false);
} // }
} // }
} // }
} //}
} }
private void clearSelectCouve_Click(Object sender, EventArgs e) private void clearSelectCouve_Click(Object sender, EventArgs e)

View File

@ -29,6 +29,11 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
@ -39,10 +44,6 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
@ -52,10 +53,30 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFactDrugNew)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFactDrugNew));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel();
this.tabDrugs = new DevComponents.DotNetBar.SuperTabControl(); this.tabDrugs = new DevComponents.DotNetBar.SuperTabControl();
this.superTabControlPanel5 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvDrugsSZ = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboEditBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboBoxColumn2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboBoxColumn3 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboBoxColumn4 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewComboBoxColumn23 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewComboBoxColumn24 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewDateTimeInputColumn3 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewDateTimeInputColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.P2 = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvDrugsYD = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dgvDrugsYD = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dataGridViewImageColumn3 = new System.Windows.Forms.DataGridViewImageColumn(); this.dataGridViewImageColumn3 = new System.Windows.Forms.DataGridViewImageColumn();
@ -98,9 +119,6 @@
this.dataGridViewDateTimeInputColumn6 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); this.dataGridViewDateTimeInputColumn6 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.P3 = new DevComponents.DotNetBar.SuperTabItem(); this.P3 = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel5 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvDrugsSZ = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.P2 = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvDrugsSQ = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dgvDrugsSQ = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dataGridViewImageColumn5 = new System.Windows.Forms.DataGridViewImageColumn(); this.dataGridViewImageColumn5 = new System.Windows.Forms.DataGridViewImageColumn();
@ -151,34 +169,16 @@
this.dgvDosage = new System.Windows.Forms.DataGridView(); this.dgvDosage = new System.Windows.Forms.DataGridView();
this.Dosage = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Dosage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboEditBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboBoxColumn2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboBoxColumn3 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewComboBoxColumn4 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewComboBoxColumn23 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewComboBoxColumn24 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.dataGridViewDateTimeInputColumn3 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewDateTimeInputColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel5.SuspendLayout(); this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).BeginInit();
this.tabDrugs.SuspendLayout(); this.tabDrugs.SuspendLayout();
this.superTabControlPanel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).BeginInit();
this.superTabControlPanel3.SuspendLayout(); this.superTabControlPanel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsYD)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsYD)).BeginInit();
this.superTabControlPanel6.SuspendLayout(); this.superTabControlPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).BeginInit();
this.superTabControlPanel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).BeginInit();
this.superTabControlPanel4.SuspendLayout(); this.superTabControlPanel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).BeginInit();
this.panelleft.SuspendLayout(); this.panelleft.SuspendLayout();
@ -252,6 +252,295 @@
this.tabDrugs.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.Office2010BackstageBlue; this.tabDrugs.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.Office2010BackstageBlue;
this.tabDrugs.SelectedTabChanged += new System.EventHandler<DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs>(this.tabDrugs_SelectedTabChanged); this.tabDrugs.SelectedTabChanged += new System.EventHandler<DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs>(this.tabDrugs_SelectedTabChanged);
// //
// superTabControlPanel5
//
this.superTabControlPanel5.Controls.Add(this.dgvDrugsSZ);
this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControlPanel5.Location = new System.Drawing.Point(0, 31);
this.superTabControlPanel5.Name = "superTabControlPanel5";
this.superTabControlPanel5.Size = new System.Drawing.Size(1070, 604);
this.superTabControlPanel5.TabIndex = 0;
this.superTabControlPanel5.TabItem = this.P2;
this.superTabControlPanel5.Visible = false;
//
// dgvDrugsSZ
//
this.dgvDrugsSZ.AllowUserToAddRows = false;
this.dgvDrugsSZ.AllowUserToResizeColumns = false;
this.dgvDrugsSZ.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream;
this.dgvDrugsSZ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvDrugsSZ.BackgroundColor = System.Drawing.Color.White;
this.dgvDrugsSZ.BorderStyle = System.Windows.Forms.BorderStyle.None;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvDrugsSZ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvDrugsSZ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDrugsSZ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewImageColumn1,
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
this.dataGridViewTextBoxColumn3,
this.dataGridViewComboEditBoxColumn2,
this.dataGridViewComboBoxColumn1,
this.dataGridViewTextBoxColumn4,
this.dataGridViewComboBoxColumn2,
this.dataGridViewTextBoxColumn5,
this.dataGridViewComboBoxColumn3,
this.dataGridViewTextBoxColumn6,
this.dataGridViewComboBoxColumn4,
this.dataGridViewComboBoxColumn23,
this.dataGridViewComboBoxColumn24,
this.dataGridViewDateTimeInputColumn3,
this.dataGridViewTextBoxColumn7,
this.dataGridViewDateTimeInputColumn4,
this.dataGridViewTextBoxColumn8});
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvDrugsSZ.DefaultCellStyle = dataGridViewCellStyle4;
this.dgvDrugsSZ.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvDrugsSZ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.dgvDrugsSZ.EnableHeadersVisualStyles = false;
this.dgvDrugsSZ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvDrugsSZ.Location = new System.Drawing.Point(0, 0);
this.dgvDrugsSZ.Margin = new System.Windows.Forms.Padding(0);
this.dgvDrugsSZ.MultiSelect = false;
this.dgvDrugsSZ.Name = "dgvDrugsSZ";
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvDrugsSZ.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.dgvDrugsSZ.RowHeadersVisible = false;
this.dgvDrugsSZ.RowTemplate.Height = 25;
this.dgvDrugsSZ.ShowCellErrors = false;
this.dgvDrugsSZ.ShowCellToolTips = false;
this.dgvDrugsSZ.Size = new System.Drawing.Size(1070, 604);
this.dgvDrugsSZ.TabIndex = 16;
this.dgvDrugsSZ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
//
// dataGridViewImageColumn1
//
this.dataGridViewImageColumn1.HeaderText = " ";
this.dataGridViewImageColumn1.Image = global::AIMS.Properties.Resources.SYSCRL;
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
this.dataGridViewImageColumn1.Width = 30;
//
// dataGridViewTextBoxColumn1
//
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Red;
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn1.HeaderText = "组";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Width = 30;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.HeaderText = "类型";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.Visible = false;
this.dataGridViewTextBoxColumn2.Width = 60;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn3.HeaderText = "名称";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// dataGridViewComboEditBoxColumn2
//
this.dataGridViewComboEditBoxColumn2.HeaderText = "备注";
this.dataGridViewComboEditBoxColumn2.Name = "dataGridViewComboEditBoxColumn2";
this.dataGridViewComboEditBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// dataGridViewComboBoxColumn1
//
this.dataGridViewComboBoxColumn1.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn1.HeaderText = "途径";
this.dataGridViewComboBoxColumn1.Name = "dataGridViewComboBoxColumn1";
this.dataGridViewComboBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn1.Width = 85;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.HeaderText = "浓度";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn4.Width = 45;
//
// dataGridViewComboBoxColumn2
//
this.dataGridViewComboBoxColumn2.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn2.HeaderText = "浓度单位";
this.dataGridViewComboBoxColumn2.Name = "dataGridViewComboBoxColumn2";
this.dataGridViewComboBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn2.Width = 75;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.HeaderText = "速度";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn5.Width = 45;
//
// dataGridViewComboBoxColumn3
//
this.dataGridViewComboBoxColumn3.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn3.HeaderText = "速度单位";
this.dataGridViewComboBoxColumn3.Name = "dataGridViewComboBoxColumn3";
this.dataGridViewComboBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn3.Width = 85;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.HeaderText = "用量";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.dataGridViewTextBoxColumn6.Width = 60;
//
// dataGridViewComboBoxColumn4
//
this.dataGridViewComboBoxColumn4.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn4.HeaderText = "单位";
this.dataGridViewComboBoxColumn4.Name = "dataGridViewComboBoxColumn4";
this.dataGridViewComboBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn4.Width = 60;
//
// dataGridViewComboBoxColumn23
//
this.dataGridViewComboBoxColumn23.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn23.HeaderText = "血型";
this.dataGridViewComboBoxColumn23.Name = "dataGridViewComboBoxColumn23";
this.dataGridViewComboBoxColumn23.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn23.Width = 45;
//
// dataGridViewComboBoxColumn24
//
this.dataGridViewComboBoxColumn24.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn24.HeaderText = "加药方式";
this.dataGridViewComboBoxColumn24.Name = "dataGridViewComboBoxColumn24";
this.dataGridViewComboBoxColumn24.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn24.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn24.Visible = false;
this.dataGridViewComboBoxColumn24.Width = 80;
//
// dataGridViewDateTimeInputColumn3
//
this.dataGridViewDateTimeInputColumn3.AutoAdvance = true;
//
//
//
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
this.dataGridViewDateTimeInputColumn3.ButtonDropDown.Visible = true;
this.dataGridViewDateTimeInputColumn3.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
this.dataGridViewDateTimeInputColumn3.HeaderText = "开始时间";
this.dataGridViewDateTimeInputColumn3.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
//
//
//
//
//
//
this.dataGridViewDateTimeInputColumn3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn3.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
//
//
//
this.dataGridViewDateTimeInputColumn3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn3.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
this.dataGridViewDateTimeInputColumn3.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
//
//
//
this.dataGridViewDateTimeInputColumn3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn3.MonthCalendar.Visible = false;
this.dataGridViewDateTimeInputColumn3.Name = "dataGridViewDateTimeInputColumn3";
this.dataGridViewDateTimeInputColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewDateTimeInputColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.dataGridViewDateTimeInputColumn3.Width = 80;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.HeaderText = "持续";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.Width = 45;
//
// dataGridViewDateTimeInputColumn4
//
this.dataGridViewDateTimeInputColumn4.AutoAdvance = true;
//
//
//
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
this.dataGridViewDateTimeInputColumn4.ButtonDropDown.Visible = true;
this.dataGridViewDateTimeInputColumn4.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
this.dataGridViewDateTimeInputColumn4.HeaderText = "结束时间";
this.dataGridViewDateTimeInputColumn4.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
//
//
//
//
//
//
this.dataGridViewDateTimeInputColumn4.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn4.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
//
//
//
this.dataGridViewDateTimeInputColumn4.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn4.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
this.dataGridViewDateTimeInputColumn4.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
//
//
//
this.dataGridViewDateTimeInputColumn4.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn4.MonthCalendar.Visible = false;
this.dataGridViewDateTimeInputColumn4.Name = "dataGridViewDateTimeInputColumn4";
this.dataGridViewDateTimeInputColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewDateTimeInputColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.dataGridViewDateTimeInputColumn4.Width = 80;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewTextBoxColumn8.HeaderText = "通路";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewTextBoxColumn8.Width = 50;
//
// P2
//
this.P2.AttachedControl = this.superTabControlPanel5;
this.P2.GlobalItem = false;
this.P2.Name = "P2";
this.P2.Text = "术中用药";
//
// superTabControlPanel3 // superTabControlPanel3
// //
this.superTabControlPanel3.Controls.Add(this.dgvDrugsYD); this.superTabControlPanel3.Controls.Add(this.dgvDrugsYD);
@ -841,93 +1130,6 @@
this.P3.Name = "P3"; this.P3.Name = "P3";
this.P3.Text = "术后镇痛药"; this.P3.Text = "术后镇痛药";
// //
// superTabControlPanel5
//
this.superTabControlPanel5.Controls.Add(this.dgvDrugsSZ);
this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControlPanel5.Location = new System.Drawing.Point(0, 31);
this.superTabControlPanel5.Name = "superTabControlPanel5";
this.superTabControlPanel5.Size = new System.Drawing.Size(1070, 604);
this.superTabControlPanel5.TabIndex = 0;
this.superTabControlPanel5.TabItem = this.P2;
this.superTabControlPanel5.Visible = false;
//
// dgvDrugsSZ
//
this.dgvDrugsSZ.AllowUserToAddRows = false;
this.dgvDrugsSZ.AllowUserToResizeColumns = false;
this.dgvDrugsSZ.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream;
this.dgvDrugsSZ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvDrugsSZ.BackgroundColor = System.Drawing.Color.White;
this.dgvDrugsSZ.BorderStyle = System.Windows.Forms.BorderStyle.None;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvDrugsSZ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvDrugsSZ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDrugsSZ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewImageColumn1,
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
this.dataGridViewTextBoxColumn3,
this.dataGridViewComboEditBoxColumn2,
this.dataGridViewComboBoxColumn1,
this.dataGridViewTextBoxColumn4,
this.dataGridViewComboBoxColumn2,
this.dataGridViewTextBoxColumn5,
this.dataGridViewComboBoxColumn3,
this.dataGridViewTextBoxColumn6,
this.dataGridViewComboBoxColumn4,
this.dataGridViewComboBoxColumn23,
this.dataGridViewComboBoxColumn24,
this.dataGridViewDateTimeInputColumn3,
this.dataGridViewTextBoxColumn7,
this.dataGridViewDateTimeInputColumn4,
this.dataGridViewTextBoxColumn8});
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvDrugsSZ.DefaultCellStyle = dataGridViewCellStyle4;
this.dgvDrugsSZ.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvDrugsSZ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.dgvDrugsSZ.EnableHeadersVisualStyles = false;
this.dgvDrugsSZ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvDrugsSZ.Location = new System.Drawing.Point(0, 0);
this.dgvDrugsSZ.Margin = new System.Windows.Forms.Padding(0);
this.dgvDrugsSZ.MultiSelect = false;
this.dgvDrugsSZ.Name = "dgvDrugsSZ";
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvDrugsSZ.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.dgvDrugsSZ.RowHeadersVisible = false;
this.dgvDrugsSZ.RowTemplate.Height = 25;
this.dgvDrugsSZ.ShowCellErrors = false;
this.dgvDrugsSZ.ShowCellToolTips = false;
this.dgvDrugsSZ.Size = new System.Drawing.Size(1070, 604);
this.dgvDrugsSZ.TabIndex = 16;
this.dgvDrugsSZ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
//
// P2
//
this.P2.AttachedControl = this.superTabControlPanel5;
this.P2.GlobalItem = false;
this.P2.Name = "P2";
this.P2.Text = "手术用药";
//
// superTabControlPanel4 // superTabControlPanel4
// //
this.superTabControlPanel4.Controls.Add(this.dgvDrugsSQ); this.superTabControlPanel4.Controls.Add(this.dgvDrugsSQ);
@ -1544,208 +1746,6 @@
this.imageList1.Images.SetKeyName(0, "插入列.png"); this.imageList1.Images.SetKeyName(0, "插入列.png");
this.imageList1.Images.SetKeyName(1, "未插入列 .png"); this.imageList1.Images.SetKeyName(1, "未插入列 .png");
// //
// dataGridViewImageColumn1
//
this.dataGridViewImageColumn1.HeaderText = " ";
this.dataGridViewImageColumn1.Image = global::AIMS.Properties.Resources.SYSCRL;
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
this.dataGridViewImageColumn1.Width = 30;
//
// dataGridViewTextBoxColumn1
//
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Red;
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn1.HeaderText = "组";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Width = 30;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.HeaderText = "类型";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.Visible = false;
this.dataGridViewTextBoxColumn2.Width = 60;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn3.HeaderText = "名称";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// dataGridViewComboEditBoxColumn2
//
this.dataGridViewComboEditBoxColumn2.HeaderText = "备注";
this.dataGridViewComboEditBoxColumn2.Name = "dataGridViewComboEditBoxColumn2";
this.dataGridViewComboEditBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// dataGridViewComboBoxColumn1
//
this.dataGridViewComboBoxColumn1.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn1.HeaderText = "途径";
this.dataGridViewComboBoxColumn1.Name = "dataGridViewComboBoxColumn1";
this.dataGridViewComboBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn1.Width = 85;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.HeaderText = "浓度";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn4.Width = 45;
//
// dataGridViewComboBoxColumn2
//
this.dataGridViewComboBoxColumn2.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn2.HeaderText = "浓度单位";
this.dataGridViewComboBoxColumn2.Name = "dataGridViewComboBoxColumn2";
this.dataGridViewComboBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn2.Width = 75;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.HeaderText = "速度";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn5.Width = 45;
//
// dataGridViewComboBoxColumn3
//
this.dataGridViewComboBoxColumn3.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn3.HeaderText = "速度单位";
this.dataGridViewComboBoxColumn3.Name = "dataGridViewComboBoxColumn3";
this.dataGridViewComboBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn3.Width = 85;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.HeaderText = "用量";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.dataGridViewTextBoxColumn6.Width = 60;
//
// dataGridViewComboBoxColumn4
//
this.dataGridViewComboBoxColumn4.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn4.HeaderText = "单位";
this.dataGridViewComboBoxColumn4.Name = "dataGridViewComboBoxColumn4";
this.dataGridViewComboBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn4.Width = 60;
//
// dataGridViewComboBoxColumn23
//
this.dataGridViewComboBoxColumn23.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn23.HeaderText = "血型";
this.dataGridViewComboBoxColumn23.Name = "dataGridViewComboBoxColumn23";
this.dataGridViewComboBoxColumn23.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn23.Width = 45;
//
// dataGridViewComboBoxColumn24
//
this.dataGridViewComboBoxColumn24.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewComboBoxColumn24.HeaderText = "加药方式";
this.dataGridViewComboBoxColumn24.Name = "dataGridViewComboBoxColumn24";
this.dataGridViewComboBoxColumn24.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewComboBoxColumn24.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewComboBoxColumn24.Visible = false;
this.dataGridViewComboBoxColumn24.Width = 80;
//
// dataGridViewDateTimeInputColumn3
//
this.dataGridViewDateTimeInputColumn3.AutoAdvance = true;
//
//
//
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
this.dataGridViewDateTimeInputColumn3.ButtonDropDown.Visible = true;
this.dataGridViewDateTimeInputColumn3.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
this.dataGridViewDateTimeInputColumn3.HeaderText = "开始时间";
this.dataGridViewDateTimeInputColumn3.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
//
//
//
//
//
//
this.dataGridViewDateTimeInputColumn3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn3.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
//
//
//
this.dataGridViewDateTimeInputColumn3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn3.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
this.dataGridViewDateTimeInputColumn3.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
//
//
//
this.dataGridViewDateTimeInputColumn3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn3.MonthCalendar.Visible = false;
this.dataGridViewDateTimeInputColumn3.Name = "dataGridViewDateTimeInputColumn3";
this.dataGridViewDateTimeInputColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewDateTimeInputColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.dataGridViewDateTimeInputColumn3.Width = 80;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.HeaderText = "持续";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.Width = 45;
//
// dataGridViewDateTimeInputColumn4
//
this.dataGridViewDateTimeInputColumn4.AutoAdvance = true;
//
//
//
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
this.dataGridViewDateTimeInputColumn4.ButtonDropDown.Visible = true;
this.dataGridViewDateTimeInputColumn4.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
this.dataGridViewDateTimeInputColumn4.HeaderText = "结束时间";
this.dataGridViewDateTimeInputColumn4.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
//
//
//
//
//
//
this.dataGridViewDateTimeInputColumn4.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn4.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
//
//
//
this.dataGridViewDateTimeInputColumn4.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn4.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
this.dataGridViewDateTimeInputColumn4.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
//
//
//
this.dataGridViewDateTimeInputColumn4.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewDateTimeInputColumn4.MonthCalendar.Visible = false;
this.dataGridViewDateTimeInputColumn4.Name = "dataGridViewDateTimeInputColumn4";
this.dataGridViewDateTimeInputColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewDateTimeInputColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.dataGridViewDateTimeInputColumn4.Width = 80;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
this.dataGridViewTextBoxColumn8.HeaderText = "通路";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewTextBoxColumn8.Width = 50;
//
// frmFactDrugNew // frmFactDrugNew
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@ -1769,12 +1769,12 @@
this.panel5.ResumeLayout(false); this.panel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).EndInit();
this.tabDrugs.ResumeLayout(false); this.tabDrugs.ResumeLayout(false);
this.superTabControlPanel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).EndInit();
this.superTabControlPanel3.ResumeLayout(false); this.superTabControlPanel3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsYD)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsYD)).EndInit();
this.superTabControlPanel6.ResumeLayout(false); this.superTabControlPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).EndInit();
this.superTabControlPanel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).EndInit();
this.superTabControlPanel4.ResumeLayout(false); this.superTabControlPanel4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).EndInit();
this.panelleft.ResumeLayout(false); this.panelleft.ResumeLayout(false);

View File

@ -136,8 +136,8 @@
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAi ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAa
CAAAAk1TRnQBSQFMAgEBAgEAAaABBgGgAQYBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ CAAAAk1TRnQBSQFMAgEBAgEAAagBBgGoAQYBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ
AwABFAMAAQEBAAEgBgABGS4AA1UBrwOAAf4DKwH8AysB/AGZAYsBQAH9AaEBkgEAAf8BkwGCAQAB/wGW AwABFAMAAQEBAAEgBgABGS4AA1UBrwOAAf4DKwH8AysB/AGZAYsBQAH9AaEBkgEAAf8BkwGCAQAB/wGW
AYcBQAH9AaMBlAEAAf8BowGUAQAB/wGjAZQBAAH/AysB/ANgAej/AA0AAZMBggEAAf8DYgH2A20B9wNt AYcBQAH9AaMBlAEAAf8BowGUAQAB/wGjAZQBAAH/AysB/ANgAej/AA0AAZMBggEAAf8DYgH2A20B9wNt
AfcDXAH4A4AB/gGXAYYBAAH/A20B9wHsAecB5AH/AewB5wHkAf8B7AHnAeQB/wNtAfcBkwGCAQAB//8A AfcDXAH4A4AB/gGXAYYBAAH/A20B9wHsAecB5AH/AewB5wHkAf8B7AHnAeQB/wNtAfcBkwGCAQAB//8A
@ -164,14 +164,14 @@
AfwB/gH6AfsB/wH+AfoB+wH/Af4B+gH7Av8C/QH/AZMBggEAAf//AA0AAZMBggEAAf8DYAHzAf4B+wH8 AfwB/gH6AfsB/wH+AfoB+wH/Af4B+gH7Av8C/QH/AZMBggEAAf//AA0AAZMBggEAAf8DYAHzAf4B+wH8
Af8B/gH7AfwB/wH+AfsB/AH/AfsB+AH5Af8BmwGLAQAB/wMrAfwB/gH7AfwB/wH+AfsB/AH/Af4B+wH8 Af8B/gH7AfwB/wH+AfsB/AH/AfsB+AH5Af8BmwGLAQAB/wMrAfwB/gH7AfwB/wH+AfsB/AH/Af4B+wH8
Av8C/QH/AZMBggEAAf//AA0AAm0BbAH3A1wB+AOAAf4DgAH+A4AB/gOAAf4BmAGHAQAB/wMrAfwB1AHN Av8C/QH/AZMBggEAAf//AA0AAm0BbAH3A1wB+AOAAf4DgAH+A4AB/gOAAf4BmAGHAQAB/wMrAfwB1AHN
AcIB/wHUAc0BwgH/AdQBzQHCAf8DgAH+AZMBggEAAf//AAkAAwMBBANQAZoBkgGCAQAB/wKAAX8B/gKA AcIB/wHUAc0BwgH/AdQBzQHCAf8DgAH+AZMBggEAAf//AAkAAwMBBANQAZoBkgGCAQAB/wOAAf4DgAH+
AX8B/gKAAX8B/gGTAYIBAAH/AZMBggEAAf8BjgGBAQAB/wGTAYIBAAH/AZMBggEAAf8BkwGCAQAB/wKA A4AB/gGTAYIBAAH/AZMBggEAAf8BjgGBAQAB/wGTAYIBAAH/AZMBggEAAf8BkwGCAQAB/wOAAf4DWgG9
AX8B/gNaAb3/AAkAAwMBBAMSARcDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEz /wAJAAMDAQQDEgEXAyMBMwMjATMDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDFgEe
AyMBMwMWAR7/AA0AAwUBBgMEAQUDBAEFAwQBBQMEBAUBBgMFAQYDBQEGAwUBBgMFAQYDBQEGAwUBBgMD /wANAAMFAQYDBAEFAwQBBQMEAQUDBAQFAQYDBQEGAwUBBgMFAQYDBQEGAwUBBgMFAQYDAwEE8AABQgFN
AQTwAAFCAU0BPgcAAT4DAAEoAwABUAMAARQDAAEBAQABAQUAAfAXAAP/AQAB/gEAAQ8C/wcAAf4BAAEP AT4HAAE+AwABKAMAAVADAAEUAwABAQEAAQEFAAHwFwAD/wEAAf4BAAEPAv8HAAH+AQABDwL/BwAB/gEA
Av8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAYABAAEP AQ8C/wcAAf4BAAEPAv8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAGAAQABDwL/CQABDwL/
Av8JAAEPAv8IAAEBAc8C/wgAAQEBzwL/CAABAQHPAv8JAAEPAv8JAAEPAv8HAAH+AQABDwL/BwAB/gEA CAABAQHPAv8IAAEBAc8C/wgAAQEBzwL/CQABDwL/CQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH+
AQ8C/wcAAf4BAAEPAv8HAAH8AQABDwL/BwAB/AEAAQ8C/wcAAf4BAAEPAv8HAAs= AQABDwL/BwAB/AEAAQ8C/wcAAfwBAAEPAv8HAAH+AQABDwL/BwAL
</value> </value>
</data> </data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@ -1,9 +1,9 @@
using AIMSBLL; using AIMSBLL;
using AIMSExtension;
using AIMSModel; using AIMSModel;
using DevComponents.DotNetBar; using DevComponents.DotNetBar;
using DevComponents.DotNetBar.Controls; using DevComponents.DotNetBar.Controls;
using DrawGraph; using DrawGraph;
using AIMSExtension;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
@ -11,8 +11,6 @@ using System.Data;
using System.Drawing; using System.Drawing;
using System.Linq; using System.Linq;
using System.Windows.Forms; using System.Windows.Forms;
using System.Data.SqlClient;
using System.Reflection;
namespace AIMS.PublicUI.UI namespace AIMS.PublicUI.UI
{ {
@ -893,27 +891,27 @@ namespace AIMS.PublicUI.UI
public void UpdatePhysioDataResp() public void UpdatePhysioDataResp()
{ {
BOperationRecord.UpdatePhysioDataRespByTime(_record); BOperationRecord.UpdatePhysioDataRespByTime(_record);
string PhysioDataConfigIds = "3,12"; //string PhysioDataConfigIds = "3,12";
DataTable dtPhysioData = BOperationRecord.getByOpeIDIsPhysioData(_record.Id.Value, PhysioDataConfigIds); //DataTable dtPhysioData = BOperationRecord.getByOpeIDIsPhysioData(_record.Id.Value, PhysioDataConfigIds);
List<string> Ids = PhysioDataConfigIds.Split(',').ToList(); //List<string> Ids = PhysioDataConfigIds.Split(',').ToList();
if (dtPhysioData != null && dtPhysioData.Rows.Count > 0) //if (dtPhysioData != null && dtPhysioData.Rows.Count > 0)
{ //{
foreach (PhysioDataConfig addPP in _record.PhysioConfigList) // foreach (PhysioDataConfig addPP in _record.PhysioConfigList)
{ // {
if (!Ids.Contains(addPP.Id.ToString())) continue; // if (!Ids.Contains(addPP.Id.ToString())) continue;
if (zgcAnaesRecord != null) // if (zgcAnaesRecord != null)
addPP.clearAddObj(zgcAnaesRecord); // addPP.clearAddObj(zgcAnaesRecord);
if (addPP.IsDefalultShow == false) continue; // if (addPP.IsDefalultShow == false) continue;
for (int i = 0; i < dtPhysioData.Rows.Count; i++) // for (int i = 0; i < dtPhysioData.Rows.Count; i++)
{ // {
if (dtPhysioData.Rows[i]["Name"].ToString().Equals(addPP.Name.ToString())) // if (dtPhysioData.Rows[i]["Name"].ToString().Equals(addPP.Name.ToString()))
{ // {
PhysioData pdTemp = PhysioDataConfig.newPhysioData(addPP, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString()); // PhysioData pdTemp = PhysioDataConfig.newPhysioData(addPP, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString());
addPP.AddPointItem(pdTemp, false); // addPP.AddPointItem(pdTemp, false);
} // }
} // }
} // }
} //}
} }
private void dgvEvents_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e) private void dgvEvents_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)

View File

@ -448,7 +448,7 @@
this.P2.AttachedControl = this.superTabControlPanel5; this.P2.AttachedControl = this.superTabControlPanel5;
this.P2.GlobalItem = false; this.P2.GlobalItem = false;
this.P2.Name = "P2"; this.P2.Name = "P2";
this.P2.Text = "术用药"; this.P2.Text = "用药";
// //
// superTabControlPanel1 // superTabControlPanel1
// //

View File

@ -20,8 +20,8 @@ namespace AIMS.OperationAanesthesia
public frmSeleteRoom() public frmSeleteRoom()
{ {
InitializeComponent(); InitializeComponent();
panel1.Height = ControlExtension.SiteRooms.Count * 30 ; panel1.Height = ControlExtension.SiteRooms.Count * 30 + 30;
this.Height = ControlExtension.SiteRooms.Count * 30 + 50; this.Height = ControlExtension.SiteRooms.Count * 30 + 100;
} }
private void frmDeletePhysio_Load(object sender, EventArgs e) private void frmDeletePhysio_Load(object sender, EventArgs e)

View File

@ -348,7 +348,7 @@ namespace AIMS.OremrUserControl
ClearT(); ClearT();
} }
myEditControl.Document.Modified = false; myEditControl.Document.Modified = false;
DocumentExtension.SaveCocumentValue(DModel.XmlFileName, myEditControl.Document, Patient); DocumentExtension.SaveCocumentValue(DModel.XmlFileName, myEditControl.Document,ref Patient);
new frmMessageBox().Show(); new frmMessageBox().Show();
} }

View File

@ -181,7 +181,7 @@
<Compile Include="BLL\Extension\BOperationCutType.cs" /> <Compile Include="BLL\Extension\BOperationCutType.cs" />
<Compile Include="BLL\Extension\BOperationLevel.cs" /> <Compile Include="BLL\Extension\BOperationLevel.cs" />
<Compile Include="BLL\Extension\BOperationPosition.cs" /> <Compile Include="BLL\Extension\BOperationPosition.cs" />
<Compile Include="BLL\Extension\BOperationRecord.cs" /> <Compile Include="Extensions\BOperationRecord.cs" />
<Compile Include="BLL\Extension\BOperationRecordInfo.cs" /> <Compile Include="BLL\Extension\BOperationRecordInfo.cs" />
<Compile Include="BLL\Extension\BOperationRecoverInInfo.cs" /> <Compile Include="BLL\Extension\BOperationRecoverInInfo.cs" />
<Compile Include="BLL\Extension\BOperationRecoverOutInfo.cs" /> <Compile Include="BLL\Extension\BOperationRecoverOutInfo.cs" />

View File

@ -477,6 +477,10 @@ namespace AIMSBLL
// messing = EventName + "时间不可以大于当前时间 "; // messing = EventName + "时间不可以大于当前时间 ";
// return false; // return false;
//} //}
if (EventName=="插管" || EventName=="拔管" ||EventName=="喉罩" ||EventName=="拔喉罩")
{
return true;
}
TimeSpan ifinroom = curTimeTemp - _record.InRoomTime.Value; TimeSpan ifinroom = curTimeTemp - _record.InRoomTime.Value;
if (EventName != "入室" && _record.InRoomTime == null) if (EventName != "入室" && _record.InRoomTime == null)
{ {
@ -509,11 +513,11 @@ namespace AIMSBLL
messing = "请先填写手术开始时间!"; messing = "请先填写手术开始时间!";
return false; return false;
} }
if (EventName == "拔管" && _record.SpileInTime == null && OpeState == true) //if (EventName == "拔管" && _record.SpileInTime == null && OpeState == true)
{ //{
messing = "请先填写插管时间!"; // messing = "请先填写插管时间!";
return false; // return false;
} //}
if (EventName == "手术开始" && curTimeTemp > _record.OperationEndTime && OpeState == true) if (EventName == "手术开始" && curTimeTemp > _record.OperationEndTime && OpeState == true)
{ {
messing = "手术开始时间必须晚于手术结束时间(" + _record.OperationEndTime + ") "; messing = "手术开始时间必须晚于手术结束时间(" + _record.OperationEndTime + ") ";
@ -686,6 +690,7 @@ namespace AIMSBLL
public static void UpdatePhysioDataRespByTime(OperationRecord record) public static void UpdatePhysioDataRespByTime(OperationRecord record)
{ {
if (record.SpileInTime == null && record.SpileOutTime != null) return;
int zzhx = 3; int zzhx = 3;
int jxtq = 12; int jxtq = 12;
//限制没有插管不让点击拔管 //限制没有插管不让点击拔管

View File

@ -189,16 +189,18 @@ namespace AIMSBLL
BFactOperationCutType.Add(FactOperationCutTypeObj); BFactOperationCutType.Add(FactOperationCutTypeObj);
} }
//医生信息 //医生信息
bool isAnesDoctor = false;
DataTable dt = BApplyPersonDuty.GetPersonDataTable(ApplyId); DataTable dt = BApplyPersonDuty.GetPersonDataTable(ApplyId);
for (int i = 0; i < dt.Rows.Count; i++) for (int i = 0; i < dt.Rows.Count; i++)
{ {
if (int.Parse(dt.Rows[i]["PersonDutyId"].ToString()) != 2) int PersonDutyId = int.Parse(dt.Rows[i]["PersonDutyId"].ToString());
if (PersonDutyId != 2)
{ {
if (PersonDutyId == 5) isAnesDoctor = true;
FactPersonDuty FactPersonDutyObj = new FactPersonDuty(); FactPersonDuty FactPersonDutyObj = new FactPersonDuty();
FactPersonDutyObj.PatientId = PatientId; FactPersonDutyObj.PatientId = PatientId;
FactPersonDutyObj.ApplyId = ApplyId; FactPersonDutyObj.ApplyId = ApplyId;
FactPersonDutyObj.PersonDutyId = int.Parse(dt.Rows[i]["PersonDutyId"].ToString()); FactPersonDutyObj.PersonDutyId = PersonDutyId;
FactPersonDutyObj.PersonId = int.Parse(dt.Rows[i]["PersonId"].ToString()); FactPersonDutyObj.PersonId = int.Parse(dt.Rows[i]["PersonId"].ToString());
FactPersonDutyObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; FactPersonDutyObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
FactPersonDutyObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; FactPersonDutyObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
@ -221,6 +223,19 @@ namespace AIMSBLL
BFactPersonDuty.Add(FactPersonDutyObj); BFactPersonDuty.Add(FactPersonDutyObj);
} }
} }
//如果手术麻醉师空 默认当前登录麻醉师
if (isAnesDoctor == false && "7,9".Contains(PublicMethod.RoleId.ToString()))
{
FactPersonDuty FactPersonDutyObj = new FactPersonDuty();
FactPersonDutyObj.PatientId = PatientId;
FactPersonDutyObj.ApplyId = ApplyId;
FactPersonDutyObj.PersonDutyId = 5;
FactPersonDutyObj.PersonId = PublicMethod.OperatorId;
FactPersonDutyObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
FactPersonDutyObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
FactPersonDutyObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
BFactPersonDuty.Add(FactPersonDutyObj);
}
if (PublicMethod.HospitalName.Contains("金州")) if (PublicMethod.HospitalName.Contains("金州"))
{ {
@ -253,8 +268,6 @@ namespace AIMSBLL
BFactEvents.Add(FactEventsObj); BFactEvents.Add(FactEventsObj);
} }
HelperDB.DbHelperSQL.CommitTrans(); HelperDB.DbHelperSQL.CommitTrans();
} }

View File

@ -1,7 +1,9 @@
using AIMSExtension; using AIMSExtension;
using DCSoft.Writer.Dom; using DCSoft.Writer.Dom;
using HelperDB;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Xml.Linq; using System.Xml.Linq;
@ -221,7 +223,7 @@ namespace DocumentManagement
} }
} }
} }
public static void SaveCocumentValue(string XmlFileName, XTextDocument Document, PatientRecord Patient) public static void SaveCocumentValue(string XmlFileName, XTextDocument Document, ref PatientRecord Patient)
{ {
try try
{ {
@ -259,7 +261,22 @@ namespace DocumentManagement
} }
} }
UpdateASA(Patient.ApplyId, asaname, niyme); UpdateASA(Patient.ApplyId, asaname, niyme);
} if (XmlFileName == "麻醉术前访视评估单")
{
var operation = Document.Fields.ToArray().Where(x => x.ID == "KB20180604142340471").FirstOrDefault();
if (operation != null && operation.Text != "" && operation.Text != Patient.ApplyOperationInfoName)
{
AddApplyOperation(Patient, GetOperationId(operation.Text));
Patient.ApplyOperationInfoName = operation.Text;
}
var diagnose = Document.Fields.ToArray().Where(x => x.ID == "field69").FirstOrDefault();
if (diagnose != null && diagnose.Text != "" && diagnose.Text != Patient.ApplyDiagnoseInfoName)
{
AddApplyDiagnose(Patient, GetDiagnoseId(diagnose.Text));
Patient.ApplyDiagnoseInfoName = diagnose.Text;
}
}
}
else if (XmlFileName == "麻醉知情同意书") else if (XmlFileName == "麻醉知情同意书")
{ {
var asa = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement var asa = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
@ -334,7 +351,7 @@ namespace DocumentManagement
var zthd = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement var zthd = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "实际手术时间" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault(); && (x as XTextRadioBoxElement).GroupName == "实际手术时间" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (zthd != null) if (zthd != null)
num += int.Parse(zthd.FormulaValue); num += int.Parse(zthd.FormulaValue);
var patientId = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement var patientId = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
&& (x as XTextInputFieldElement).ID == "field14").FirstOrDefault(); && (x as XTextInputFieldElement).ID == "field14").FirstOrDefault();
@ -347,6 +364,75 @@ namespace DocumentManagement
} }
} }
public static int AddApplyOperation(PatientRecord _operationRecord, string Operation)
{
int i = 0;
if (Operation.Trim() == "" || Operation == ",")
{
DeleteApplyOperation(_operationRecord.ApplyId);
i++;
}
else
{
DeleteApplyOperation(_operationRecord.ApplyId);
i++;
string[] Operationstr = Operation.Split(',');
foreach (string OperationId in Operationstr)
{
string Name = "";
string sql = string.Format("select Name from Operation where Id = '{0}'", OperationId);
object dt = DBHelper.ExecuteScalar(sql);
if (dt != null) { Name = dt.ToString(); }
StringBuilder strSql = new StringBuilder();
strSql.Append("insert into [ApplyOperationInfo](");
strSql.Append("OperationApplyId,OperationId,OperatorNo,OperatorName,OperateDate,OperationName,LeftRemark,RightRemark");
strSql.Append(")");
strSql.Append(" values (");
strSql.Append("" + _operationRecord.ApplyId + ",");
strSql.Append("" + OperationId + ",");
strSql.Append("'" + AIMSExtension.PublicMethod.OperatorNo + "',");
strSql.Append("'" + AIMSExtension.PublicMethod.OperatorName + "',");
strSql.Append("'" + DateTime.Now + "',");
strSql.Append("'" + Name + "',");//" + FactOperationInfoObj.OperationName + "
strSql.Append("'',");//" + FactOperationInfoObj.LeftRemark + "
strSql.Append("''");//" + FactOperationInfoObj.RightRemark + "
strSql.Append(")");
i += HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
}
return i;
}
public static int AddApplyDiagnose(PatientRecord _operationRecord, string Diagnose)
{
int i = 0;
if (Diagnose.Trim() == "" || Diagnose == ",")
{
DeleteApplyDiagnose(_operationRecord.ApplyId);
i++;
}
else
{
DeleteApplyDiagnose(_operationRecord.ApplyId);
i++;
string[] Diagnosestr = Diagnose.Split(',');
foreach (string DiagnoseId in Diagnosestr)
{
StringBuilder strSql = new StringBuilder();
strSql.Append("insert into [ApplyDiagnoseInfo](");
strSql.Append("OperationApplyId,DiagnoseId,OperatorNo,OperatorName,OperateDate");
strSql.Append(")");
strSql.Append(" values (");
strSql.Append("" + _operationRecord.ApplyId + ",");
strSql.Append("" + DiagnoseId + ",");
strSql.Append("'" + AIMSExtension.PublicMethod.OperatorNo + "',");
strSql.Append("'" + AIMSExtension.PublicMethod.OperatorName + "',");
strSql.Append("'" + DateTime.Now + "'");
strSql.Append(")");
i += HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
}
return i;
}
public static void AddAnaesthesiaMethod(PatientRecord _operationRecord, string AnaesthesiaMethod) public static void AddAnaesthesiaMethod(PatientRecord _operationRecord, string AnaesthesiaMethod)
{ {
if (AnaesthesiaMethod.Trim() == "" || AnaesthesiaMethod == "+") if (AnaesthesiaMethod.Trim() == "" || AnaesthesiaMethod == "+")
@ -381,6 +467,20 @@ namespace DocumentManagement
strSql.Append(" where OperationApplyId=" + PatientId + " "); strSql.Append(" where OperationApplyId=" + PatientId + " ");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
} }
public static void DeleteApplyOperation(int OperationApplyId)
{
StringBuilder strSql = new StringBuilder();
strSql.Append("delete ApplyOperationInfo ");
strSql.Append(" where OperationApplyId=" + OperationApplyId + " ");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
public static void DeleteApplyDiagnose(int OperationApplyId)
{
StringBuilder strSql = new StringBuilder();
strSql.Append("delete ApplyDiagnoseInfo ");
strSql.Append(" where OperationApplyId=" + OperationApplyId + " ");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
public static int GetAnaesthesiaMethodId(string Name) public static int GetAnaesthesiaMethodId(string Name)
{ {
try try
@ -396,6 +496,86 @@ namespace DocumentManagement
return 1; return 1;
} }
} }
private static string GetOperationId(string Name)
{
string namestr = Name.Replace("\n", "").Replace("\t", "");
List<string> result = new List<string>();
List<string> names = new List<string>();
if (namestr.Contains(","))
{
names = namestr.Split(',').ToList();
}
else if (namestr.Contains(""))
{
names = namestr.Split('').ToList();
}
else if (namestr.Contains("+"))
{
names = namestr.Split('+').ToList();
}
else
{
names.Add(namestr);
}
foreach (var name in names)
{
DataTable dt = DBHelper.GetDataTable("select * from Operation where Name ='" + name + "'");
if (dt.Rows.Count == 0)
{
DBHelper.ExecNonQuery(string.Concat(new Object[]{
"insert into Operation(ICDCode,Name,HelpCode,IsValid,UseRate,OperatorNo,[OperatorName],OperateDate) values('','"+name+"','"+PublicMethod.GetFirstLetter(name)+"',1,1,'admin','系统管理员','"+DateTime.Now+"')"}));
}
dt = DBHelper.GetDataTable("select * from Operation where Name ='" + name + "'");
if (dt.Rows.Count > 0)
{
for (int j = 0; j < dt.Rows.Count; j++)
{
result.Add(dt.Rows[0]["Id"].ToString());
}
}
}
return string.Join(",", result.ToArray());
}
private static string GetDiagnoseId(string Name)
{
string namestr = Name.Replace("\n", "").Replace("\t", "");
List<string> result = new List<string>();
List<string> names = new List<string>();
if (namestr.Contains(","))
{
names = namestr.Split(',').ToList();
}
else if (namestr.Contains(""))
{
names = namestr.Split('').ToList();
}
else if (namestr.Contains("+"))
{
names = namestr.Split('+').ToList();
}
else
{
names.Add(namestr);
}
foreach (var name in names)
{
DataTable dt = DBHelper.GetDataTable("select * from Disease where Name ='" + name + "'");
if (dt.Rows.Count == 0)
{
DBHelper.ExecNonQuery(string.Concat(new Object[]{
"insert into Disease(ICDCode,Name,HelpCode,IsValid,UseRate,OperatorNo,[OperatorName],OperateDate) values('','"+name+"','"+PublicMethod.GetFirstLetter(name)+"',1,1,'admin','系统管理员','"+DateTime.Now+"')"}));
}
dt = DBHelper.GetDataTable("select * from Disease where Name ='" + name + "'");
if (dt.Rows.Count > 0)
{
for (int j = 0; j < dt.Rows.Count; j++)
{
result.Add(dt.Rows[0]["Id"].ToString());
}
}
}
return string.Join(",", result.ToArray());
}
public static void UpdateASA(int ApplyId, string ASA, string HeartFunctionLevel) public static void UpdateASA(int ApplyId, string ASA, string HeartFunctionLevel)
{ {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();

View File

@ -174,7 +174,7 @@ namespace DrawGraph
break; break;
case "OperationRecord.TourNurse": case "OperationRecord.TourNurse":
Worker_Click(aEdit1, e, 3); Worker_Click(aEdit1, e, 3);
break; break;
case "OperationRecord.Operation": //手术名称 case "OperationRecord.Operation": //手术名称
ope_Click(aEdit1, e); ope_Click(aEdit1, e);
break; break;

View File

@ -735,8 +735,7 @@ namespace DrawGraph
if (DataSourceName == "OperationRecord.Height" || DataSourceName == "OperationRecord.Weight") if (DataSourceName == "OperationRecord.Height" || DataSourceName == "OperationRecord.Weight")
{ {
SetBMI(true); SetBMI(true);
} }
} }
////设置属性的值 ////设置属性的值
//ableEdit.IsVisible = !ableEdit.IsVisible; //ableEdit.IsVisible = !ableEdit.IsVisible;

View File

@ -48,7 +48,7 @@ namespace DrawGraph
strSql = "SELECT top 20 p.Id,p.Name,p.No Code FROM Person p WHERE p.IsValid=1 AND p.PersonType ='麻醉护士' AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' OR p.No LIKE '%" + HelpCode + "%')"; strSql = "SELECT top 20 p.Id,p.Name,p.No Code FROM Person p WHERE p.IsValid=1 AND p.PersonType ='麻醉护士' AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' OR p.No LIKE '%" + HelpCode + "%')";
if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") "; if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") ";
strSql += " order by PersonOrder asc"; strSql += " order by PersonOrder asc";
} }
break; break;
case "手术": case "手术":
strSql = "SELECT top 20 p.Id,p.Name,p.IcdCode Code FROM Operation p WHERE p.IsValid=1 AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' OR p.IcdCode LIKE '%" + HelpCode + "%')"; strSql = "SELECT top 20 p.Id,p.Name,p.IcdCode Code FROM Operation p WHERE p.IsValid=1 AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' OR p.IcdCode LIKE '%" + HelpCode + "%')";
@ -188,7 +188,7 @@ namespace DrawGraph
} }
else if (items[1] == "OperationType") else if (items[1] == "OperationType")
{ {
i += UpdateApply(items[1] + "='" + value + "' where Id= " + _operationRecord.PatientId); i += UpdateApply(items[1] + "='" + value + "' where Id= " + _operationRecord.OperationApplyId);
} }
else else
{ {

View File

@ -177,7 +177,7 @@ namespace DrawGraph
if (curTimeTemp > serverTime) curTimeTemp = serverTime; if (curTimeTemp > serverTime) curTimeTemp = serverTime;
//超出的药画备注 镇痛药备注 //超出的药画备注 镇痛药备注
List<string> DrugListstr = new List<string>(); List<string> DrugListstr = new List<string>();
DrugListstr.Add("【术用药】"); DrugListstr.Add("【用药】");
myOpeRecord.StandbyListstr = new List<string>(); myOpeRecord.StandbyListstr = new List<string>();
myOpeRecord.StandbyListstr.Add("【备用药品】"); myOpeRecord.StandbyListstr.Add("【备用药品】");
myOpeRecord.BackListstr = new List<string>(); myOpeRecord.BackListstr = new List<string>();

View File

@ -227,7 +227,7 @@ namespace DrawGraph
for (int i = 0; i < _FactDrugList.Count; i++) for (int i = 0; i < _FactDrugList.Count; i++)
{ {
FactDrug temp = _FactDrugList[i]; FactDrug temp = _FactDrugList[i];
if (temp.GiveDrugType == "麻醉前用药" || temp.GiveDrugType == "术后镇痛药" || temp.DrugChannel == "备用" ||temp.DrugChannel == "配药" || temp.GiveDrugType == "麻醉诱导用药" || temp.Access == "下") continue; if (temp.GiveDrugType == "麻醉前用药" || temp.GiveDrugType == "术后镇痛药" || temp.DrugChannel == "备用" ||temp.DrugChannel == "配药"|| temp.Access == "下") continue;// || temp.GiveDrugType == "麻醉诱导用药"
//子药不画 //子药不画
if (temp.ParentId > 0) continue; if (temp.ParentId > 0) continue;
bool isEqual = false; bool isEqual = false;