diff --git a/AIMS/AIMS.csproj b/AIMS/AIMS.csproj
index 2899170..fa760c2 100644
--- a/AIMS/AIMS.csproj
+++ b/AIMS/AIMS.csproj
@@ -201,6 +201,7 @@
frmPharmaCology.cs
+
Form
diff --git a/AIMS/DocManager/frmDocument.cs b/AIMS/DocManager/frmDocument.cs
index 4182676..5ec4fb1 100644
--- a/AIMS/DocManager/frmDocument.cs
+++ b/AIMS/DocManager/frmDocument.cs
@@ -203,24 +203,7 @@ namespace AIMS.DocManager
private void buttonX1_Click(object sender, EventArgs e)
{
- if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
- {
- if (Patient.HISPatientId != null && Patient.VisitTimes != null)
- try
- {
- string patientId = "orcl:LDQ:5:1:0:" + Patient.HISPatientId + ":" + Patient.VisitTimes + "";
- Process myprocess = new Process();
- ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\APPSOFT\zlSoftCISInterface.exe", patientId);
- PublicMethod.WriteLog(new Exception(@"C:\APPSOFT\zlSoftCISInterface.exe" + patientId));
- myprocess.StartInfo = startInfo;
- myprocess.StartInfo.UseShellExecute = false;
- myprocess.Start();
- }
- catch (Exception )
- {
- MessageBox.Show(@"在C:\APPSOFT\zlSoftCISInterface.exe路径下找不到“zlSoftCISInterface.exe”");
- }
- }
+ EMRExtension.OpenEMRS(Patient.PatientId, Patient.ApplyId);
}
}
}
diff --git a/AIMS/DocManager/frmDocument3.cs b/AIMS/DocManager/frmDocument3.cs
index 6688718..fc2e102 100644
--- a/AIMS/DocManager/frmDocument3.cs
+++ b/AIMS/DocManager/frmDocument3.cs
@@ -435,26 +435,7 @@ namespace AIMS.OperationAfter.UI
MessageBox.Show("请先选择患者!", "系统提示");
return;
}
- if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
- {
- if (Patient.HISPatientId != null && Patient.VisitTimes != null)
- {
- try
- {
- string patientId = "orcl:LDQ:5:1:0:" + Patient.HISPatientId + ":" + Patient.VisitTimes + "";
- Process myprocess = new Process();
- ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\APPSOFT\zlSoftCISInterface.exe", patientId);
- PublicMethod.WriteLog(new Exception(@"C:\APPSOFT\zlSoftCISInterface.exe" + patientId));
- myprocess.StartInfo = startInfo;
- myprocess.StartInfo.UseShellExecute = false;
- myprocess.Start();
- }
- catch (Exception )
- {
- MessageBox.Show(@"在C:\APPSOFT\zlSoftCISInterface.exe路径下找不到“zlSoftCISInterface.exe”");
- }
- }
- }
+ EMRExtension.OpenEMRS(Patient.PatientId, Patient.ApplyId);
}
private void buttonX2_Click(object sender, EventArgs e)
diff --git a/AIMS/Extensions/EMRExtension.cs b/AIMS/Extensions/EMRExtension.cs
new file mode 100644
index 0000000..852491e
--- /dev/null
+++ b/AIMS/Extensions/EMRExtension.cs
@@ -0,0 +1,49 @@
+using AIMSBLL;
+using AIMSExtension;
+using AIMSModel;
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace AIMS
+{
+ public class EMRExtension
+ {
+ public static void OpenEMRS(int patientid, int applyid)
+ {
+ OperationApply opeapply = new OperationApply();
+ if (applyid > 0) opeapply = BOperationApply.SelectSingle(applyid, RecursiveType.None, 0);
+ OrisPatient pat = BOrisPatient.SelectSingle(patientid == 0 ? opeapply.OrisPatientId.Value : patientid, RecursiveType.None, 0);
+ if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
+ {
+ try
+ {
+ string patientId = "orcl:LDQ:5:1:0:" + pat.HisPatientId + ":" + pat.VisitTimes + "";
+ Process myprocess = new Process();
+ ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\APPSOFT\zlSoftCISInterface.exe", patientId);
+ PublicMethod.WriteLog(new Exception(@"C:\APPSOFT\zlSoftCISInterface.exe" + patientId));
+ myprocess.StartInfo = startInfo;
+ myprocess.StartInfo.UseShellExecute = false;
+ myprocess.Start();
+ }
+ catch (Exception)
+ {
+ MessageBox.Show(@"在C:\APPSOFT\zlSoftCISInterface.exe路径下找不到“zlSoftCISInterface.exe”");
+ }
+ }
+ if (PublicMethod.GetHospitalName().Contains("金州"))
+ {
+ string HisPatientId = pat.HisPatientId;
+ string VisitTimes = pat.VisitTimes;
+
+ string Path = string.Format("http://172.16.10.175:5001/?inoutType=2&patiId={0}&visitId={1}&userName=系统管理员", HisPatientId, VisitTimes);
+ System.Diagnostics.Process.Start(Path);
+ //BrowserHelper.OpenBrowserUrlChrome(Path);
+ }
+
+ }
+ }
+}
diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.Designer.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.Designer.cs
index 9b944e4..0e88a85 100644
--- a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.Designer.cs
+++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.Designer.cs
@@ -634,55 +634,55 @@
// lblSpo2
//
this.lblSpo2.AutoSize = true;
- this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 23F);
+ this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblSpo2.ForeColor = System.Drawing.Color.Cyan;
- this.lblSpo2.Location = new System.Drawing.Point(56, 399);
+ this.lblSpo2.Location = new System.Drawing.Point(43, 410);
this.lblSpo2.Name = "lblSpo2";
- this.lblSpo2.Size = new System.Drawing.Size(43, 40);
+ this.lblSpo2.Size = new System.Drawing.Size(50, 46);
this.lblSpo2.TabIndex = 9;
this.lblSpo2.Text = "--";
//
// lblRESP
//
this.lblRESP.AutoSize = true;
- this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 23F);
- this.lblRESP.ForeColor = System.Drawing.Color.Yellow;
- this.lblRESP.Location = new System.Drawing.Point(56, 308);
+ this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.lblRESP.ForeColor = System.Drawing.Color.DarkOrange;
+ this.lblRESP.Location = new System.Drawing.Point(53, 317);
this.lblRESP.Name = "lblRESP";
- this.lblRESP.Size = new System.Drawing.Size(43, 40);
+ this.lblRESP.Size = new System.Drawing.Size(50, 46);
this.lblRESP.TabIndex = 7;
this.lblRESP.Text = "--";
//
// lblDia
//
this.lblDia.AutoSize = true;
- this.lblDia.Font = new System.Drawing.Font("微软雅黑", 23F);
+ this.lblDia.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblDia.ForeColor = System.Drawing.Color.Red;
- this.lblDia.Location = new System.Drawing.Point(30, 217);
+ this.lblDia.Location = new System.Drawing.Point(27, 224);
this.lblDia.Name = "lblDia";
- this.lblDia.Size = new System.Drawing.Size(108, 40);
+ this.lblDia.Size = new System.Drawing.Size(125, 46);
this.lblDia.TabIndex = 5;
this.lblDia.Text = "---/---";
//
// lblPR
//
this.lblPR.AutoSize = true;
- this.lblPR.Font = new System.Drawing.Font("微软雅黑", 23F);
+ this.lblPR.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblPR.ForeColor = System.Drawing.Color.Green;
- this.lblPR.Location = new System.Drawing.Point(56, 126);
+ this.lblPR.Location = new System.Drawing.Point(53, 131);
this.lblPR.Name = "lblPR";
- this.lblPR.Size = new System.Drawing.Size(43, 40);
+ this.lblPR.Size = new System.Drawing.Size(50, 46);
this.lblPR.TabIndex = 3;
this.lblPR.Text = "--";
//
// lblHR
//
this.lblHR.AutoSize = true;
- this.lblHR.Font = new System.Drawing.Font("微软雅黑", 23F);
+ this.lblHR.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblHR.ForeColor = System.Drawing.Color.Green;
- this.lblHR.Location = new System.Drawing.Point(56, 35);
+ this.lblHR.Location = new System.Drawing.Point(53, 38);
this.lblHR.Name = "lblHR";
- this.lblHR.Size = new System.Drawing.Size(43, 40);
+ this.lblHR.Size = new System.Drawing.Size(50, 46);
this.lblHR.TabIndex = 1;
this.lblHR.Text = "--";
//
@@ -692,7 +692,7 @@
this.label9.BackColor = System.Drawing.Color.White;
this.label9.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label9.ForeColor = System.Drawing.Color.DimGray;
- this.label9.Location = new System.Drawing.Point(37, 376);
+ this.label9.Location = new System.Drawing.Point(37, 384);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(95, 24);
this.label9.TabIndex = 10;
@@ -704,7 +704,7 @@
this.label8.BackColor = System.Drawing.Color.White;
this.label8.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label8.ForeColor = System.Drawing.Color.DimGray;
- this.label8.Location = new System.Drawing.Point(29, 285);
+ this.label8.Location = new System.Drawing.Point(29, 291);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(110, 24);
this.label8.TabIndex = 8;
@@ -716,7 +716,7 @@
this.label6.BackColor = System.Drawing.Color.White;
this.label6.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.ForeColor = System.Drawing.Color.DimGray;
- this.label6.Location = new System.Drawing.Point(21, 194);
+ this.label6.Location = new System.Drawing.Point(21, 198);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(127, 24);
this.label6.TabIndex = 4;
@@ -728,7 +728,7 @@
this.label10.BackColor = System.Drawing.Color.White;
this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label10.ForeColor = System.Drawing.Color.DimGray;
- this.label10.Location = new System.Drawing.Point(49, 441);
+ this.label10.Location = new System.Drawing.Point(47, 458);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(70, 17);
this.label10.TabIndex = 2;
@@ -740,7 +740,7 @@
this.label7.BackColor = System.Drawing.Color.White;
this.label7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label7.ForeColor = System.Drawing.Color.DimGray;
- this.label7.Location = new System.Drawing.Point(47, 350);
+ this.label7.Location = new System.Drawing.Point(47, 365);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(74, 17);
this.label7.TabIndex = 2;
@@ -752,7 +752,7 @@
this.label5.BackColor = System.Drawing.Color.White;
this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ForeColor = System.Drawing.Color.DimGray;
- this.label5.Location = new System.Drawing.Point(39, 259);
+ this.label5.Location = new System.Drawing.Point(39, 272);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(91, 17);
this.label5.TabIndex = 2;
@@ -764,7 +764,7 @@
this.label3.BackColor = System.Drawing.Color.White;
this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.ForeColor = System.Drawing.Color.DimGray;
- this.label3.Location = new System.Drawing.Point(44, 168);
+ this.label3.Location = new System.Drawing.Point(44, 179);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(81, 17);
this.label3.TabIndex = 2;
@@ -776,7 +776,7 @@
this.label2.BackColor = System.Drawing.Color.White;
this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.ForeColor = System.Drawing.Color.DimGray;
- this.label2.Location = new System.Drawing.Point(44, 77);
+ this.label2.Location = new System.Drawing.Point(44, 86);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(81, 17);
this.label2.TabIndex = 2;
@@ -788,7 +788,7 @@
this.label4.BackColor = System.Drawing.Color.White;
this.label4.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.ForeColor = System.Drawing.Color.DimGray;
- this.label4.Location = new System.Drawing.Point(29, 103);
+ this.label4.Location = new System.Drawing.Point(29, 105);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(110, 24);
this.label4.TabIndex = 2;
@@ -862,6 +862,7 @@
this.superTabMain.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.spTabQXQDD,
this.spTabBM});
+ this.superTabMain.SelectedTabChanged += new System.EventHandler(this.superTabMain_SelectedTabChanged);
//
// superTabControlPanel1
//
diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs
index 51152e4..01f4204 100644
--- a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs
+++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs
@@ -117,7 +117,6 @@ namespace AIMS.OperationAanesthesia
_record.SelPhysioConfig = null;
}
-
Panel panel = zgcAnaesRecord.Parent as Panel;
panel.VerticalScroll.Value = 0;
Panel panel2 = zgcAnaesRecord2.Parent as Panel;
@@ -1553,7 +1552,8 @@ namespace AIMS.OperationAanesthesia
}
string szyssy = ssy + "/" + szy;
- lblDia.Text = szyssy == "/" ? "---/---" : szyssy;
+ if (szyssy != "/")
+ lblDia.Text = szyssy;
}
else
{
@@ -1563,7 +1563,7 @@ namespace AIMS.OperationAanesthesia
lblPR.Text = "--";
lblDia.Text = "---/---";
lblHR.ForeColor = Color.Green;
- lblRESP.ForeColor = Color.Yellow;
+ lblRESP.ForeColor = Color.DarkOrange;
lblSpo2.ForeColor = Color.Cyan;
lblPR.ForeColor = Color.Green;
lblDia.ForeColor = Color.Red;
@@ -1949,7 +1949,7 @@ namespace AIMS.OperationAanesthesia
}
catch (Exception ex)
{
- PublicMethod.WriteLog(ex);
+ PublicMethod.WriteLog(ex);
}
}
@@ -2212,7 +2212,7 @@ namespace AIMS.OperationAanesthesia
lblPR.Text = "--";
lblDia.Text = "---/---";
lblHR.ForeColor = Color.Green;
- lblRESP.ForeColor = Color.Yellow;
+ lblRESP.ForeColor = Color.DarkOrange;
lblSpo2.ForeColor = Color.Cyan;
lblPR.ForeColor = Color.Green;
lblDia.ForeColor = Color.Red;
@@ -2277,22 +2277,9 @@ namespace AIMS.OperationAanesthesia
private void btnsjzx_Click(object sender, EventArgs e)
{
- if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
+ if (_record != null)
{
- try
- {
- string patientId = "orcl:LDQ:5:1:0:" + _record.HISPatientId + ":" + _record.VisitTimes + "";
- Process myprocess = new Process();
- ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\APPSOFT\zlSoftCISInterface.exe", patientId);
- PublicMethod.WriteLog(new Exception(@"C:\APPSOFT\zlSoftCISInterface.exe" + patientId));
- myprocess.StartInfo = startInfo;
- myprocess.StartInfo.UseShellExecute = false;
- myprocess.Start();
- }
- catch (Exception )
- {
- MessageBox.Show(@"在C:\APPSOFT\zlSoftCISInterface.exe路径下找不到“zlSoftCISInterface.exe”");
- }
+ EMRExtension.OpenEMRS(_record.PatientId.Value, _record.OperationApplyId.Value);
}
}
private void btnChage_Click(object sender, EventArgs e)
@@ -2325,6 +2312,16 @@ namespace AIMS.OperationAanesthesia
}
}
}
+ private void superTabMain_SelectedTabChanged(object sender, SuperTabStripSelectedTabChangedEventArgs e)
+ {
+
+ if (_record.SelPhysioConfig != null)
+ {
+ _record.SelPhysioConfig.IsClick = false;
+ _record.SelPhysioConfig.onClick(e);
+ _record.SelPhysioConfig = null;
+ }
+ }
#endregion
}
diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecover.Designer.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecover.Designer.cs
index 6e87269..982488f 100644
--- a/AIMS/OperationAanesthesia/frmAanesthesiaRecover.Designer.cs
+++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecover.Designer.cs
@@ -66,9 +66,6 @@
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
- this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
- this.circularProgress1 = new DevComponents.DotNetBar.Controls.CircularProgress();
- this.zgcAnaesRecord = new DrawGraph.ZedGraphControl();
this.panel7 = new System.Windows.Forms.Panel();
this.panel21 = new System.Windows.Forms.Panel();
this.panel17 = new System.Windows.Forms.Panel();
@@ -100,12 +97,15 @@
this.picInRoom = new System.Windows.Forms.PictureBox();
this.txtInRoom1 = new System.Windows.Forms.Button();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+ this.button1 = new System.Windows.Forms.Button();
+ this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
+ this.circularProgress1 = new DevComponents.DotNetBar.Controls.CircularProgress();
+ this.zgcAnaesRecord = new DrawGraph.ZedGraphControl();
this.panel3.SuspendLayout();
this.panel14.SuspendLayout();
this.panel4.SuspendLayout();
this.panel1.SuspendLayout();
this.panel5.SuspendLayout();
- this.panel8.SuspendLayout();
this.panel7.SuspendLayout();
this.panel21.SuspendLayout();
this.plTitleEventTime.SuspendLayout();
@@ -121,6 +121,7 @@
this.panel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.picInRoom)).BeginInit();
+ this.panel8.SuspendLayout();
this.SuspendLayout();
//
// panel2
@@ -366,6 +367,7 @@
// panel4
//
this.panel4.BackColor = System.Drawing.Color.White;
+ this.panel4.Controls.Add(this.button1);
this.panel4.Controls.Add(this.btnChage);
this.panel4.Controls.Add(this.lblSpo2);
this.panel4.Controls.Add(this.lblRESP);
@@ -694,60 +696,6 @@
this.panel5.Size = new System.Drawing.Size(1040, 859);
this.panel5.TabIndex = 4;
//
- // panel8
- //
- this.panel8.AutoScroll = true;
- this.panel8.BackColor = System.Drawing.Color.White;
- this.panel8.Controls.Add(this.circularProgress1);
- this.panel8.Controls.Add(this.zgcAnaesRecord);
- this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel8.Location = new System.Drawing.Point(0, 58);
- this.panel8.Name = "panel8";
- this.panel8.Size = new System.Drawing.Size(1038, 759);
- this.panel8.TabIndex = 2;
- this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
- //
- // circularProgress1
- //
- this.circularProgress1.AnimationSpeed = 50;
- //
- //
- //
- this.circularProgress1.BackgroundStyle.BackgroundImageAlpha = ((byte)(0));
- this.circularProgress1.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom;
- this.circularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.circularProgress1.FocusCuesEnabled = false;
- this.circularProgress1.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.circularProgress1.Location = new System.Drawing.Point(361, 252);
- this.circularProgress1.Margin = new System.Windows.Forms.Padding(4);
- this.circularProgress1.Name = "circularProgress1";
- this.circularProgress1.ProgressColor = System.Drawing.Color.DodgerBlue;
- this.circularProgress1.Size = new System.Drawing.Size(389, 239);
- this.circularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
- this.circularProgress1.TabIndex = 6;
- this.circularProgress1.Value = 100;
- //
- // zgcAnaesRecord
- //
- this.zgcAnaesRecord.Location = new System.Drawing.Point(3, 0);
- this.zgcAnaesRecord.Name = "zgcAnaesRecord";
- this.zgcAnaesRecord.ScrollGrace = 0D;
- this.zgcAnaesRecord.ScrollMaxX = 0D;
- this.zgcAnaesRecord.ScrollMaxY = 0D;
- this.zgcAnaesRecord.ScrollMaxY2 = 0D;
- this.zgcAnaesRecord.ScrollMinX = 0D;
- this.zgcAnaesRecord.ScrollMinY = 0D;
- this.zgcAnaesRecord.ScrollMinY2 = 0D;
- this.zgcAnaesRecord.Size = new System.Drawing.Size(800, 1000);
- this.zgcAnaesRecord.TabIndex = 0;
- this.zgcAnaesRecord.Visible = false;
- this.zgcAnaesRecord.ContextMenuBuilder += new DrawGraph.ZedGraphControl.ContextMenuBuilderEventHandler(this.zgcAnaesRecord_ContextMenuBuilder);
- this.zgcAnaesRecord.MouseDownEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseDownEvent);
- this.zgcAnaesRecord.MouseUpEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseUpEvent);
- this.zgcAnaesRecord.MouseMoveEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseMoveEvent);
- this.zgcAnaesRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zgcAnaesRecord_KeyUp);
- this.zgcAnaesRecord.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zgcAnaesRecord_MouseDoubleClick);
- //
// panel7
//
this.panel7.BackColor = System.Drawing.SystemColors.Control;
@@ -1290,14 +1238,88 @@
this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71);
this.flowLayoutPanel1.TabIndex = 0;
//
- // frmAnasRecoverBillNew
+ // button1
+ //
+ this.button1.BackColor = System.Drawing.Color.Transparent;
+ this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.button1.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.button1.FlatAppearance.BorderSize = 0;
+ this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button1.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.button1.ForeColor = System.Drawing.Color.DimGray;
+ this.button1.Image = global::AIMS.Properties.Resources.打印苏醒记录;
+ this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button1.Location = new System.Drawing.Point(0, 559);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(160, 50);
+ this.button1.TabIndex = 25;
+ this.button1.Text = " 麻醉记录";
+ this.button1.UseVisualStyleBackColor = false;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // panel8
+ //
+ this.panel8.AutoScroll = true;
+ this.panel8.BackColor = System.Drawing.Color.White;
+ this.panel8.Controls.Add(this.circularProgress1);
+ this.panel8.Controls.Add(this.zgcAnaesRecord);
+ this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel8.Location = new System.Drawing.Point(0, 58);
+ this.panel8.Name = "panel8";
+ this.panel8.Size = new System.Drawing.Size(1038, 759);
+ this.panel8.TabIndex = 2;
+ this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
+ //
+ // circularProgress1
+ //
+ this.circularProgress1.AnimationSpeed = 50;
+ //
+ //
+ //
+ this.circularProgress1.BackgroundStyle.BackgroundImageAlpha = ((byte)(0));
+ this.circularProgress1.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom;
+ this.circularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.circularProgress1.FocusCuesEnabled = false;
+ this.circularProgress1.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.circularProgress1.Location = new System.Drawing.Point(361, 252);
+ this.circularProgress1.Margin = new System.Windows.Forms.Padding(4);
+ this.circularProgress1.Name = "circularProgress1";
+ this.circularProgress1.ProgressColor = System.Drawing.Color.DodgerBlue;
+ this.circularProgress1.Size = new System.Drawing.Size(389, 239);
+ this.circularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
+ this.circularProgress1.TabIndex = 6;
+ this.circularProgress1.Value = 100;
+ //
+ // zgcAnaesRecord
+ //
+ this.zgcAnaesRecord.Location = new System.Drawing.Point(3, 0);
+ this.zgcAnaesRecord.Name = "zgcAnaesRecord";
+ this.zgcAnaesRecord.ScrollGrace = 0D;
+ this.zgcAnaesRecord.ScrollMaxX = 0D;
+ this.zgcAnaesRecord.ScrollMaxY = 0D;
+ this.zgcAnaesRecord.ScrollMaxY2 = 0D;
+ this.zgcAnaesRecord.ScrollMinX = 0D;
+ this.zgcAnaesRecord.ScrollMinY = 0D;
+ this.zgcAnaesRecord.ScrollMinY2 = 0D;
+ this.zgcAnaesRecord.Size = new System.Drawing.Size(800, 1000);
+ this.zgcAnaesRecord.TabIndex = 0;
+ this.zgcAnaesRecord.Visible = false;
+ this.zgcAnaesRecord.ContextMenuBuilder += new DrawGraph.ZedGraphControl.ContextMenuBuilderEventHandler(this.zgcAnaesRecord_ContextMenuBuilder);
+ this.zgcAnaesRecord.MouseDownEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseDownEvent);
+ this.zgcAnaesRecord.MouseUpEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseUpEvent);
+ this.zgcAnaesRecord.MouseMoveEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseMoveEvent);
+ this.zgcAnaesRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zgcAnaesRecord_KeyUp);
+ this.zgcAnaesRecord.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zgcAnaesRecord_MouseDoubleClick);
+ //
+ // frmAanesthesiaRecover
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1360, 869);
this.Controls.Add(this.panel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "frmAnasRecoverBillNew";
+ this.Name = "frmAanesthesiaRecover";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = " ";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
@@ -1308,7 +1330,6 @@
this.panel4.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel5.ResumeLayout(false);
- this.panel8.ResumeLayout(false);
this.panel7.ResumeLayout(false);
this.panel7.PerformLayout();
this.panel21.ResumeLayout(false);
@@ -1325,6 +1346,7 @@
this.panel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.picInRoom)).EndInit();
+ this.panel8.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -1401,5 +1423,6 @@
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button btnChage;
+ private System.Windows.Forms.Button button1;
}
}
\ No newline at end of file
diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs
index 5407707..d4ddb6b 100644
--- a/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs
+++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs
@@ -37,19 +37,19 @@ namespace AIMS.OperationAanesthesia
InitializeComponent();
#region 时间轴事件
txtInRoom.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
- txtOutRoom.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
- txtAnaesthesiaEnd.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
+ txtOutRoom.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
+ txtAnaesthesiaEnd.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
txtBG.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
-
- txtAnaesthesiaEnd.KeyUp += new KeyEventHandler(dateTimePicker_KeyUp);
+
+ txtAnaesthesiaEnd.KeyUp += new KeyEventHandler(dateTimePicker_KeyUp);
txtBG.KeyUp += new KeyEventHandler(dateTimePicker_KeyUp);
txtInRoom.LostFocus += new EventHandler(txtDateTime_LostFocus);
- txtOutRoom.LostFocus += new EventHandler(txtDateTime_LostFocus);
- txtAnaesthesiaEnd.LostFocus += new EventHandler(txtDateTime_LostFocus);
+ txtOutRoom.LostFocus += new EventHandler(txtDateTime_LostFocus);
+ txtAnaesthesiaEnd.LostFocus += new EventHandler(txtDateTime_LostFocus);
txtBG.LostFocus += new EventHandler(txtDateTime_LostFocus);
- this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室;
+ this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室;
this.picBG.BackgroundImage = global::AIMS.Properties.Resources.拔管;
this.picAnesEnd.BackgroundImage = global::AIMS.Properties.Resources.麻醉结束;
this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室;
@@ -57,7 +57,7 @@ namespace AIMS.OperationAanesthesia
}
private void frmAnasRecordBillNew_Load(object sender, EventArgs e)
- {
+ {
if (PublicMethod.OperatorNo == "admin")
{
btnChage.Visible = true;
@@ -134,7 +134,7 @@ namespace AIMS.OperationAanesthesia
printHeight = Convert.ToInt32(printWidth * 1.414) + 2;
zgcAnaesRecord.Size = new Size(printWidth, printHeight);
-
+
TipBox.Hidden();
MasterPane mPane = zgcAnaesRecord.MasterPane; //this.MasterPane;
@@ -156,7 +156,7 @@ namespace AIMS.OperationAanesthesia
zgcAnaesRecord.Size = new Size(zgcAnaesRecordWidth, zgcAnaesRecordHeight);
templateManage.initChart();
- UpPanes.Add(mPane.Clone());
+ UpPanes.Add(mPane.Clone());
}
private void plPrint_Click(object sender, EventArgs e)
{
@@ -166,7 +166,7 @@ namespace AIMS.OperationAanesthesia
zgcAnaesRecord.Focus();
}
if (_record.StateName == "麻醉恢复中")
- {
+ {
if (txtOutRoom.CustomFormat == " ")
{
txtOutRoom.BackColor = Color.Red;
@@ -230,13 +230,13 @@ namespace AIMS.OperationAanesthesia
{
if (PatientId == 0) return;
DateTimeInput tb = sender as DateTimeInput;
- if (_record != null && _record.OutRoomTime != null)
- {
- if ((tb.Name == "txtBG" || tb.Name == "txtCG") && tb.Text.Trim() == "")
- {
- return;
- }
- }
+ //if (_record != null && _record.OutRoomTime != null)
+ //{
+ // if ((tb.Name == "txtBG" || tb.Name == "txtCG") && tb.Text.Trim() == "")
+ // {
+ // return;
+ // }
+ //}
if (tb.Text.Trim() == "" && tb.CustomFormat == " ")
{
@@ -313,9 +313,9 @@ namespace AIMS.OperationAanesthesia
DateTime nowtime = DateTime.Now;// getOpeMaxTime();
DateTime curTimeTemp = new DateTime(nowtime.Year, nowtime.Month, nowtime.Day, nowtime.Hour, nowtime.Minute, 0);
InsertOrUpdateEventTime(0, "txtInRoom", "入室", tb, curTimeTemp, ref Inevent);
- curTimeTemp = curTimeTemp.AddSeconds(2);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
InsertOrUpdateEventTime(0, "txtBG", "拔管", tb, curTimeTemp, ref Inevent);
- curTimeTemp = curTimeTemp.AddSeconds(2);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
InsertOrUpdateEventTime(0, "txtAnaesthesiaEnd", "麻醉完成", tb, curTimeTemp, ref Inevent);
curTimeTemp = curTimeTemp.AddSeconds(2);
InsertOrUpdateEventTime(0, "txtOutRoom", "出室", tb, curTimeTemp, ref Inevent);
@@ -328,7 +328,7 @@ namespace AIMS.OperationAanesthesia
_record.pageCount = 0;
ReviewEvent();
}
- else if ( Inevent.EventName == "出室" || Inevent.EventBeginTime > _record.lastPageBegin)
+ else if (Inevent.EventName == "出室" || Inevent.EventBeginTime > _record.lastPageBegin)
{
ReviewEvent();
}
@@ -360,9 +360,9 @@ namespace AIMS.OperationAanesthesia
//{
//}
InsertOrUpdateEventTime(1, "txtInRoom", "入室", tb, curTimeTemp, ref Inevent);
- curTimeTemp = curTimeTemp.AddSeconds(2);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
InsertOrUpdateEventTime(1, "txtBG", "拔管", tb, curTimeTemp, ref Inevent);
- curTimeTemp = curTimeTemp.AddSeconds(2);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
InsertOrUpdateEventTime(1, "txtAnaesthesiaEnd", "麻醉完成", tb, curTimeTemp, ref Inevent);
curTimeTemp = curTimeTemp.AddSeconds(2);
InsertOrUpdateEventTime(1, "txtOutRoom", "出室", tb, curTimeTemp, ref Inevent);
@@ -393,8 +393,8 @@ namespace AIMS.OperationAanesthesia
DrawGraph.FactEvents Inevent = null;
DateTimeInput tb = obj as DateTimeInput;
if (_record.StateName == "麻醉恢复中")
- {
- DeleteEventTime("txtAnaesthesiaEnd", "麻醉完成", tb, ref Inevent);
+ {
+ DeleteEventTime("txtAnaesthesiaEnd", "麻醉完成", tb, ref Inevent);
DeleteEventTime("txtBG", "拔管", tb, ref Inevent);
}
else
@@ -435,21 +435,19 @@ namespace AIMS.OperationAanesthesia
tb.CustomFormat = " ";
tb.Value = DateTime.Now;
tb.Tag = null;
-
+
if (Inevent != null && Inevent.EventName == "麻醉完成")
{
_record.AnesthesiaEndTime = null;
this.picAnesEnd.BackgroundImage = global::AIMS.Properties.Resources.麻醉结束;
- }
+ BOperationRecord.Update(" AnesthesiaEndTime=null where Id=@id ", new AIMSModel.ParameterList("@id", _record.Id));
+ }
if (Inevent != null && Inevent.EventName == "拔管")
{
_record.SpileOutTime = null;
this.picBG.BackgroundImage = global::AIMS.Properties.Resources.拔管;
- }
-
- if (Inevent != null)
- {
- BOperationRecord.Update("OperationBeginTime=@OperationBegin,OperationEndTime=@OperationEnd,OutRoomTime=@OutRoom where Id=@id", new AIMSModel.ParameterList("@OperationBegin", _record.OperationBeginTime.HasValue ? (object)_record.OperationBeginTime.Value : (object)DBNull.Value, "@OperationEnd", _record.OperationEndTime.HasValue ? (object)_record.OperationEndTime.Value : (object)DBNull.Value, "@OutRoom", _record.OutRoomTime.HasValue ? (object)_record.OutRoomTime.Value : (object)DBNull.Value, "@id", _record.Id));
+ BOperationRecord.Update(" SpileOutTime=null where Id=@id ", new AIMSModel.ParameterList("@id", _record.Id));
+ //UpdatePhysioDataResp();
}
}
}
@@ -513,25 +511,27 @@ namespace AIMS.OperationAanesthesia
{
_record.InRoomTime = Inevent.EventBeginTime;
this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室_select;
- }
+ BOperationRecord.Update("InRoomTime=@InRoom where Id=@id ", new AIMSModel.ParameterList("@InRoom", _record.InRoomTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id));
+
+ }
+
if (Inevent != null && Inevent.EventName == "拔管" && _record.SpileOutTime != Inevent.EventBeginTime)
{
_record.SpileOutTime = Inevent.EventBeginTime;
this.picBG.BackgroundImage = global::AIMS.Properties.Resources.拔管_select;
- }
+ BOperationRecord.Update(" SpileOutTime=@SpileOut where Id=@id ", new AIMSModel.ParameterList("@SpileOut", _record.SpileOutTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id));
+ }
if (Inevent != null && Inevent.EventName == "麻醉完成" && _record.AnesthesiaEndTime != Inevent.EventBeginTime)
{
_record.AnesthesiaEndTime = Inevent.EventBeginTime;
this.picAnesEnd.BackgroundImage = global::AIMS.Properties.Resources.麻醉结束_select;
+ BOperationRecord.Update("AnesthesiaEndTime=@AnesthesiaEndTime where Id=@id ", new AIMSModel.ParameterList("@AnesthesiaEndTime", _record.AnesthesiaEndTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id));
}
if (Inevent != null && Inevent.EventName == "出室" && _record.OutRoomTime != Inevent.EventBeginTime)
{
_record.OutRoomTime = Inevent.EventBeginTime;
this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室_select;
- }
- if (Inevent != null)
- {
- BOperationRecord.Update("InRoomTime=@InRoom,OperationBeginTime=@OperationBegin,OperationEndTime=@OperationEnd,OutRoomTime=@OutRoom where Id=@id ", new AIMSModel.ParameterList("@InRoom", _record.InRoomTime.HasValue ? (object)_record.InRoomTime.Value : (object)DateTime.Now, "@OperationBegin", _record.OperationBeginTime.HasValue ? (object)_record.OperationBeginTime.Value : (object)DBNull.Value, "@OperationEnd", _record.OperationEndTime.HasValue ? (object)_record.OperationEndTime.Value : (object)DBNull.Value, "@OutRoom", _record.OutRoomTime.HasValue ? (object)_record.OutRoomTime.Value : (object)DBNull.Value, "@id", _record.Id));
+ BOperationRecord.Update("OutRoomTime=@OutRoom where Id=@id ", new AIMSModel.ParameterList("@OutRoom", _record.OutRoomTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id));
}
}
}
@@ -661,7 +661,8 @@ namespace AIMS.OperationAanesthesia
_record.OperationApplyId = ApplyId;
_record.PatientId = PatientId;
_record.RecoverId = RecoverId;
- _record.Id = BOperationRecord.AddTitleTime(PatientId, ApplyId, RecoverId,3, DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00")), NowRoom.Id.Value);
+ _record.Id = BOperationRecord.AddTitleTime2(PatientId, ApplyId, RecoverId, 3, DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00")), NowRoom.Id.Value);
+
HelperDB.DbHelperSQL.CommitTrans();
//_record.currentPage = 1;
ClearTimeText();
@@ -691,7 +692,7 @@ namespace AIMS.OperationAanesthesia
_record = new OperationRecord();
btnSelectPatient.Enabled = true;
btnCancelOperation.Enabled = false;
- btnCancelIn.Enabled = false;
+ btnCancelIn.Enabled = false;
ClearTimeText();
if (templateManage != null)
{
@@ -706,10 +707,10 @@ namespace AIMS.OperationAanesthesia
btnOperationInfo.Enabled = false;
btnOutputLiquids.Enabled = false;
btnDrug.Enabled = false;
- btnAddEvents.Enabled = false;
- txtInRoom.Enabled = false;
+ btnAddEvents.Enabled = false;
+ txtInRoom.Enabled = false;
txtAnaesthesiaEnd.Enabled = false;
- txtOutRoom.Enabled = false;
+ txtOutRoom.Enabled = false;
txtBG.Enabled = false;
isReadOnly = true;
}
@@ -860,7 +861,7 @@ namespace AIMS.OperationAanesthesia
}
}
private void btnTemplate_Click(object sender, EventArgs e)
- {
+ {
if (PatientId != 0)
{
frmOpeRecoverOutInfo frmOperationInfo = new frmOpeRecoverOutInfo();
@@ -880,7 +881,7 @@ namespace AIMS.OperationAanesthesia
{
MessageBox.Show("请先选择患者!");
return;
- }
+ }
PatientRecord patient = PatientRecord.GetPatientRecord(PatientId);
frmDocument frmDocument = new frmDocument(patient);
frmDocument.StartPosition = FormStartPosition.CenterScreen;
@@ -1138,7 +1139,8 @@ namespace AIMS.OperationAanesthesia
}
}
string szyssy = ssy + "/" + szy;
- lblDia.Text = szyssy == "/" ? "--/--" : szyssy;
+ if (szyssy != "/")
+ lblDia.Text = szyssy;
}
else
{
@@ -1289,15 +1291,15 @@ namespace AIMS.OperationAanesthesia
getPhysioData.Text = "添加监护仪数据";
getPhysioData.Click += getPhysioData_Click;
menuStrip.Items.Add(getPhysioData);
- }
-
+ }
+
ToolStripMenuItem btnSyatemPhysion = new ToolStripMenuItem();
btnSyatemPhysion.Name = "btnSyatemPhysion";
btnSyatemPhysion.Tag = "btnSyatemPhysion";
btnSyatemPhysion.Text = "修改痕迹";
btnSyatemPhysion.Click += new EventHandler(btnSyatemPhysion_Click);
menuStrip.Items.Add(btnSyatemPhysion);
-
+
}
///
@@ -1312,7 +1314,7 @@ namespace AIMS.OperationAanesthesia
Log.OperationRecordId = _record.Id.Value;
Log.ShowDialog();
}
-
+
private void getPhysioData_Click(object sender, EventArgs e)
{
if (State != AIMSExtension.EditState.BROWSE && _record.StateName == "麻醉恢复中" && NowRoom != null && isReadOnly == false)
@@ -1348,13 +1350,13 @@ namespace AIMS.OperationAanesthesia
addPP.AddPointItem(pdTemp);
}
}
- }
+ }
}
}
private void clearSelectCouve_Click(Object sender, EventArgs e)
{
templateManage.ClearSelectCouve();
- }
+ }
#endregion
#region 公共方法
@@ -1388,7 +1390,14 @@ namespace AIMS.OperationAanesthesia
txtInRoom.Tag = _record.InRoomTime.Value;
txtInRoom.Value = _record.InRoomTime.Value;
this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室_select;
- }
+ }
+ if (_record.SpileOutTime != null)
+ {
+ txtBG.CustomFormat = "MM-dd HH:mm";
+ txtBG.Tag = _record.SpileOutTime.Value;
+ txtBG.Value = _record.SpileOutTime.Value;
+ this.picBG.BackgroundImage = global::AIMS.Properties.Resources.拔管_select;
+ }
if (_record.AnesthesiaEndTime != null)
{
txtAnaesthesiaEnd.CustomFormat = "HH:mm";
@@ -1431,20 +1440,20 @@ namespace AIMS.OperationAanesthesia
}
private void ClearTimeText()
{
- txtInRoom.CustomFormat = " ";
+ txtInRoom.CustomFormat = " ";
txtAnaesthesiaEnd.CustomFormat = " ";
- txtOutRoom.CustomFormat = " ";
+ txtOutRoom.CustomFormat = " ";
txtBG.CustomFormat = " ";
- txtInRoom.Tag = null;
+ txtInRoom.Tag = null;
txtAnaesthesiaEnd.Tag = null;
- txtOutRoom.Tag = null;
+ txtOutRoom.Tag = null;
txtBG.Tag = null;
- txtInRoom.Text = "";
+ txtInRoom.Text = "";
txtAnaesthesiaEnd.Text = "";
- txtOutRoom.Text = "";
+ txtOutRoom.Text = "";
txtBG.Text = "";
- this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室;
+ this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室;
this.picBG.BackgroundImage = global::AIMS.Properties.Resources.拔管;
this.picAnesEnd.BackgroundImage = global::AIMS.Properties.Resources.麻醉结束;
this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室;
@@ -1454,7 +1463,7 @@ namespace AIMS.OperationAanesthesia
{
try
{
- DateTime dts = BOperationRecord.lastMaxOperationDate(myOpeRecord.PatientId.Value,myOpeRecord.RecoverId.Value);
+ DateTime dts = BOperationRecord.lastMaxOperationDate(myOpeRecord.PatientId.Value, myOpeRecord.RecoverId.Value);
DateTime nowDate = DateTime.Now;
TimeSpan tsp = nowDate - dts;
if (tsp.TotalHours <= 12 && tsp.TotalDays <= 1 && dts < nowDate)//&& IsReview == false
@@ -1492,7 +1501,7 @@ namespace AIMS.OperationAanesthesia
}
if (anaesName.Contains("全身麻醉"))
- {
+ {
if (_record.OperationDoctor == null || _record.OperationDoctor.Trim() == "")
{
message = "请添加术者!";
@@ -1573,7 +1582,7 @@ namespace AIMS.OperationAanesthesia
}
fnc.ShowDialog();
}
-
+
private void btnsbwh_Click(object sender, EventArgs e)
{
frmInstrumentRegistration frm = new frmInstrumentRegistration();
@@ -1582,16 +1591,29 @@ namespace AIMS.OperationAanesthesia
private void btnsjzx_Click(object sender, EventArgs e)
{
- MessageBox.Show("未连接到服务器 请联系管理员或稍后再试!", "系统提示");
- }
+ if (_record != null)
+ {
+ EMRExtension.OpenEMRS(_record.PatientId.Value, _record.OperationApplyId.Value);
+ }
+ }
private void btnChage_Click(object sender, EventArgs e)
{
frmChargRecordPrint frmchargRecord = new frmChargRecordPrint(_record);
frmchargRecord.TemplateType = "麻醉";
frmchargRecord.Show();
frmchargRecord.BringToFront();
- }
+ }
+ private void button1_Click(object sender, EventArgs e)
+ {
+ if (_record != null)
+ {
+ frmAanesthesiaRecord frmAnasRecord = new frmAanesthesiaRecord();
+ frmAnasRecord.PatientId = _record.PatientId.Value;
+ frmAnasRecord.ApplyId = _record.OperationApplyId.Value;
+ frmAnasRecord.State = AIMSExtension.EditState.BROWSE;
+ frmAnasRecord.Show();
+ }
+ }
#endregion
-
}
}
diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs
index de607f6..1e43df3 100644
--- a/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs
+++ b/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs
@@ -599,7 +599,7 @@
//
this.lblRESP.AutoSize = true;
this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 23F);
- this.lblRESP.ForeColor = System.Drawing.Color.Yellow;
+ this.lblRESP.ForeColor = System.Drawing.Color.DarkOrange;
this.lblRESP.Location = new System.Drawing.Point(52, 323);
this.lblRESP.Name = "lblRESP";
this.lblRESP.Size = new System.Drawing.Size(43, 40);
diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord.cs
index 5e85d69..b063c19 100644
--- a/AIMS/OperationAanesthesia/frmInstrumentRecord.cs
+++ b/AIMS/OperationAanesthesia/frmInstrumentRecord.cs
@@ -804,7 +804,8 @@ namespace AIMS.OperationAanesthesia
}
string szyssy = ssy + "/" + szy;
- lblDia.Text = szyssy == "/" ? "---/---" : szyssy;
+ if (szyssy != "/")
+ lblDia.Text = szyssy;
}
else
{
@@ -814,7 +815,7 @@ namespace AIMS.OperationAanesthesia
lblPR.Text = "--";
lblDia.Text = "---/---";
lblHR.ForeColor = Color.Green;
- lblRESP.ForeColor = Color.Yellow;
+ lblRESP.ForeColor = Color.DarkOrange;
lblSpo2.ForeColor = Color.Cyan;
lblPR.ForeColor = Color.Green;
lblDia.ForeColor = Color.Red;
@@ -1183,7 +1184,7 @@ namespace AIMS.OperationAanesthesia
lblPR.Text = "--";
lblDia.Text = "---/---";
lblHR.ForeColor = Color.Green;
- lblRESP.ForeColor = Color.Yellow;
+ lblRESP.ForeColor = Color.DarkOrange;
lblSpo2.ForeColor = Color.Cyan;
lblPR.ForeColor = Color.Green;
lblDia.ForeColor = Color.Red;
@@ -1222,22 +1223,9 @@ namespace AIMS.OperationAanesthesia
private void btnsjzx_Click(object sender, EventArgs e)
{
- if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
+ if (_record != null)
{
- try
- {
- string patientId = "orcl:LDQ:5:1:0:" + _record.HISPatientId + ":" + _record.VisitTimes + "";
- Process myprocess = new Process();
- ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\APPSOFT\zlSoftCISInterface.exe", patientId);
- PublicMethod.WriteLog(new Exception(@"C:\APPSOFT\zlSoftCISInterface.exe" + patientId));
- myprocess.StartInfo = startInfo;
- myprocess.StartInfo.UseShellExecute = false;
- myprocess.Start();
- }
- catch (Exception )
- {
- MessageBox.Show(@"在C:\APPSOFT\zlSoftCISInterface.exe路径下找不到“zlSoftCISInterface.exe”");
- }
+ EMRExtension.OpenEMRS(_record.PatientId.Value, _record.OperationApplyId.Value);
}
}
#endregion
diff --git a/AIMS/OperationAanesthesia/frmOpeRecoverInInfo.cs b/AIMS/OperationAanesthesia/frmOpeRecoverInInfo.cs
index e4549d7..1c6bf58 100644
--- a/AIMS/OperationAanesthesia/frmOpeRecoverInInfo.cs
+++ b/AIMS/OperationAanesthesia/frmOpeRecoverInInfo.cs
@@ -266,8 +266,8 @@ namespace AIMS.OperationAanesthesia
private void button1_Click(object sender, EventArgs e)
{
if (cboJMTC.Text == "") cboJMTC.Text = "是";
- if (cboYLBS.Text == "") cboYLBS.Text = "是";
- if (cboYLWZ.Text == "") cboYLWZ.Text = "是";
+ //if (cboYLBS.Text == "") cboYLBS.Text = "是";
+ //if (cboYLWZ.Text == "") cboYLWZ.Text = "是";
if (cboPF.Text == "") cboPF.Text = "未见异常";
if (cboZTHDD.Text == "") cboZTHDD.Text = "2分-自主或遵嘱活动四肢和抬头";
if (cboHXDTCCD.Text == "") cboHXDTCCD.Text = "2分-能深呼吸和有效咳嗽,呼吸频率和幅度正常";
@@ -284,6 +284,8 @@ namespace AIMS.OperationAanesthesia
if (txtCQL.Text == "") txtCQL.Text = " /";
if (txtQYXRL.Text == "") txtQYXRL.Text = " /";
if (TXTXY.Text == "") TXTXY.Text = " /";
+ if (cboYLBS.Text == "") cboYLBS.Text = " /";
+ if (cboYLWZ.Text == "") cboYLWZ.Text = " /";
slider1.Value = 5;
}
diff --git a/AIMS/OperationAanesthesia/frmOpeRecoverInInfo.designer.cs b/AIMS/OperationAanesthesia/frmOpeRecoverInInfo.designer.cs
index 5300f78..4decb08 100644
--- a/AIMS/OperationAanesthesia/frmOpeRecoverInInfo.designer.cs
+++ b/AIMS/OperationAanesthesia/frmOpeRecoverInInfo.designer.cs
@@ -31,6 +31,7 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmOpeRecoverInInfo));
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label7 = new System.Windows.Forms.Label();
+ this.txtPain = new AIMS.OremrUserControl.NumTextBox();
this.label5 = new System.Windows.Forms.Label();
this.slider1 = new DevComponents.DotNetBar.Controls.Slider();
this.groupBox2 = new System.Windows.Forms.GroupBox();
@@ -46,7 +47,11 @@
this.cboQXCD = new System.Windows.Forms.ComboBox();
this.button1 = new System.Windows.Forms.Button();
this.btExit = new System.Windows.Forms.Button();
+ this.txtSQTSQK = new AIMS.OremrUserControl.UText();
this.label54 = new System.Windows.Forms.Label();
+ this.uText1 = new AIMS.OremrUserControl.UText();
+ this.cboYLMC = new AIMS.OremrUserControl.UText();
+ this.txtZPF = new AIMS.OremrUserControl.NumTextBox();
this.checkBox6 = new System.Windows.Forms.CheckBox();
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
@@ -62,30 +67,25 @@
this.label17 = new System.Windows.Forms.Label();
this.cboYLBS = new System.Windows.Forms.ComboBox();
this.label30 = new System.Windows.Forms.Label();
+ this.TXTXY = new System.Windows.Forms.TextBox();
+ this.txtQYXRL = new System.Windows.Forms.TextBox();
+ this.txtCQL = new System.Windows.Forms.TextBox();
+ this.label12 = new System.Windows.Forms.Label();
this.txtT = new System.Windows.Forms.TextBox();
+ this.label8 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.cboPF = new System.Windows.Forms.ComboBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
this.label27 = new System.Windows.Forms.Label();
+ this.xbohxxt = new System.Windows.Forms.ComboBox();
+ this.cmbYs = new System.Windows.Forms.ComboBox();
this.cboMZPM = new System.Windows.Forms.ComboBox();
this.label16 = new System.Windows.Forms.Label();
this.cboJMTC = new System.Windows.Forms.ComboBox();
- this.cmbYs = new System.Windows.Forms.ComboBox();
- this.label2 = new System.Windows.Forms.Label();
- this.xbohxxt = new System.Windows.Forms.ComboBox();
- this.label3 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.txtCQL = new System.Windows.Forms.TextBox();
- this.label8 = new System.Windows.Forms.Label();
- this.txtQYXRL = new System.Windows.Forms.TextBox();
- this.label12 = new System.Windows.Forms.Label();
- this.TXTXY = new System.Windows.Forms.TextBox();
- this.txtPain = new AIMS.OremrUserControl.NumTextBox();
- this.txtSQTSQK = new AIMS.OremrUserControl.UText();
- this.uText1 = new AIMS.OremrUserControl.UText();
- this.cboYLMC = new AIMS.OremrUserControl.UText();
- this.txtZPF = new AIMS.OremrUserControl.NumTextBox();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
@@ -158,6 +158,14 @@
this.label7.TabIndex = 567;
this.label7.Text = "分";
//
+ // txtPain
+ //
+ this.txtPain.Location = new System.Drawing.Point(374, 330);
+ this.txtPain.Name = "txtPain";
+ this.txtPain.ReadOnly = true;
+ this.txtPain.Size = new System.Drawing.Size(56, 26);
+ this.txtPain.TabIndex = 569;
+ //
// label5
//
this.label5.AutoSize = true;
@@ -372,6 +380,21 @@
this.btExit.Visible = false;
this.btExit.Click += new System.EventHandler(this.btExit_Click);
//
+ // txtSQTSQK
+ //
+ this.txtSQTSQK.BackColor = System.Drawing.Color.White;
+ this.txtSQTSQK.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.txtSQTSQK.DictionaryKey = "术中合并症";
+ this.txtSQTSQK.Font = new System.Drawing.Font("宋体", 11F);
+ this.txtSQTSQK.IsFindDictionray = true;
+ this.txtSQTSQK.IsUpdateDictionary = false;
+ this.txtSQTSQK.Location = new System.Drawing.Point(460, 74);
+ this.txtSQTSQK.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txtSQTSQK.Name = "txtSQTSQK";
+ this.txtSQTSQK.Size = new System.Drawing.Size(434, 17);
+ this.txtSQTSQK.TabIndex = 1531;
+ this.txtSQTSQK.Tag = "";
+ //
// label54
//
this.label54.AutoSize = true;
@@ -381,6 +404,44 @@
this.label54.TabIndex = 559;
this.label54.Text = "Aldrete总评分";
//
+ // uText1
+ //
+ this.uText1.BackColor = System.Drawing.Color.White;
+ this.uText1.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.uText1.DictionaryKey = "皮肤破损";
+ this.uText1.Font = new System.Drawing.Font("宋体", 11F);
+ this.uText1.IsFindDictionray = true;
+ this.uText1.IsUpdateDictionary = false;
+ this.uText1.Location = new System.Drawing.Point(652, 147);
+ this.uText1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.uText1.Name = "uText1";
+ this.uText1.Size = new System.Drawing.Size(130, 17);
+ this.uText1.TabIndex = 1531;
+ this.uText1.Tag = "";
+ //
+ // cboYLMC
+ //
+ this.cboYLMC.BackColor = System.Drawing.Color.White;
+ this.cboYLMC.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.cboYLMC.DictionaryKey = "皮肤破损";
+ this.cboYLMC.Font = new System.Drawing.Font("宋体", 11F);
+ this.cboYLMC.IsFindDictionray = true;
+ this.cboYLMC.IsUpdateDictionary = false;
+ this.cboYLMC.Location = new System.Drawing.Point(700, 37);
+ this.cboYLMC.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.cboYLMC.Name = "cboYLMC";
+ this.cboYLMC.Size = new System.Drawing.Size(193, 17);
+ this.cboYLMC.TabIndex = 1531;
+ this.cboYLMC.Tag = "";
+ this.cboYLMC.Text = " ";
+ //
+ // txtZPF
+ //
+ this.txtZPF.Location = new System.Drawing.Point(834, 292);
+ this.txtZPF.Name = "txtZPF";
+ this.txtZPF.Size = new System.Drawing.Size(77, 26);
+ this.txtZPF.TabIndex = 560;
+ //
// checkBox6
//
this.checkBox6.AutoSize = true;
@@ -515,6 +576,8 @@
//
this.cboYLWZ.FormattingEnabled = true;
this.cboYLWZ.Items.AddRange(new object[] {
+ "",
+ " /",
"是",
"否"});
this.cboYLWZ.Location = new System.Drawing.Point(453, 26);
@@ -537,6 +600,8 @@
//
this.cboYLBS.FormattingEnabled = true;
this.cboYLBS.Items.AddRange(new object[] {
+ "",
+ " /",
"是",
"否"});
this.cboYLBS.Location = new System.Drawing.Point(287, 26);
@@ -554,6 +619,36 @@
this.label30.TabIndex = 561;
this.label30.Text = "合并症";
//
+ // TXTXY
+ //
+ this.TXTXY.Location = new System.Drawing.Point(746, 106);
+ this.TXTXY.Name = "TXTXY";
+ this.TXTXY.Size = new System.Drawing.Size(60, 26);
+ this.TXTXY.TabIndex = 557;
+ //
+ // txtQYXRL
+ //
+ this.txtQYXRL.Location = new System.Drawing.Point(611, 105);
+ this.txtQYXRL.Name = "txtQYXRL";
+ this.txtQYXRL.Size = new System.Drawing.Size(60, 26);
+ this.txtQYXRL.TabIndex = 557;
+ //
+ // txtCQL
+ //
+ this.txtCQL.Location = new System.Drawing.Point(434, 105);
+ this.txtCQL.Name = "txtCQL";
+ this.txtCQL.Size = new System.Drawing.Size(60, 26);
+ this.txtCQL.TabIndex = 557;
+ //
+ // label12
+ //
+ this.label12.AutoSize = true;
+ this.label12.Location = new System.Drawing.Point(698, 111);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(37, 20);
+ this.label12.TabIndex = 555;
+ this.label12.Text = "胸液";
+ //
// txtT
//
this.txtT.Location = new System.Drawing.Point(264, 68);
@@ -561,6 +656,15 @@
this.txtT.Size = new System.Drawing.Size(100, 26);
this.txtT.TabIndex = 557;
//
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.Location = new System.Drawing.Point(521, 108);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(79, 20);
+ this.label8.TabIndex = 555;
+ this.label8.Text = "欠余血容量";
+ //
// label10
//
this.label10.AutoSize = true;
@@ -570,6 +674,15 @@
this.label10.TabIndex = 556;
this.label10.Text = "℃";
//
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(372, 108);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(51, 20);
+ this.label4.TabIndex = 555;
+ this.label4.Text = "潮气量";
+ //
// label11
//
this.label11.AutoSize = true;
@@ -594,6 +707,7 @@
this.cboPF.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboPF.FormattingEnabled = true;
this.cboPF.Items.AddRange(new object[] {
+ "",
"未见异常",
"压红",
"淤青",
@@ -605,6 +719,26 @@
this.cboPF.Size = new System.Drawing.Size(77, 28);
this.cboPF.TabIndex = 518;
//
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(190, 106);
+ this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(65, 20);
+ this.label3.TabIndex = 515;
+ this.label3.Text = "呼吸系统";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(28, 109);
+ this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(37, 20);
+ this.label2.TabIndex = 515;
+ this.label2.Text = "意识";
+ //
// label27
//
this.label27.AutoSize = true;
@@ -615,10 +749,47 @@
this.label27.TabIndex = 515;
this.label27.Text = "麻醉平面";
//
+ // xbohxxt
+ //
+ this.xbohxxt.FormattingEnabled = true;
+ this.xbohxxt.Items.AddRange(new object[] {
+ "",
+ "皮囊控制呼吸",
+ "自主呼吸",
+ "带管自主呼吸",
+ "辅助呼吸",
+ "带管辅助呼吸"});
+ this.xbohxxt.Location = new System.Drawing.Point(264, 105);
+ this.xbohxxt.Margin = new System.Windows.Forms.Padding(5, 10, 5, 10);
+ this.xbohxxt.Name = "xbohxxt";
+ this.xbohxxt.Size = new System.Drawing.Size(99, 28);
+ this.xbohxxt.TabIndex = 518;
+ this.xbohxxt.SelectedIndexChanged += new System.EventHandler(this.cboMZPM_SelectedIndexChanged);
+ //
+ // cmbYs
+ //
+ this.cmbYs.FormattingEnabled = true;
+ this.cmbYs.Items.AddRange(new object[] {
+ "",
+ "未醒",
+ "清醒",
+ "嗜睡",
+ "瞻妄",
+ "浅昏迷",
+ "中昏迷",
+ "深昏迷"});
+ this.cmbYs.Location = new System.Drawing.Point(92, 105);
+ this.cmbYs.Margin = new System.Windows.Forms.Padding(5, 10, 5, 10);
+ this.cmbYs.Name = "cmbYs";
+ this.cmbYs.Size = new System.Drawing.Size(77, 28);
+ this.cmbYs.TabIndex = 518;
+ this.cmbYs.SelectedIndexChanged += new System.EventHandler(this.cboMZPM_SelectedIndexChanged);
+ //
// cboMZPM
//
this.cboMZPM.FormattingEnabled = true;
this.cboMZPM.Items.AddRange(new object[] {
+ "",
"T2",
"T4",
"T6",
@@ -655,6 +826,7 @@
//
this.cboJMTC.FormattingEnabled = true;
this.cboJMTC.Items.AddRange(new object[] {
+ "",
"是",
"否"});
this.cboJMTC.Location = new System.Drawing.Point(92, 26);
@@ -663,171 +835,6 @@
this.cboJMTC.Size = new System.Drawing.Size(77, 28);
this.cboJMTC.TabIndex = 518;
//
- // cmbYs
- //
- this.cmbYs.FormattingEnabled = true;
- this.cmbYs.Items.AddRange(new object[] {
- "",
- "未醒",
- "清醒",
- "嗜睡",
- "瞻妄",
- "浅昏迷",
- "中昏迷",
- "深昏迷"});
- this.cmbYs.Location = new System.Drawing.Point(92, 105);
- this.cmbYs.Margin = new System.Windows.Forms.Padding(5, 10, 5, 10);
- this.cmbYs.Name = "cmbYs";
- this.cmbYs.Size = new System.Drawing.Size(77, 28);
- this.cmbYs.TabIndex = 518;
- this.cmbYs.SelectedIndexChanged += new System.EventHandler(this.cboMZPM_SelectedIndexChanged);
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(28, 109);
- this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(37, 20);
- this.label2.TabIndex = 515;
- this.label2.Text = "意识";
- //
- // xbohxxt
- //
- this.xbohxxt.FormattingEnabled = true;
- this.xbohxxt.Items.AddRange(new object[] {
- "",
- "皮囊控制呼吸",
- "自主呼吸",
- "带管自主呼吸",
- "辅助呼吸",
- "带管辅助呼吸"});
- this.xbohxxt.Location = new System.Drawing.Point(264, 105);
- this.xbohxxt.Margin = new System.Windows.Forms.Padding(5, 10, 5, 10);
- this.xbohxxt.Name = "xbohxxt";
- this.xbohxxt.Size = new System.Drawing.Size(99, 28);
- this.xbohxxt.TabIndex = 518;
- this.xbohxxt.SelectedIndexChanged += new System.EventHandler(this.cboMZPM_SelectedIndexChanged);
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(190, 106);
- this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(65, 20);
- this.label3.TabIndex = 515;
- this.label3.Text = "呼吸系统";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(372, 108);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(51, 20);
- this.label4.TabIndex = 555;
- this.label4.Text = "潮气量";
- //
- // txtCQL
- //
- this.txtCQL.Location = new System.Drawing.Point(434, 105);
- this.txtCQL.Name = "txtCQL";
- this.txtCQL.Size = new System.Drawing.Size(60, 26);
- this.txtCQL.TabIndex = 557;
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(521, 108);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(79, 20);
- this.label8.TabIndex = 555;
- this.label8.Text = "欠余血容量";
- //
- // txtQYXRL
- //
- this.txtQYXRL.Location = new System.Drawing.Point(611, 105);
- this.txtQYXRL.Name = "txtQYXRL";
- this.txtQYXRL.Size = new System.Drawing.Size(60, 26);
- this.txtQYXRL.TabIndex = 557;
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(698, 111);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(37, 20);
- this.label12.TabIndex = 555;
- this.label12.Text = "胸液";
- //
- // TXTXY
- //
- this.TXTXY.Location = new System.Drawing.Point(746, 106);
- this.TXTXY.Name = "TXTXY";
- this.TXTXY.Size = new System.Drawing.Size(60, 26);
- this.TXTXY.TabIndex = 557;
- //
- // txtPain
- //
- this.txtPain.Location = new System.Drawing.Point(374, 330);
- this.txtPain.Name = "txtPain";
- this.txtPain.ReadOnly = true;
- this.txtPain.Size = new System.Drawing.Size(56, 26);
- this.txtPain.TabIndex = 569;
- //
- // txtSQTSQK
- //
- this.txtSQTSQK.BackColor = System.Drawing.Color.White;
- this.txtSQTSQK.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.txtSQTSQK.DictionaryKey = "术中合并症";
- this.txtSQTSQK.Font = new System.Drawing.Font("宋体", 11F);
- this.txtSQTSQK.IsFindDictionray = true;
- this.txtSQTSQK.IsUpdateDictionary = false;
- this.txtSQTSQK.Location = new System.Drawing.Point(460, 74);
- this.txtSQTSQK.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.txtSQTSQK.Name = "txtSQTSQK";
- this.txtSQTSQK.Size = new System.Drawing.Size(434, 17);
- this.txtSQTSQK.TabIndex = 1531;
- this.txtSQTSQK.Tag = "";
- //
- // uText1
- //
- this.uText1.BackColor = System.Drawing.Color.White;
- this.uText1.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.uText1.DictionaryKey = "皮肤破损";
- this.uText1.Font = new System.Drawing.Font("宋体", 11F);
- this.uText1.IsFindDictionray = true;
- this.uText1.IsUpdateDictionary = false;
- this.uText1.Location = new System.Drawing.Point(652, 147);
- this.uText1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.uText1.Name = "uText1";
- this.uText1.Size = new System.Drawing.Size(130, 17);
- this.uText1.TabIndex = 1531;
- this.uText1.Tag = "";
- //
- // cboYLMC
- //
- this.cboYLMC.BackColor = System.Drawing.Color.White;
- this.cboYLMC.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.cboYLMC.DictionaryKey = "皮肤破损";
- this.cboYLMC.Font = new System.Drawing.Font("宋体", 11F);
- this.cboYLMC.IsFindDictionray = true;
- this.cboYLMC.IsUpdateDictionary = false;
- this.cboYLMC.Location = new System.Drawing.Point(700, 37);
- this.cboYLMC.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.cboYLMC.Name = "cboYLMC";
- this.cboYLMC.Size = new System.Drawing.Size(193, 17);
- this.cboYLMC.TabIndex = 1531;
- this.cboYLMC.Tag = "";
- this.cboYLMC.Text = " ";
- //
- // txtZPF
- //
- this.txtZPF.Location = new System.Drawing.Point(834, 292);
- this.txtZPF.Name = "txtZPF";
- this.txtZPF.Size = new System.Drawing.Size(77, 26);
- this.txtZPF.TabIndex = 560;
- //
// frmOpeRecoverInInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
diff --git a/AIMS/OperationAanesthesia/frmOpeRecoverOutInfo.cs b/AIMS/OperationAanesthesia/frmOpeRecoverOutInfo.cs
index 3b877a5..6d9d558 100644
--- a/AIMS/OperationAanesthesia/frmOpeRecoverOutInfo.cs
+++ b/AIMS/OperationAanesthesia/frmOpeRecoverOutInfo.cs
@@ -313,6 +313,8 @@ namespace AIMS.OperationAanesthesia
if (TXTXY.Text == "") TXTXY.Text = " /";
if (txtSX.Text == "") txtSX.Text = " /";
if (txtPHY.Text == "") txtPHY.Text = " /";
+ if (cboDXNL.Text == "") cboDXNL.Text = "否";
+ if (cboSS.Text == "") cboSS.Text = "否";
}
private void slider1_ValueChanged(object sender, EventArgs e)
diff --git a/AIMS/OperationAanesthesia/frmOpeRecoverOutInfo.designer.cs b/AIMS/OperationAanesthesia/frmOpeRecoverOutInfo.designer.cs
index 3f09dcb..7a8e121 100644
--- a/AIMS/OperationAanesthesia/frmOpeRecoverOutInfo.designer.cs
+++ b/AIMS/OperationAanesthesia/frmOpeRecoverOutInfo.designer.cs
@@ -30,6 +30,14 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmOpeRecoverOutInfo));
this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.TXTXY = new System.Windows.Forms.TextBox();
+ this.txtPHY = new System.Windows.Forms.TextBox();
+ this.txtSX = new System.Windows.Forms.TextBox();
+ this.txtCQL = new System.Windows.Forms.TextBox();
+ this.label26 = new System.Windows.Forms.Label();
+ this.label19 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label17 = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.txtPain = new AIMS.OremrUserControl.NumTextBox();
@@ -71,6 +79,7 @@
this.cboTT = new System.Windows.Forms.ComboBox();
this.label24 = new System.Windows.Forms.Label();
this.txtBFZ = new AIMS.OremrUserControl.UText();
+ this.textBox1 = new System.Windows.Forms.TextBox();
this.txtMAP = new System.Windows.Forms.TextBox();
this.txtBP = new System.Windows.Forms.TextBox();
this.label22 = new System.Windows.Forms.Label();
@@ -79,12 +88,15 @@
this.txtR = new System.Windows.Forms.TextBox();
this.txtT = new System.Windows.Forms.TextBox();
this.cboJSHF = new System.Windows.Forms.ComboBox();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label16 = new System.Windows.Forms.Label();
this.label21 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.cboDXNL = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
@@ -97,18 +109,6 @@
this.cboPF = new System.Windows.Forms.ComboBox();
this.label31 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.label9 = new System.Windows.Forms.Label();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.label16 = new System.Windows.Forms.Label();
- this.TXTXY = new System.Windows.Forms.TextBox();
- this.txtCQL = new System.Windows.Forms.TextBox();
- this.label7 = new System.Windows.Forms.Label();
- this.label17 = new System.Windows.Forms.Label();
- this.label19 = new System.Windows.Forms.Label();
- this.txtSX = new System.Windows.Forms.TextBox();
- this.label26 = new System.Windows.Forms.Label();
- this.txtPHY = new System.Windows.Forms.TextBox();
this.groupBox1.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
@@ -181,6 +181,70 @@
this.groupBox1.TabStop = false;
this.groupBox1.Text = "出室情况";
//
+ // TXTXY
+ //
+ this.TXTXY.Location = new System.Drawing.Point(228, 205);
+ this.TXTXY.Name = "TXTXY";
+ this.TXTXY.Size = new System.Drawing.Size(60, 26);
+ this.TXTXY.TabIndex = 1541;
+ //
+ // txtPHY
+ //
+ this.txtPHY.Location = new System.Drawing.Point(476, 205);
+ this.txtPHY.Name = "txtPHY";
+ this.txtPHY.Size = new System.Drawing.Size(60, 26);
+ this.txtPHY.TabIndex = 1542;
+ //
+ // txtSX
+ //
+ this.txtSX.Location = new System.Drawing.Point(345, 205);
+ this.txtSX.Name = "txtSX";
+ this.txtSX.Size = new System.Drawing.Size(60, 26);
+ this.txtSX.TabIndex = 1542;
+ //
+ // txtCQL
+ //
+ this.txtCQL.Location = new System.Drawing.Point(101, 205);
+ this.txtCQL.Name = "txtCQL";
+ this.txtCQL.Size = new System.Drawing.Size(60, 26);
+ this.txtCQL.TabIndex = 1542;
+ //
+ // label26
+ //
+ this.label26.AutoSize = true;
+ this.label26.Location = new System.Drawing.Point(415, 207);
+ this.label26.Name = "label26";
+ this.label26.Size = new System.Drawing.Size(51, 20);
+ this.label26.TabIndex = 1540;
+ this.label26.Text = "平恒液";
+ //
+ // label19
+ //
+ this.label19.AutoSize = true;
+ this.label19.Location = new System.Drawing.Point(298, 207);
+ this.label19.Name = "label19";
+ this.label19.Size = new System.Drawing.Size(37, 20);
+ this.label19.TabIndex = 1540;
+ this.label19.Text = "输血";
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Location = new System.Drawing.Point(181, 207);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(37, 20);
+ this.label7.TabIndex = 1539;
+ this.label7.Text = "胸液";
+ //
+ // label17
+ //
+ this.label17.AutoSize = true;
+ this.label17.Location = new System.Drawing.Point(40, 207);
+ this.label17.Name = "label17";
+ this.label17.Size = new System.Drawing.Size(51, 20);
+ this.label17.TabIndex = 1540;
+ this.label17.Text = "潮气量";
+ //
// groupBox3
//
this.groupBox3.Controls.Add(this.label2);
@@ -638,6 +702,7 @@
//
this.cboHXY.FormattingEnabled = true;
this.cboHXY.Items.AddRange(new object[] {
+ "",
"T2",
"T4",
"T6",
@@ -664,6 +729,7 @@
this.cboTT.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboTT.FormattingEnabled = true;
this.cboTT.Items.AddRange(new object[] {
+ "",
"0分-无疼痛",
"1分-安静平卧不痛,翻身咳嗽时疼痛",
"2分-咳嗽疼痛,深呼吸不痛",
@@ -706,6 +772,14 @@
this.txtBFZ.TabIndex = 1532;
this.txtBFZ.Tag = "";
//
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(755, 208);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(100, 26);
+ this.textBox1.TabIndex = 557;
+ this.textBox1.Visible = false;
+ //
// txtMAP
//
this.txtMAP.Location = new System.Drawing.Point(756, 173);
@@ -768,6 +842,7 @@
this.cboJSHF.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboJSHF.FormattingEnabled = true;
this.cboJSHF.Items.AddRange(new object[] {
+ "",
"Ⅴ级 肌力正常,运动自如",
"Ⅳ级 肢体能做对抗外界阻力的运动",
"Ⅲ级 肢体可以克服地心引力,能抬离床面",
@@ -780,6 +855,26 @@
this.cboJSHF.Size = new System.Drawing.Size(388, 28);
this.cboJSHF.TabIndex = 518;
//
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.Location = new System.Drawing.Point(858, 211);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(21, 20);
+ this.label9.TabIndex = 556;
+ this.label9.Text = "%";
+ this.label9.Visible = false;
+ //
+ // label16
+ //
+ this.label16.AutoSize = true;
+ this.label16.Location = new System.Drawing.Point(859, 175);
+ this.label16.Name = "label16";
+ this.label16.Size = new System.Drawing.Size(55, 20);
+ this.label16.TabIndex = 556;
+ this.label16.Text = "mmHg";
+ this.label16.Visible = false;
+ //
// label21
//
this.label21.AutoSize = true;
@@ -842,6 +937,16 @@
this.label3.TabIndex = 515;
this.label3.Text = "非计划二次插管";
//
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.Location = new System.Drawing.Point(708, 211);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(45, 20);
+ this.label8.TabIndex = 555;
+ this.label8.Text = "SPO2";
+ this.label8.Visible = false;
+ //
// label28
//
this.label28.AutoSize = true;
@@ -939,6 +1044,7 @@
//
this.cboPF.FormattingEnabled = true;
this.cboPF.Items.AddRange(new object[] {
+ "",
"未见异常",
"正常",
"无改善",
@@ -970,108 +1076,6 @@
this.label1.TabIndex = 515;
this.label1.Text = "肌力评分";
//
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(708, 211);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(45, 20);
- this.label8.TabIndex = 555;
- this.label8.Text = "SPO2";
- this.label8.Visible = false;
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.Location = new System.Drawing.Point(858, 211);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(21, 20);
- this.label9.TabIndex = 556;
- this.label9.Text = "%";
- this.label9.Visible = false;
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(755, 208);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(100, 26);
- this.textBox1.TabIndex = 557;
- this.textBox1.Visible = false;
- //
- // label16
- //
- this.label16.AutoSize = true;
- this.label16.Location = new System.Drawing.Point(859, 175);
- this.label16.Name = "label16";
- this.label16.Size = new System.Drawing.Size(55, 20);
- this.label16.TabIndex = 556;
- this.label16.Text = "mmHg";
- this.label16.Visible = false;
- //
- // TXTXY
- //
- this.TXTXY.Location = new System.Drawing.Point(228, 205);
- this.TXTXY.Name = "TXTXY";
- this.TXTXY.Size = new System.Drawing.Size(60, 26);
- this.TXTXY.TabIndex = 1541;
- //
- // txtCQL
- //
- this.txtCQL.Location = new System.Drawing.Point(101, 205);
- this.txtCQL.Name = "txtCQL";
- this.txtCQL.Size = new System.Drawing.Size(60, 26);
- this.txtCQL.TabIndex = 1542;
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(181, 207);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(37, 20);
- this.label7.TabIndex = 1539;
- this.label7.Text = "胸液";
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.Location = new System.Drawing.Point(40, 207);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(51, 20);
- this.label17.TabIndex = 1540;
- this.label17.Text = "潮气量";
- //
- // label19
- //
- this.label19.AutoSize = true;
- this.label19.Location = new System.Drawing.Point(298, 207);
- this.label19.Name = "label19";
- this.label19.Size = new System.Drawing.Size(37, 20);
- this.label19.TabIndex = 1540;
- this.label19.Text = "输血";
- //
- // txtSX
- //
- this.txtSX.Location = new System.Drawing.Point(345, 205);
- this.txtSX.Name = "txtSX";
- this.txtSX.Size = new System.Drawing.Size(60, 26);
- this.txtSX.TabIndex = 1542;
- //
- // label26
- //
- this.label26.AutoSize = true;
- this.label26.Location = new System.Drawing.Point(415, 207);
- this.label26.Name = "label26";
- this.label26.Size = new System.Drawing.Size(51, 20);
- this.label26.TabIndex = 1540;
- this.label26.Text = "平恒液";
- //
- // txtPHY
- //
- this.txtPHY.Location = new System.Drawing.Point(476, 205);
- this.txtPHY.Name = "txtPHY";
- this.txtPHY.Size = new System.Drawing.Size(60, 26);
- this.txtPHY.TabIndex = 1542;
- //
// frmOpeRecoverOutInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
diff --git a/AIMS/OperationFront/frmOperationApply.Designer.cs b/AIMS/OperationFront/frmOperationApply.Designer.cs
index 1415862..30c223a 100644
--- a/AIMS/OperationFront/frmOperationApply.Designer.cs
+++ b/AIMS/OperationFront/frmOperationApply.Designer.cs
@@ -52,33 +52,6 @@
this.btnFind = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.dgv = new System.Windows.Forms.DataGridView();
- this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -107,6 +80,35 @@
this.OperationRoomColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PlanOrder = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.panel2.SuspendLayout();
@@ -137,6 +139,8 @@
this.toolStripSeparator4,
this.tsbDelete,
this.toolStripSeparator2,
+ this.toolStripButton1,
+ this.toolStripSeparator3,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
@@ -382,217 +386,6 @@
this.dgv.TabIndex = 3;
this.dgv.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_RowPostPaint);
//
- // dataGridViewTextBoxColumn1
- //
- this.dataGridViewTextBoxColumn1.DataPropertyName = "ApplyId";
- this.dataGridViewTextBoxColumn1.HeaderText = "ApplyId";
- this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
- this.dataGridViewTextBoxColumn1.ReadOnly = true;
- this.dataGridViewTextBoxColumn1.Visible = false;
- //
- // dataGridViewTextBoxColumn2
- //
- this.dataGridViewTextBoxColumn2.DataPropertyName = "State";
- this.dataGridViewTextBoxColumn2.HeaderText = "状态";
- this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
- this.dataGridViewTextBoxColumn2.ReadOnly = true;
- this.dataGridViewTextBoxColumn2.Width = 70;
- //
- // dataGridViewTextBoxColumn3
- //
- this.dataGridViewTextBoxColumn3.DataPropertyName = "ApplyDepName";
- this.dataGridViewTextBoxColumn3.HeaderText = "申请科室";
- this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
- this.dataGridViewTextBoxColumn3.ReadOnly = true;
- this.dataGridViewTextBoxColumn3.Width = 80;
- //
- // dataGridViewTextBoxColumn4
- //
- this.dataGridViewTextBoxColumn4.DataPropertyName = "SickBed";
- this.dataGridViewTextBoxColumn4.HeaderText = "床位";
- this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
- this.dataGridViewTextBoxColumn4.ReadOnly = true;
- this.dataGridViewTextBoxColumn4.Width = 70;
- //
- // dataGridViewTextBoxColumn5
- //
- this.dataGridViewTextBoxColumn5.DataPropertyName = "MdrecNo";
- this.dataGridViewTextBoxColumn5.HeaderText = "住院号";
- this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
- this.dataGridViewTextBoxColumn5.ReadOnly = true;
- this.dataGridViewTextBoxColumn5.Width = 80;
- //
- // dataGridViewTextBoxColumn6
- //
- this.dataGridViewTextBoxColumn6.DataPropertyName = "PatientName";
- this.dataGridViewTextBoxColumn6.HeaderText = "患者姓名";
- this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
- this.dataGridViewTextBoxColumn6.ReadOnly = true;
- this.dataGridViewTextBoxColumn6.Width = 80;
- //
- // dataGridViewTextBoxColumn7
- //
- this.dataGridViewTextBoxColumn7.DataPropertyName = "Sex";
- this.dataGridViewTextBoxColumn7.HeaderText = "性别";
- this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
- this.dataGridViewTextBoxColumn7.ReadOnly = true;
- this.dataGridViewTextBoxColumn7.Width = 60;
- //
- // dataGridViewTextBoxColumn8
- //
- this.dataGridViewTextBoxColumn8.DataPropertyName = "Age";
- this.dataGridViewTextBoxColumn8.HeaderText = "年龄";
- this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
- this.dataGridViewTextBoxColumn8.ReadOnly = true;
- this.dataGridViewTextBoxColumn8.Width = 40;
- //
- // dataGridViewTextBoxColumn9
- //
- this.dataGridViewTextBoxColumn9.DataPropertyName = "OperationType";
- this.dataGridViewTextBoxColumn9.HeaderText = "手术类型";
- this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
- this.dataGridViewTextBoxColumn9.ReadOnly = true;
- this.dataGridViewTextBoxColumn9.Width = 80;
- //
- // dataGridViewTextBoxColumn10
- //
- this.dataGridViewTextBoxColumn10.DataPropertyName = "ApplyTime";
- this.dataGridViewTextBoxColumn10.HeaderText = "申请时间";
- this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
- this.dataGridViewTextBoxColumn10.ReadOnly = true;
- this.dataGridViewTextBoxColumn10.Width = 60;
- //
- // dataGridViewTextBoxColumn11
- //
- this.dataGridViewTextBoxColumn11.DataPropertyName = "OrderOperationTime";
- this.dataGridViewTextBoxColumn11.HeaderText = "预约时间";
- this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
- this.dataGridViewTextBoxColumn11.ReadOnly = true;
- this.dataGridViewTextBoxColumn11.Width = 80;
- //
- // dataGridViewTextBoxColumn12
- //
- this.dataGridViewTextBoxColumn12.DataPropertyName = "ApplyOperatorName";
- this.dataGridViewTextBoxColumn12.HeaderText = "申请人";
- this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
- this.dataGridViewTextBoxColumn12.ReadOnly = true;
- this.dataGridViewTextBoxColumn12.Width = 120;
- //
- // dataGridViewTextBoxColumn13
- //
- this.dataGridViewTextBoxColumn13.DataPropertyName = "OperationDoctor";
- this.dataGridViewTextBoxColumn13.HeaderText = "术者";
- this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
- this.dataGridViewTextBoxColumn13.ReadOnly = true;
- this.dataGridViewTextBoxColumn13.Width = 60;
- //
- // dataGridViewTextBoxColumn14
- //
- this.dataGridViewTextBoxColumn14.DataPropertyName = "Assistant1";
- this.dataGridViewTextBoxColumn14.HeaderText = "助手";
- this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
- this.dataGridViewTextBoxColumn14.ReadOnly = true;
- this.dataGridViewTextBoxColumn14.Width = 70;
- //
- // dataGridViewTextBoxColumn15
- //
- this.dataGridViewTextBoxColumn15.DataPropertyName = "ApplyDiagnoseInfoName";
- this.dataGridViewTextBoxColumn15.HeaderText = "术前诊断";
- this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
- this.dataGridViewTextBoxColumn15.ReadOnly = true;
- this.dataGridViewTextBoxColumn15.Width = 150;
- //
- // dataGridViewTextBoxColumn16
- //
- this.dataGridViewTextBoxColumn16.DataPropertyName = "ApplyOperationInfoName";
- this.dataGridViewTextBoxColumn16.HeaderText = "拟施手术";
- this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
- this.dataGridViewTextBoxColumn16.ReadOnly = true;
- this.dataGridViewTextBoxColumn16.Width = 150;
- //
- // dataGridViewTextBoxColumn17
- //
- this.dataGridViewTextBoxColumn17.DataPropertyName = "AnaesthesiaMethodName";
- this.dataGridViewTextBoxColumn17.HeaderText = "拟施麻醉";
- this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
- this.dataGridViewTextBoxColumn17.ReadOnly = true;
- this.dataGridViewTextBoxColumn17.Width = 150;
- //
- // dataGridViewTextBoxColumn18
- //
- this.dataGridViewTextBoxColumn18.DataPropertyName = "ApplyOperationPositionName";
- this.dataGridViewTextBoxColumn18.HeaderText = "手术部位";
- this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
- this.dataGridViewTextBoxColumn18.ReadOnly = true;
- this.dataGridViewTextBoxColumn18.Width = 80;
- //
- // dataGridViewTextBoxColumn19
- //
- this.dataGridViewTextBoxColumn19.DataPropertyName = "OperationLevelName";
- this.dataGridViewTextBoxColumn19.HeaderText = "手术分级";
- this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
- this.dataGridViewTextBoxColumn19.ReadOnly = true;
- this.dataGridViewTextBoxColumn19.Width = 80;
- //
- // dataGridViewTextBoxColumn20
- //
- this.dataGridViewTextBoxColumn20.DataPropertyName = "ApplyOperationCutTypeName";
- this.dataGridViewTextBoxColumn20.HeaderText = "切口类型";
- this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
- this.dataGridViewTextBoxColumn20.ReadOnly = true;
- this.dataGridViewTextBoxColumn20.Width = 70;
- //
- // dataGridViewTextBoxColumn21
- //
- this.dataGridViewTextBoxColumn21.DataPropertyName = "AnesthesiaDoctor";
- this.dataGridViewTextBoxColumn21.HeaderText = "麻醉医生";
- this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
- this.dataGridViewTextBoxColumn21.ReadOnly = true;
- this.dataGridViewTextBoxColumn21.Width = 80;
- //
- // dataGridViewTextBoxColumn22
- //
- this.dataGridViewTextBoxColumn22.DataPropertyName = "TourNurse";
- this.dataGridViewTextBoxColumn22.HeaderText = "巡回护士";
- this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
- this.dataGridViewTextBoxColumn22.Width = 60;
- //
- // dataGridViewTextBoxColumn23
- //
- this.dataGridViewTextBoxColumn23.DataPropertyName = "InstrumentNurse";
- this.dataGridViewTextBoxColumn23.HeaderText = "器械护士";
- this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
- this.dataGridViewTextBoxColumn23.Width = 60;
- //
- // dataGridViewTextBoxColumn24
- //
- this.dataGridViewTextBoxColumn24.DataPropertyName = "OperationRoom";
- this.dataGridViewTextBoxColumn24.HeaderText = "手术间";
- this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
- this.dataGridViewTextBoxColumn24.ReadOnly = true;
- this.dataGridViewTextBoxColumn24.Width = 40;
- //
- // dataGridViewTextBoxColumn25
- //
- this.dataGridViewTextBoxColumn25.DataPropertyName = "Remark";
- this.dataGridViewTextBoxColumn25.HeaderText = "备注";
- this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
- this.dataGridViewTextBoxColumn25.ReadOnly = true;
- this.dataGridViewTextBoxColumn25.Width = 60;
- //
- // dataGridViewTextBoxColumn26
- //
- this.dataGridViewTextBoxColumn26.DataPropertyName = "Remark";
- this.dataGridViewTextBoxColumn26.HeaderText = "备注";
- this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
- this.dataGridViewTextBoxColumn26.Width = 40;
- //
- // dataGridViewTextBoxColumn27
- //
- this.dataGridViewTextBoxColumn27.DataPropertyName = "Remark";
- this.dataGridViewTextBoxColumn27.HeaderText = "备注";
- this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
- //
// CheckBoxColumn
//
this.CheckBoxColumn.HeaderText = "选择";
@@ -806,6 +599,233 @@
this.RemarkColumn.HeaderText = "备注";
this.RemarkColumn.Name = "RemarkColumn";
//
+ // dataGridViewTextBoxColumn1
+ //
+ this.dataGridViewTextBoxColumn1.DataPropertyName = "ApplyId";
+ this.dataGridViewTextBoxColumn1.HeaderText = "ApplyId";
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+ this.dataGridViewTextBoxColumn1.ReadOnly = true;
+ this.dataGridViewTextBoxColumn1.Visible = false;
+ //
+ // dataGridViewTextBoxColumn2
+ //
+ this.dataGridViewTextBoxColumn2.DataPropertyName = "State";
+ this.dataGridViewTextBoxColumn2.HeaderText = "状态";
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ this.dataGridViewTextBoxColumn2.ReadOnly = true;
+ this.dataGridViewTextBoxColumn2.Width = 70;
+ //
+ // dataGridViewTextBoxColumn3
+ //
+ this.dataGridViewTextBoxColumn3.DataPropertyName = "ApplyDepName";
+ this.dataGridViewTextBoxColumn3.HeaderText = "申请科室";
+ this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
+ this.dataGridViewTextBoxColumn3.ReadOnly = true;
+ this.dataGridViewTextBoxColumn3.Width = 80;
+ //
+ // dataGridViewTextBoxColumn4
+ //
+ this.dataGridViewTextBoxColumn4.DataPropertyName = "SickBed";
+ this.dataGridViewTextBoxColumn4.HeaderText = "床位";
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
+ this.dataGridViewTextBoxColumn4.ReadOnly = true;
+ this.dataGridViewTextBoxColumn4.Width = 70;
+ //
+ // dataGridViewTextBoxColumn5
+ //
+ this.dataGridViewTextBoxColumn5.DataPropertyName = "MdrecNo";
+ this.dataGridViewTextBoxColumn5.HeaderText = "住院号";
+ this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
+ this.dataGridViewTextBoxColumn5.ReadOnly = true;
+ this.dataGridViewTextBoxColumn5.Width = 80;
+ //
+ // dataGridViewTextBoxColumn6
+ //
+ this.dataGridViewTextBoxColumn6.DataPropertyName = "PatientName";
+ this.dataGridViewTextBoxColumn6.HeaderText = "患者姓名";
+ this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
+ this.dataGridViewTextBoxColumn6.ReadOnly = true;
+ this.dataGridViewTextBoxColumn6.Width = 80;
+ //
+ // dataGridViewTextBoxColumn7
+ //
+ this.dataGridViewTextBoxColumn7.DataPropertyName = "Sex";
+ this.dataGridViewTextBoxColumn7.HeaderText = "性别";
+ this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
+ this.dataGridViewTextBoxColumn7.ReadOnly = true;
+ this.dataGridViewTextBoxColumn7.Width = 60;
+ //
+ // dataGridViewTextBoxColumn8
+ //
+ this.dataGridViewTextBoxColumn8.DataPropertyName = "Age";
+ this.dataGridViewTextBoxColumn8.HeaderText = "年龄";
+ this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
+ this.dataGridViewTextBoxColumn8.ReadOnly = true;
+ this.dataGridViewTextBoxColumn8.Width = 40;
+ //
+ // dataGridViewTextBoxColumn9
+ //
+ this.dataGridViewTextBoxColumn9.DataPropertyName = "OperationType";
+ this.dataGridViewTextBoxColumn9.HeaderText = "手术类型";
+ this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
+ this.dataGridViewTextBoxColumn9.ReadOnly = true;
+ this.dataGridViewTextBoxColumn9.Width = 80;
+ //
+ // dataGridViewTextBoxColumn10
+ //
+ this.dataGridViewTextBoxColumn10.DataPropertyName = "ApplyTime";
+ this.dataGridViewTextBoxColumn10.HeaderText = "申请时间";
+ this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
+ this.dataGridViewTextBoxColumn10.ReadOnly = true;
+ this.dataGridViewTextBoxColumn10.Width = 60;
+ //
+ // dataGridViewTextBoxColumn11
+ //
+ this.dataGridViewTextBoxColumn11.DataPropertyName = "OrderOperationTime";
+ this.dataGridViewTextBoxColumn11.HeaderText = "预约时间";
+ this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
+ this.dataGridViewTextBoxColumn11.ReadOnly = true;
+ this.dataGridViewTextBoxColumn11.Width = 80;
+ //
+ // dataGridViewTextBoxColumn12
+ //
+ this.dataGridViewTextBoxColumn12.DataPropertyName = "ApplyOperatorName";
+ this.dataGridViewTextBoxColumn12.HeaderText = "申请人";
+ this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
+ this.dataGridViewTextBoxColumn12.ReadOnly = true;
+ this.dataGridViewTextBoxColumn12.Width = 120;
+ //
+ // dataGridViewTextBoxColumn13
+ //
+ this.dataGridViewTextBoxColumn13.DataPropertyName = "OperationDoctor";
+ this.dataGridViewTextBoxColumn13.HeaderText = "术者";
+ this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
+ this.dataGridViewTextBoxColumn13.ReadOnly = true;
+ this.dataGridViewTextBoxColumn13.Width = 60;
+ //
+ // dataGridViewTextBoxColumn14
+ //
+ this.dataGridViewTextBoxColumn14.DataPropertyName = "Assistant1";
+ this.dataGridViewTextBoxColumn14.HeaderText = "助手";
+ this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
+ this.dataGridViewTextBoxColumn14.ReadOnly = true;
+ this.dataGridViewTextBoxColumn14.Width = 70;
+ //
+ // dataGridViewTextBoxColumn15
+ //
+ this.dataGridViewTextBoxColumn15.DataPropertyName = "ApplyDiagnoseInfoName";
+ this.dataGridViewTextBoxColumn15.HeaderText = "术前诊断";
+ this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
+ this.dataGridViewTextBoxColumn15.ReadOnly = true;
+ this.dataGridViewTextBoxColumn15.Width = 150;
+ //
+ // dataGridViewTextBoxColumn16
+ //
+ this.dataGridViewTextBoxColumn16.DataPropertyName = "ApplyOperationInfoName";
+ this.dataGridViewTextBoxColumn16.HeaderText = "拟施手术";
+ this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
+ this.dataGridViewTextBoxColumn16.ReadOnly = true;
+ this.dataGridViewTextBoxColumn16.Width = 150;
+ //
+ // dataGridViewTextBoxColumn17
+ //
+ this.dataGridViewTextBoxColumn17.DataPropertyName = "AnaesthesiaMethodName";
+ this.dataGridViewTextBoxColumn17.HeaderText = "拟施麻醉";
+ this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
+ this.dataGridViewTextBoxColumn17.ReadOnly = true;
+ this.dataGridViewTextBoxColumn17.Width = 150;
+ //
+ // dataGridViewTextBoxColumn18
+ //
+ this.dataGridViewTextBoxColumn18.DataPropertyName = "ApplyOperationPositionName";
+ this.dataGridViewTextBoxColumn18.HeaderText = "手术部位";
+ this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
+ this.dataGridViewTextBoxColumn18.ReadOnly = true;
+ this.dataGridViewTextBoxColumn18.Width = 80;
+ //
+ // dataGridViewTextBoxColumn19
+ //
+ this.dataGridViewTextBoxColumn19.DataPropertyName = "OperationLevelName";
+ this.dataGridViewTextBoxColumn19.HeaderText = "手术分级";
+ this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
+ this.dataGridViewTextBoxColumn19.ReadOnly = true;
+ this.dataGridViewTextBoxColumn19.Width = 80;
+ //
+ // dataGridViewTextBoxColumn20
+ //
+ this.dataGridViewTextBoxColumn20.DataPropertyName = "ApplyOperationCutTypeName";
+ this.dataGridViewTextBoxColumn20.HeaderText = "切口类型";
+ this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
+ this.dataGridViewTextBoxColumn20.ReadOnly = true;
+ this.dataGridViewTextBoxColumn20.Width = 70;
+ //
+ // dataGridViewTextBoxColumn21
+ //
+ this.dataGridViewTextBoxColumn21.DataPropertyName = "AnesthesiaDoctor";
+ this.dataGridViewTextBoxColumn21.HeaderText = "麻醉医生";
+ this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
+ this.dataGridViewTextBoxColumn21.ReadOnly = true;
+ this.dataGridViewTextBoxColumn21.Width = 80;
+ //
+ // dataGridViewTextBoxColumn22
+ //
+ this.dataGridViewTextBoxColumn22.DataPropertyName = "TourNurse";
+ this.dataGridViewTextBoxColumn22.HeaderText = "巡回护士";
+ this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
+ this.dataGridViewTextBoxColumn22.Width = 60;
+ //
+ // dataGridViewTextBoxColumn23
+ //
+ this.dataGridViewTextBoxColumn23.DataPropertyName = "InstrumentNurse";
+ this.dataGridViewTextBoxColumn23.HeaderText = "器械护士";
+ this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
+ this.dataGridViewTextBoxColumn23.Width = 60;
+ //
+ // dataGridViewTextBoxColumn24
+ //
+ this.dataGridViewTextBoxColumn24.DataPropertyName = "OperationRoom";
+ this.dataGridViewTextBoxColumn24.HeaderText = "手术间";
+ this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
+ this.dataGridViewTextBoxColumn24.ReadOnly = true;
+ this.dataGridViewTextBoxColumn24.Width = 40;
+ //
+ // dataGridViewTextBoxColumn25
+ //
+ this.dataGridViewTextBoxColumn25.DataPropertyName = "Remark";
+ this.dataGridViewTextBoxColumn25.HeaderText = "备注";
+ this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
+ this.dataGridViewTextBoxColumn25.ReadOnly = true;
+ this.dataGridViewTextBoxColumn25.Width = 60;
+ //
+ // dataGridViewTextBoxColumn26
+ //
+ this.dataGridViewTextBoxColumn26.DataPropertyName = "Remark";
+ this.dataGridViewTextBoxColumn26.HeaderText = "备注";
+ this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
+ this.dataGridViewTextBoxColumn26.Width = 40;
+ //
+ // dataGridViewTextBoxColumn27
+ //
+ this.dataGridViewTextBoxColumn27.DataPropertyName = "Remark";
+ this.dataGridViewTextBoxColumn27.HeaderText = "备注";
+ this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
+ //
+ // toolStripButton1
+ //
+ this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.toolStripButton1.Image = global::AIMS.Properties.Resources.图标_回顾恢复;
+ this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton1.Name = "toolStripButton1";
+ this.toolStripButton1.Size = new System.Drawing.Size(60, 46);
+ this.toolStripButton1.Text = "数据中心";
+ this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
+ //
+ // toolStripSeparator3
+ //
+ this.toolStripSeparator3.Name = "toolStripSeparator3";
+ this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
+ //
// frmOperationApply
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -913,5 +933,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoomColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PlanOrder;
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
+ private System.Windows.Forms.ToolStripButton toolStripButton1;
+ public System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
}
}
\ No newline at end of file
diff --git a/AIMS/OperationFront/frmOperationApply.cs b/AIMS/OperationFront/frmOperationApply.cs
index 0812479..7f31267 100644
--- a/AIMS/OperationFront/frmOperationApply.cs
+++ b/AIMS/OperationFront/frmOperationApply.cs
@@ -1,4 +1,5 @@
using AIMSBLL;
+using AIMSExtension;
using AIMSModel;
using DevComponents.DotNetBar;
using DevComponents.DotNetBar.Controls;
@@ -6,8 +7,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
+using System.Diagnostics;
using System.Drawing;
using System.Linq;
+using System.Security.Policy;
using System.Text;
using System.Windows.Forms;
@@ -96,7 +99,7 @@ namespace AIMS.OperationFront.UI
}
void frmOperationApplyDetail_FormClosed(object sender, FormClosedEventArgs e)
- {
+ {
}
private void btnFind_Click(object sender, EventArgs e)
@@ -209,5 +212,14 @@ namespace AIMS.OperationFront.UI
}
}
+
+ private void toolStripButton1_Click(object sender, EventArgs e)
+ {
+ if (dgv.Rows.Count > 0)
+ {
+ int selApply = int.Parse(dgv.CurrentRow.Cells["ApplyId"].Value.ToString());
+ EMRExtension.OpenEMRS(0, selApply);
+ }
+ }
}
}
diff --git a/AIMS/OperationFront/frmOperationApply.resx b/AIMS/OperationFront/frmOperationApply.resx
index 094320d..675aa57 100644
--- a/AIMS/OperationFront/frmOperationApply.resx
+++ b/AIMS/OperationFront/frmOperationApply.resx
@@ -120,9 +120,6 @@
17, 17
-
- 17, 17
-
True
diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.cs b/AIMS/OperationFront/frmOperationSchedulePlan.cs
index e9180ca..2cfe919 100644
--- a/AIMS/OperationFront/frmOperationSchedulePlan.cs
+++ b/AIMS/OperationFront/frmOperationSchedulePlan.cs
@@ -12,7 +12,7 @@ using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
-using System.Windows.Forms;
+using System.Windows.Forms;
namespace AIMS.OperationFront.UI
{
@@ -4861,25 +4861,7 @@ namespace AIMS.OperationFront.UI
MessageBox.Show("ѡߣ","ϵͳʾ");
return;
}
- OperationApply opeapply = BOperationApply.SelectSingle(int.Parse(selApply), RecursiveType.None, 0);
- OrisPatient pat = BOrisPatient.SelectSingle(opeapply.OrisPatientId, RecursiveType.None, 0);
- if (PublicMethod.GetHospitalName().Contains("ػʵ"))
- {
- try
- {
- string patientId = "orcl:LDQ:5:1:0:" + pat.HisPatientId + ":" + pat.VisitTimes + "";
- Process myprocess = new Process();
- ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\APPSOFT\zlSoftCISInterface.exe", patientId);
- PublicMethod.WriteLog(new Exception(@"C:\APPSOFT\zlSoftCISInterface.exe" + patientId));
- myprocess.StartInfo = startInfo;
- myprocess.StartInfo.UseShellExecute = false;
- myprocess.Start();
- }
- catch (Exception )
- {
- MessageBox.Show(@"C:\APPSOFT\zlSoftCISInterface.exe·ҲzlSoftCISInterface.exe");
- }
- }
+ EMRExtension.OpenEMRS(0, int.Parse(selApply));
}
private void dgvApplyOrDoctor_DataError(object sender, DataGridViewDataErrorEventArgs e)
diff --git a/AIMS/OremrUserControl/UCPatientPhysiology.designer.cs b/AIMS/OremrUserControl/UCPatientPhysiology.designer.cs
index cd96f94..819c444 100644
--- a/AIMS/OremrUserControl/UCPatientPhysiology.designer.cs
+++ b/AIMS/OremrUserControl/UCPatientPhysiology.designer.cs
@@ -432,7 +432,7 @@
// lblSpO2
//
this.lblSpO2.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblSpO2.ForeColor = System.Drawing.Color.Yellow;
+ this.lblSpO2.ForeColor = System.Drawing.Color.DarkOrange;
this.lblSpO2.Location = new System.Drawing.Point(8, 28);
this.lblSpO2.Name = "lblSpO2";
this.lblSpO2.Size = new System.Drawing.Size(59, 28);
diff --git a/AIMS/OremrUserControl/ucDocument.cs b/AIMS/OremrUserControl/ucDocument.cs
index 272841f..fda9619 100644
--- a/AIMS/OremrUserControl/ucDocument.cs
+++ b/AIMS/OremrUserControl/ucDocument.cs
@@ -197,7 +197,7 @@ namespace AIMS.OremrUserControl
{
toolStripButton1.Visible = true;
}
- if (XmlFileName == "自费项目治疗同意书" || XmlFileName == "自费项目治疗同意书2")
+ if (XmlFileName == "自费项目治疗同意书" || XmlFileName == "自费项目治疗同意书2" || XmlFileName == "特需医疗服务项目医患协议书")
{
toolStripButton1.Text = "选择药品";
toolStripButton1.Visible = true;
@@ -399,13 +399,14 @@ namespace AIMS.OremrUserControl
{
frmDrugSel drugSel = new frmDrugSel();
drugSel.IsLoad = true;
+ drugSel.loadString = "自费用药,自费耗材";
drugSel.ShowDialog();
int num = 1;
int a = 71;
int j = 42;
for (int i = 13; i < 42; i++)
{
- if (num > drugSel.FactDrugList.Count)
+ if (num > drugSel.FactDrugList.Count)
return;
var item = drugSel.FactDrugList[num - 1];
var field12 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
@@ -422,33 +423,36 @@ namespace AIMS.OremrUserControl
num++;
}
}
- //if (DModel.XmlFileName == "自费项目治疗同意书")
- //{
- // string Result = "";
- // string Result1 = "";
- // string Result2 = "";
- // frmDrugSel drugSel = new frmDrugSel();
- // drugSel.IsLoad = true;
- // drugSel.ShowDialog();
- // int i = 1;
- // foreach (var item in drugSel.FactDrugList)
- // {
- // Result += i + "." + item.DrugName + " " + item.Dosage + "元\r\n";
- // Result1 += " " + item.DrugKind + item.DosageUnit + "\r\n";
- // Result2 += " " + item.DensityUnit + " " + " \r\n";
- // i++;
- // }
- // var field12 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
- // && (x as XTextInputFieldElement).ID == "field15").FirstOrDefault();
- // if (Result != "") field12.Text = Result.ToString();
- // var field13 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
- // && (x as XTextInputFieldElement).ID == "field12").FirstOrDefault();
- // if (Result1 != "") field13.Text = Result1.ToString();
- // var field14 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
- // && (x as XTextInputFieldElement).ID == "field13").FirstOrDefault();
- // if (Result2 != "") field14.Text = Result2.ToString();
+ if (DModel.XmlFileName == "特需医疗服务项目医患协议书")
+ {
+ string Result = "";
+ string Result2 = "";
+ frmDrugSel drugSel = new frmDrugSel();
+ drugSel.IsLoad = true;
+ drugSel.loadString = "特需用药,特需耗材";
+ drugSel.ShowDialog();
+ int i = 1;
+ foreach (var item in drugSel.FactDrugList)
+ {
+ if (i < 7)
+ {
+ Result += i + "." + item.DrugName + " " + item.Dosage + "元 " + item.DrugKind + item.DosageUnit + " " + item.DensityUnit + " \r\n";
+ i++;
+ }
+ else
+ {
+ Result2 += i + "." + item.DrugName + " " + item.Dosage + "元 " + item.DrugKind + item.DosageUnit + " " + item.DensityUnit + "\r\n";
+ i++;
+ }
+ }
+ var field12 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
+ && (x as XTextInputFieldElement).ID == "field8").FirstOrDefault();
+ if (Result != "") field12.Text = Result.ToString();
+ var field13 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
+ && (x as XTextInputFieldElement).ID == "field11").FirstOrDefault();
+ if (Result2 != "") field13.Text = Result2.ToString();
- //}
+ }
if (DModel.XmlFileName == "自费项目治疗同意书2")
{
string Result = "";
diff --git a/AIMS/PublicUI/frmDrugSel.cs b/AIMS/PublicUI/frmDrugSel.cs
index 85126ca..86b99d9 100644
--- a/AIMS/PublicUI/frmDrugSel.cs
+++ b/AIMS/PublicUI/frmDrugSel.cs
@@ -23,6 +23,7 @@ namespace AIMS.PublicUI.UI
public bool isCVhageAllSapDose = false;
public int DrugTypeId;
public bool IsLoad;
+ public string loadString;
#region 公共成员
int x = 0;
@@ -917,6 +918,7 @@ namespace AIMS.PublicUI.UI
{
foreach (var item in AnaesthesiaList)
{
+ if (!loadString.Contains(item.Name)) continue;
if (item.Remark == "药品")
{
DataTable dt = BDrugs.GetDrugsByIds(item.TheEventsId.ToString());
diff --git a/AIMS/PublicUI/frmTemplate.Designer.cs b/AIMS/PublicUI/frmTemplate.Designer.cs
index c36507d..c4cc858 100644
--- a/AIMS/PublicUI/frmTemplate.Designer.cs
+++ b/AIMS/PublicUI/frmTemplate.Designer.cs
@@ -36,7 +36,11 @@
this.panel1 = new System.Windows.Forms.Panel();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TemplateNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.OperatorName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InputColumn = new System.Windows.Forms.DataGridViewButtonColumn();
this.DeleteColumn = new System.Windows.Forms.DataGridViewButtonColumn();
this.IsPublic = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -68,6 +72,7 @@
this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.TemplateNameColumn,
+ this.OperatorName,
this.InputColumn,
this.DeleteColumn,
this.IsPublic,
@@ -130,19 +135,49 @@
//
// dataGridViewTextBoxColumn1
//
+ this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn1.DataPropertyName = "TemplateName";
this.dataGridViewTextBoxColumn1.HeaderText = "模板名称";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
- this.dataGridViewTextBoxColumn1.Width = 220;
+ //
+ // dataGridViewTextBoxColumn2
+ //
+ this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+ this.dataGridViewTextBoxColumn2.DataPropertyName = "OperatorName";
+ this.dataGridViewTextBoxColumn2.HeaderText = "创建人";
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ this.dataGridViewTextBoxColumn2.Width = 90;
+ //
+ // dataGridViewTextBoxColumn3
+ //
+ this.dataGridViewTextBoxColumn3.DataPropertyName = "IsPublic";
+ this.dataGridViewTextBoxColumn3.HeaderText = "公有";
+ this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
+ this.dataGridViewTextBoxColumn3.Visible = false;
+ //
+ // dataGridViewTextBoxColumn4
+ //
+ this.dataGridViewTextBoxColumn4.DataPropertyName = "OperatorNo";
+ this.dataGridViewTextBoxColumn4.HeaderText = "OperatorNo";
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
+ this.dataGridViewTextBoxColumn4.Visible = false;
//
// TemplateNameColumn
//
+ this.TemplateNameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.TemplateNameColumn.DataPropertyName = "TemplateName";
this.TemplateNameColumn.HeaderText = "模板名称";
this.TemplateNameColumn.Name = "TemplateNameColumn";
this.TemplateNameColumn.ReadOnly = true;
- this.TemplateNameColumn.Width = 220;
+ //
+ // OperatorName
+ //
+ this.OperatorName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+ this.OperatorName.DataPropertyName = "OperatorName";
+ this.OperatorName.HeaderText = "创建人";
+ this.OperatorName.Name = "OperatorName";
+ this.OperatorName.Width = 70;
//
// InputColumn
//
@@ -206,7 +241,11 @@
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.DataGridView dgv;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn TemplateNameColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn OperatorName;
private System.Windows.Forms.DataGridViewButtonColumn InputColumn;
private System.Windows.Forms.DataGridViewButtonColumn DeleteColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsPublic;
diff --git a/AIMS/PublicUI/frmTemplate.cs b/AIMS/PublicUI/frmTemplate.cs
index 32b19c4..40e7e0d 100644
--- a/AIMS/PublicUI/frmTemplate.cs
+++ b/AIMS/PublicUI/frmTemplate.cs
@@ -1,4 +1,5 @@
using AIMSBLL;
+using AIMSExtension;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -66,11 +67,11 @@ namespace AIMS.PublicUI.UI
if (this.dgv.Columns[e.ColumnIndex].Name == "DeleteColumn")
{
bool isDelete = false;
- if (dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString() == "0" && dgv.CurrentRow.Cells["OperatorNo"].Value.ToString() == AIMSExtension.PublicMethod.OperatorNo)
+ if (dgv.CurrentRow.Cells["isPublic"].Value.ToString() == "0" && dgv.CurrentRow.Cells["OperatorNo"].Value.ToString() == AIMSExtension.PublicMethod.OperatorNo || AIMSExtension.PublicMethod.RoleId == 7)
{
isDelete = true;
}
- else if (dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString() == "1" && (dgv.CurrentRow.Cells["OperatorNo"].Value.ToString() == AIMSExtension.PublicMethod.OperatorNo || dgv.CurrentRow.Cells["OperatorNo"].Value.ToString() == "admin" || AIMSExtension.PublicMethod.RoleId == 7))
+ else if (dgv.CurrentRow.Cells["isPublic"].Value.ToString() == "1" && (dgv.CurrentRow.Cells["OperatorNo"].Value.ToString() == AIMSExtension.PublicMethod.OperatorNo || dgv.CurrentRow.Cells["OperatorNo"].Value.ToString() == "admin" || AIMSExtension.PublicMethod.RoleId == 7))
{
isDelete = true;
}
@@ -82,7 +83,7 @@ namespace AIMS.PublicUI.UI
if (MessageBox.Show("确认要删除[" + dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString() + "]模板吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
{
- BOperationTemplate.Delete(dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString(), TypeId);
+ BOperationTemplate.Delete(dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString(), TypeId);
GetTemplateDataTable();
}
}
diff --git a/AIMS/PublicUI/frmTemplate.resx b/AIMS/PublicUI/frmTemplate.resx
index 1a68954..0ae6711 100644
--- a/AIMS/PublicUI/frmTemplate.resx
+++ b/AIMS/PublicUI/frmTemplate.resx
@@ -120,6 +120,9 @@
True
+
+ True
+
True
@@ -135,7 +138,4 @@
17, 17
-
- 17, 17
-
\ No newline at end of file
diff --git a/AIMSEntity/BLL/Extension/BOperationRecord.cs b/AIMSEntity/BLL/Extension/BOperationRecord.cs
index 8744440..0e98e61 100644
--- a/AIMSEntity/BLL/Extension/BOperationRecord.cs
+++ b/AIMSEntity/BLL/Extension/BOperationRecord.cs
@@ -20,6 +20,10 @@ namespace AIMSBLL
{
return DOperationRecord.AddTitleTime(PatientId, ApplyId, RecoverId, State, Time, RoomId);
}
+ public static int AddTitleTime2(int PatientId, int ApplyId, int RecoverId, int State, DateTime Time, int RoomId)
+ {
+ return DOperationRecord.AddTitleTime2(PatientId, ApplyId, RecoverId, State, Time, RoomId);
+ }
public static OperationRecord getRecord(OperationRecord _record, int PatientId, int RecoverId)
{
if (_record == null) _record = new OperationRecord();
@@ -29,6 +33,10 @@ namespace AIMSBLL
}
BOperationRecord.SelectSingle(PatientId, RecoverId, ref _record);
+ if (RecoverId == 1 && (_record.Breath == null || _record.Breath == ""))
+ {
+ _record.Breath = "10";
+ }
List InstrumentLists = BOperationRecordInstrumentList.Select(" OperationRecordId=" + Convert.ToInt32(_record.Id), null);
if (InstrumentLists != null && InstrumentLists.Count > 0)
{
@@ -150,13 +158,6 @@ namespace AIMSBLL
_record.OpeRecordInfo.OperatorTime = DateTime.Now;
_record.OpeRecordInfo.Id = BOperationRecordInfo.Insert(_record.OpeRecordInfo);
}
-
- _record.OpeRecoverInInfo = BOperationRecoverInInfo.SelectSingle("PatientId=" + _record.PatientId, null);
- if (_record.OpeRecoverInInfo == null) _record.OpeRecoverInInfo = new OperationRecoverInInfo();
-
- _record.OpeRecoverOutInfo = BOperationRecoverOutInfo.SelectSingle("PatientId=" + _record.PatientId, null);
- if (_record.OpeRecoverOutInfo == null) _record.OpeRecoverOutInfo = new OperationRecoverOutInfo();
-
_record.FactBloodGasAnalysisList = BFactBloodGasAnalysis.Select("OperationRecordId=" + _record.Id, null);
foreach (var item in _record.FactBloodGasAnalysisList)
{
@@ -206,53 +207,66 @@ namespace AIMSBLL
_record.SpareSix += "规培护士:" + _record.OpeRecordInfo.RuleNurse + " ";
}
-
- int x = 0;
- double allDrugDose = 0, allOutDose = 0;
- _record.SpareTwo = "";
- _record.SpareThree = "";
- _record.SpareFour = "";
- foreach (var item in _record.FactDrugList)
+ if (RecoverId == 2)
{
- string dose = "";
- if (dose.Trim() != "") dose += " ";
- dose += ((double)item.Dosage).ToString();
- if (item.DosageUnit != null)
- {
- dose += item.DosageUnit;
- }
- _record.SpareFour += string.Format("({0}){1} {2} {3}{4}{5} ", x + 1, (item.DrugBeginTime == item.DrugEndTime) ? item.DrugBeginTime.ToShortTimeString() : item.DrugBeginTime.ToShortTimeString() + "->" + item.DrugEndTime.ToShortTimeString(), item.DrugName.Trim(), dose, "", item.DrugChannel == null ? "" : " " + item.DrugChannel.ToString());
- if (item.DosageUnit.Trim() == "mL" || item.DosageUnit.Trim() == "ml" || item.DosageUnit.Trim() == "ML")
- if (item.Dosage != 0)
- {
- Double val = Convert.ToDouble(item.Dosage);
- allDrugDose += val;
- }
- x++;
- }
- _record.SpareTwo = allDrugDose.ToString();
- foreach (var item in _record.FactOutputLiquidsList)
- {
- string dose = "";
- if (dose.Trim() != "") dose += " ";
- dose += ((double)item.Dosage).ToString();
- if (item.DosageUnit != null)
- {
- dose += item.DosageUnit;
- }
- _record.SpareFour += string.Format("({0}){1} {2} {3} ", x + 1, (item.BeginTime == item.EndTime) ? item.BeginTime.ToShortTimeString() : item.BeginTime.ToShortTimeString() + "->" + item.EndTime.ToShortTimeString(), item.OutputLiquidsName.Trim(), dose);
+ _record.OpeRecoverInInfo = BOperationRecoverInInfo.SelectSingle("PatientId=" + _record.PatientId, null);
+ if (_record.OpeRecoverInInfo == null) _record.OpeRecoverInInfo = new OperationRecoverInInfo();
- if (item.DosageUnit.Trim() == "mL" || item.DosageUnit.Trim() == "ml" || item.DosageUnit.Trim() == "ML")
+ _record.OpeRecoverOutInfo = BOperationRecoverOutInfo.SelectSingle("PatientId=" + _record.PatientId, null);
+ if (_record.OpeRecoverOutInfo == null)
{
- if (item.Dosage != 0)
- {
- Double val = Convert.ToDouble(item.Dosage);
- allOutDose += val;
- }
+ _record.OpeRecoverOutInfo = new OperationRecoverOutInfo();
+ _record.OpeRecoverOutInfo.Extend1 = " /";
+ _record.OpeRecoverOutInfo.Extend2 = " /";
}
- x++;
+ int x = 0;
+ double allDrugDose = 0, allOutDose = 0;
+ _record.SpareTwo = "";
+ _record.SpareThree = "";
+ _record.SpareFour = "";
+ foreach (var item in _record.FactDrugList)
+ {
+ string dose = "";
+ if (dose.Trim() != "") dose += " ";
+ dose += ((double)item.Dosage).ToString();
+ if (item.DosageUnit != null)
+ {
+ dose += item.DosageUnit;
+ }
+ _record.SpareFour += string.Format("({0}){1} {2} {3}{4}{5} ", x + 1, (item.DrugBeginTime == item.DrugEndTime) ? item.DrugBeginTime.ToShortTimeString() : item.DrugBeginTime.ToShortTimeString() + "->" + item.DrugEndTime.ToShortTimeString(), item.DrugName.Trim(), dose, "", item.DrugChannel == null ? "" : " " + item.DrugChannel.ToString());
+ if (item.DosageUnit.Trim() == "mL" || item.DosageUnit.Trim() == "ml" || item.DosageUnit.Trim() == "ML")
+ if (item.Dosage != 0)
+ {
+ Double val = Convert.ToDouble(item.Dosage);
+ allDrugDose += val;
+ }
+ x++;
+ }
+ _record.SpareTwo = allDrugDose.ToString();
+ foreach (var item in _record.FactOutputLiquidsList)
+ {
+ string dose = "";
+ if (dose.Trim() != "") dose += " ";
+ dose += ((double)item.Dosage).ToString();
+ if (item.DosageUnit != null)
+ {
+ dose += item.DosageUnit;
+ }
+ _record.SpareFour += string.Format("({0}){1} {2} {3} ", x + 1, (item.BeginTime == item.EndTime) ? item.BeginTime.ToShortTimeString() : item.BeginTime.ToShortTimeString() + "->" + item.EndTime.ToShortTimeString(), item.OutputLiquidsName.Trim(), dose);
+
+ if (item.DosageUnit.Trim() == "mL" || item.DosageUnit.Trim() == "ml" || item.DosageUnit.Trim() == "ML")
+ {
+ if (item.Dosage != 0)
+ {
+ Double val = Convert.ToDouble(item.Dosage);
+ allOutDose += val;
+ }
+ }
+ x++;
+ }
+ _record.SpareThree = allOutDose.ToString();
+
}
- _record.SpareThree = allOutDose.ToString();
if (_record.ASALevel == null || _record.ASALevel == 0)
BOperationReview.GetASALevel(PatientId, _record);
diff --git a/AIMSEntity/DAL/Extension/DOperationRecord.cs b/AIMSEntity/DAL/Extension/DOperationRecord.cs
index a4ce362..0060de2 100644
--- a/AIMSEntity/DAL/Extension/DOperationRecord.cs
+++ b/AIMSEntity/DAL/Extension/DOperationRecord.cs
@@ -20,6 +20,16 @@ namespace AIMSDAL
+ AIMSExtension.PublicMethod.OperatorName + "','" + AIMSExtension.PublicMethod.SystemDate() + "','" + RoomId + "','" + ApplyAnaesthesiaMethod + "');select @@identity ";
return Convert.ToInt32(HelperDB.DbHelperSQL.ExecNonQuery(strSql));
+ }
+ public static int AddTitleTime2(int PatientId, int ApplyId, int RecoverId, int State, DateTime Time, int RoomId)
+ {
+ OperationRecord _record = new OperationRecord();
+ BOperationRecord.SelectSingle(PatientId, 1, ref _record);
+ string strSql = "INSERT INTO OperationRecord(PatientId,OperationApplyId,RecoverId,[State],InRoomTime,OperatorNo,OperatorName,OperateDate,RoomId,AnaesthesiaMethodName,ASALevel)" +
+ "VALUES (" + PatientId + "," + ApplyId + "," + RecoverId + ",'" + State + "','" + Time + "','" + AIMSExtension.PublicMethod.OperatorNo + "','"
+ + AIMSExtension.PublicMethod.OperatorName + "','" + AIMSExtension.PublicMethod.SystemDate() + "','" + RoomId + "','" + _record.AnaesthesiaMethodName + "','" + _record.ASALevel + "');select @@identity ";
+ return Convert.ToInt32(HelperDB.DbHelperSQL.ExecNonQuery(strSql));
+
}
public static DataTable GetOperationDoingMainInfo(int PatientId, int TypeId)
@@ -50,10 +60,10 @@ namespace AIMSDAL
"',OperateDate = '" + AIMSExtension.PublicMethod.SystemDate() +
"' WHERE PatientId=" + PatientId + " and RecoverId='" + TypeId + "'";
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
- }
+ }
public static void UpdateTimeSpan(int Id)
{
- string strSql = " update OperationRecord set RoomTimeSpan=ISNULL(DATEDIFF(minute,InRoomTime,OutRoomTime),0),OperationTimeSpan=ISNULL(DATEDIFF(minute,OperationBeginTime,OperationEndTime),0),AnaesthesiaTimeSpan=ISNULL(DATEDIFF(minute,AnesthesiaBeginTime, AnesthesiaEndTime),0) where id ='" + Id+"' ";
+ string strSql = " update OperationRecord set RoomTimeSpan=ISNULL(DATEDIFF(minute,InRoomTime,OutRoomTime),0),OperationTimeSpan=ISNULL(DATEDIFF(minute,OperationBeginTime,OperationEndTime),0),AnaesthesiaTimeSpan=ISNULL(DATEDIFF(minute,AnesthesiaBeginTime, AnesthesiaEndTime),0) where id ='" + Id + "' ";
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
diff --git a/AIMSEntity/DAL/Extension/DOperationTemplate.cs b/AIMSEntity/DAL/Extension/DOperationTemplate.cs
index a23abc2..a4ca3e8 100644
--- a/AIMSEntity/DAL/Extension/DOperationTemplate.cs
+++ b/AIMSEntity/DAL/Extension/DOperationTemplate.cs
@@ -141,7 +141,7 @@ namespace AIMSDAL
public static DataTable GetDataTable(int TypeId, string OpNo)
{
- string strSql = "SELECT DISTINCT TemplateName,OperatorNo FROM OperationTemplate ot WHERE TypeId=" + TypeId + " and (isPublic=1 or [OperatorNo]='" + OpNo + "')";
+ string strSql = "SELECT DISTINCT TemplateName,OperatorNo,OperatorName,isPublic FROM OperationTemplate ot WHERE TypeId=" + TypeId + " and (isPublic=1 or [OperatorNo]='" + OpNo + "')";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
diff --git a/DocumentManagement/DocumentEntity/PatientRecord.cs b/DocumentManagement/DocumentEntity/PatientRecord.cs
index 2ed04d7..18c3968 100644
--- a/DocumentManagement/DocumentEntity/PatientRecord.cs
+++ b/DocumentManagement/DocumentEntity/PatientRecord.cs
@@ -39,7 +39,7 @@ namespace DocumentManagement
public String OperationTimeLeight { get; set; }
public String IsReturnOperation { get; set; }
public String IsPlanReturnOperation { get; set; }
- public String ApplyDiagnoseInfoName { get; set; }
+ public String ApplyDiagnoseInfoName { get; set; }
public String DiagnoseRemark { get; set; }
public String ApplyOperationInfoName { get; set; }
public String OperationRemark { get; set; }
@@ -133,12 +133,18 @@ namespace DocumentManagement
patient.Height = dt.Rows[0]["Height"].ToString();
patient.Weight = dt.Rows[0]["Weight"].ToString();
patient.BMI = dt.Rows[0]["BMI"].ToString();
- if (patient.BMI == "" && patient.Height != "" && patient.Weight != "" && patient.Weight != "卧床")
+ try
{
- double hei = double.Parse(patient.Height) / 100;
- double wei = double.Parse(patient.Weight);
- double BMI = wei / hei / hei;
- patient.BMI = Math.Floor(BMI).ToString();
+ if (patient.BMI == "" && patient.Height != "" && patient.Weight != "" && patient.Weight != "卧床")
+ {
+ double hei = double.Parse(patient.Height) / 100;
+ double wei = double.Parse(patient.Weight);
+ double BMI = wei / hei / hei;
+ patient.BMI = Math.Floor(BMI).ToString();
+ }
+ }
+ catch (Exception)
+ {
}
patient.BirthDay = dt.Rows[0]["BirthDay"].ToString();
patient.BloodType = dt.Rows[0]["BloodType"].ToString();
@@ -149,7 +155,7 @@ namespace DocumentManagement
patient.OperationTimeLeight = dt.Rows[0]["OperationTimeLeight"].ToString();
patient.IsReturnOperation = dt.Rows[0]["IsReturnOperation"].ToString();
patient.IsPlanReturnOperation = dt.Rows[0]["IsPlanReturnOperation"].ToString();
- patient.ApplyDiagnoseInfoName = dt.Rows[0]["ApplyDiagnoseInfoName"].ToString();
+ patient.ApplyDiagnoseInfoName = dt.Rows[0]["ApplyDiagnoseInfoName"].ToString();
patient.DiagnoseRemark = dt.Rows[0]["DiagnoseRemark"].ToString();
patient.ApplyOperationInfoName = dt.Rows[0]["ApplyOperationInfoName"].ToString();
patient.OperationRemark = dt.Rows[0]["OperationRemark"].ToString();
@@ -192,7 +198,7 @@ namespace DocumentManagement
patient.OperationLevelName = dt.Rows[0]["OperationLevelName"].ToString();
patient.SpecialSituation = dt.Rows[0]["SpecialSituation"].ToString();
patient.AnaesthesiaPlane = dt.Rows[0]["AnaesthesiaPlane"].ToString();
- patient.DiagnoseInfoName = dt.Rows[0]["DiagnoseInfoName"].ToString();
+ patient.DiagnoseInfoName = dt.Rows[0]["ApplyDiagnoseInfoName"].ToString();
patient.OperationInfoName = dt.Rows[0]["OperationInfoName"].ToString();
patient.AnaesthesiaMethodName = dt.Rows[0]["AnaesthesiaMethodName"].ToString();
patient.OperationCutTypeName = dt.Rows[0]["OperationCutTypeName"].ToString();
diff --git a/DrawGraph/AreaManage/BaseInfoBottomManage.cs b/DrawGraph/AreaManage/BaseInfoBottomManage.cs
index 97220c4..2f7f11b 100644
--- a/DrawGraph/AreaManage/BaseInfoBottomManage.cs
+++ b/DrawGraph/AreaManage/BaseInfoBottomManage.cs
@@ -118,6 +118,8 @@ namespace DrawGraph
//指定的组件显示
if (aEdit1 != null)
{
+ Control conl = aEdit1.CControl;
+ conl.Leave -= new EventHandler(txt_Leave);
aEdit1.IsVisible = !aEdit1.IsVisible;
aEdit1S.CControl.MouseDown -= new MouseEventHandler(CControl_MouseDown);
aEdit1S.CControl.KeyUp -= new KeyEventHandler(CControl_KeyUp);
@@ -156,6 +158,18 @@ namespace DrawGraph
case "OperationRecord.OrtherDoctorId":
Worker_Click(aEdit1, e, 4);
break;
+ case "OperationRecord.OpeRecoverOutInfo.Extend1":
+ ((TextBox)conl).BorderStyle = BorderStyle.Fixed3D;
+ ((TextBox)conl).Focus();
+ ((TextBox)conl).Select(((TextBox)conl).Text.Length, 1);
+ conl.Leave += new EventHandler(txt_Leave);
+ break;
+ case "OperationRecord.OpeRecoverOutInfo.Extend2":
+ ((TextBox)conl).BorderStyle = BorderStyle.Fixed3D;
+ ((TextBox)conl).Focus();
+ ((TextBox)conl).Select(((TextBox)conl).Text.Length, 1);
+ conl.Leave += new EventHandler(txt_Leave);
+ break;
//default:
// //在此处写日志
// aEdit1.IsVisible = !aEdit1.IsVisible;
@@ -173,6 +187,45 @@ namespace DrawGraph
}
}
+ private void txt_Leave(object sender, EventArgs e)
+ {
+ Control control = (Control)sender;
+ if (control == null) return;
+ AbleEditPackObj ableEdit = control.Tag as AbleEditPackObj;
+ if (ableEdit == null) return;
+ try
+ {
+ string DataSourceName = ableEdit.ClassDataSourceName;
+ bool updateOk = true;
+
+ string text = "";
+ string value = "";
+ if (!updateOk)
+ {
+ if (ableEdit.ControlType == EControlType.RadioButtonList)
+ ableEdit.IsVisible = true;
+ else
+ ableEdit.IsVisible = !ableEdit.IsVisible;
+ }
+ else
+ {
+ text = control.Text.Trim();
+ value = control.Text.Trim();
+ //设置属性的值
+ ableEdit.IsVisible = !ableEdit.IsVisible;
+ template.SetObjValue(OpeRecord, DataSourceName, text, value, true);
+ ((TextBox)control).BorderStyle = BorderStyle.None;
+ }
+ }
+ catch (Exception ex)
+ {
+ //写日志
+ PublicMethod.WriteLog(ex);
+ }
+ finally
+ {
+ }
+ }
#region 可编辑区域响应事件
diff --git a/DrawGraph/AreaManage/BaseInfoTopManage.cs b/DrawGraph/AreaManage/BaseInfoTopManage.cs
index e8ea45a..fe97932 100644
--- a/DrawGraph/AreaManage/BaseInfoTopManage.cs
+++ b/DrawGraph/AreaManage/BaseInfoTopManage.cs
@@ -365,9 +365,9 @@ namespace DrawGraph
((TextBox)conl).Select(((TextBox)conl).Text.Length, 1);
conl.Leave += new EventHandler(txt_Leave);
break;
- case "OperationRecord.AnaesthesiaMethodId":
- Anaes_Click(aEdit1, e);
- break;
+ //case "OperationRecord.AnaesthesiaMethodId":
+ // Anaes_Click(aEdit1, e);
+ // break;
case "OperationRecord.ASALevel": //ASA分级
TYZD_Click(aEdit1, e, true);
break;
diff --git a/DrawGraph/AreaManage/DBManage.cs b/DrawGraph/AreaManage/DBManage.cs
index 299fd30..92f21f6 100644
--- a/DrawGraph/AreaManage/DBManage.cs
+++ b/DrawGraph/AreaManage/DBManage.cs
@@ -102,6 +102,14 @@ namespace DrawGraph
{
i += UpdateOperationRecordInfo(items[2] + "='" + value + "' where Id= " + _operationRecord.OpeRecordInfo.Id);
}
+ if (items[1] == "OpeRecoverInInfo")
+ {
+ i += UpdateOperationRecoverInInfo(items[2] + "='" + value + "' where Id= " + _operationRecord.OpeRecoverInInfo.Id);
+ }
+ if (items[1] == "OpeRecoverOutInfo")
+ {
+ i += UpdateOperationRecoverOutInfo(items[2] + "='" + value + "' where Id= " + _operationRecord.OpeRecoverOutInfo.Id);
+ }
}
else
{
@@ -208,6 +216,16 @@ namespace DrawGraph
string sqlStr = "update OperationRecordInfo set " + sql;
return DBHelper.ExecNonQuery(sqlStr);
}
+ public static int UpdateOperationRecoverInInfo(string sql)
+ {
+ string sqlStr = "update OperationRecoveInInfo set " + sql;
+ return DBHelper.ExecNonQuery(sqlStr);
+ }
+ public static int UpdateOperationRecoverOutInfo(string sql)
+ {
+ string sqlStr = "update OperationRecoverOutInfo set " + sql;
+ return DBHelper.ExecNonQuery(sqlStr);
+ }
public static int AddPerson(OperationRecord _operationRecord, string Persons, int PersonDutyId)
{
int i = 0;
diff --git a/DrawGraph/AreaManage/DrugsManage.cs b/DrawGraph/AreaManage/DrugsManage.cs
index a061284..e50b758 100644
--- a/DrawGraph/AreaManage/DrugsManage.cs
+++ b/DrawGraph/AreaManage/DrugsManage.cs
@@ -312,11 +312,31 @@ namespace DrawGraph
private static void ListAddDrugs(List DrugListstr, int i, FactDrug temp)
{
string dose = "";
- if (dose.Trim() != "") dose += " ";
- dose += ((double)temp.Dosage).ToString();
- if (temp.DosageUnit != null)
+ if (temp.Density != 0)
{
- dose += temp.DosageUnit;
+ dose += ((double)temp.Density).ToString();
+ if (temp.DensityUnit != null)
+ {
+ dose += temp.DensityUnit;
+ }
+ }
+ if (dose.Trim() != "") dose += " ";
+ if (temp.Velocity != 0)
+ {
+ dose += ((double)temp.Velocity).ToString();
+ if (temp.VelocityUnit != null)
+ {
+ dose += temp.VelocityUnit;
+ }
+ }
+ if (dose.Trim() != "") dose += " ";
+ if (temp.Dosage != 0)
+ {
+ dose += ((double)temp.Dosage).ToString();
+ if (temp.DosageUnit != null)
+ {
+ dose += temp.DosageUnit;
+ }
}
DrugListstr.Add(string.Format("({0}){1} {2} {3}{4}{5}", i + 1, (temp.DrugBeginTime == temp.DrugEndTime) ? temp.DrugBeginTime.ToShortTimeString() : temp.DrugBeginTime.ToShortTimeString() + "->" + temp.DrugEndTime.ToShortTimeString(), temp.DrugName.Trim(), dose, "", temp.DrugChannel == null ? "" : " " + temp.DrugChannel.ToString()));
//DrugListstr.Append(" ");
@@ -355,7 +375,7 @@ namespace DrawGraph
try
{
myOpeRecord.ClearDrugsDose(ZedControl);
- double allDrugDose = 0;
+ double allDrugDose = 0;
myOpeRecord.FactDrugList.ForEach(drug =>
{
if (drug.DrugChannel == "ivgtt" || drug.DrugChannel == "iv")
@@ -363,7 +383,7 @@ namespace DrawGraph
double drugDose = 0;
if (drug.DosageUnit.Trim().ToLower() == "ml")
{
- if (drug.Dosage >= 50)
+ if (drug.Dosage >= 50)
{
drugDose = Convert.ToDouble(drug.Dosage);
}
diff --git a/DrawGraph/AreaManage/PhysioDataManage.cs b/DrawGraph/AreaManage/PhysioDataManage.cs
index c9cdc26..3dd9c75 100644
--- a/DrawGraph/AreaManage/PhysioDataManage.cs
+++ b/DrawGraph/AreaManage/PhysioDataManage.cs
@@ -570,6 +570,12 @@ namespace DrawGraph
{
pp.IsValid = false;
}
+ if (myOpeRecord.RecoverId == 2)
+ {
+ pp.IsValid = true;
+ pp.ShowText = false;
+ pp.ShowImg = true;
+ }
pp.ClearTagstr(ZedControl);
pp.phListPack = phListPack;
//如果模板管理不为空
@@ -817,14 +823,14 @@ namespace DrawGraph
if (y[1].ToString() != "")
{
- value = Math.Round(y[physioParam.YAisx], 0);
- pdNews.Add(PhysioDataConfig.newPhysioData(myOpeRecord.PhysioConfigList.Where(a => a.Name == "氧饱和度").ToList()[0], myOpeRecord.Id.Value, xd.DateTime, value));
- }
- if (y[0].ToString() != "")
- {
- value = Math.Round(y[physioParam.YAisx], 1);
+ value = Math.Round(y[1], 0);
pdNews.Add(PhysioDataConfig.newPhysioData(myOpeRecord.PhysioConfigList.Where(a => a.Name == "体温").ToList()[0], myOpeRecord.Id.Value, xd.DateTime, value));
}
+ //if (y[0].ToString() != "")
+ //{
+ // value = Math.Round(y[physioParam.YAisx], 1);
+ // pdNews.Add(PhysioDataConfig.newPhysioData(myOpeRecord.PhysioConfigList.Where(a => a.Name == "体温").ToList()[0], myOpeRecord.Id.Value, xd.DateTime, value));
+ //}
}
return pdNews;
diff --git a/DrawGraph/AreaManage/RemarkManage.cs b/DrawGraph/AreaManage/RemarkManage.cs
index b73e974..eb8e971 100644
--- a/DrawGraph/AreaManage/RemarkManage.cs
+++ b/DrawGraph/AreaManage/RemarkManage.cs
@@ -94,8 +94,8 @@ namespace DrawGraph
double x = H3pack.RealX;
int remarkRow = 0;
int AllRemarkRow = 0;
- float fontsize = 6.3f;
- int fontlength = 40;
+ float fontsize = 6f;
+ int fontlength = 35;
try
{
myOpeRecord.ClearEventstr(ZedControl);
diff --git a/DrawGraph/AreaManage/SapManage.cs b/DrawGraph/AreaManage/SapManage.cs
index 2f5c407..89a17e5 100644
--- a/DrawGraph/AreaManage/SapManage.cs
+++ b/DrawGraph/AreaManage/SapManage.cs
@@ -290,11 +290,31 @@ namespace DrawGraph
private static void ListAddDrugs(List DrugListstr, int i, FactDrug temp)
{
string dose = "";
- if (dose.Trim() != "") dose += " ";
- dose += ((double)temp.Dosage).ToString();
- if (temp.DosageUnit != null)
+ if (temp.Density != 0)
{
- dose += temp.DosageUnit;
+ dose += ((double)temp.Density).ToString();
+ if (temp.DensityUnit != null)
+ {
+ dose += temp.DensityUnit;
+ }
+ }
+ if (dose.Trim() != "") dose += " ";
+ if (temp.Velocity != 0)
+ {
+ dose += ((double)temp.Velocity).ToString();
+ if (temp.VelocityUnit != null)
+ {
+ dose += temp.VelocityUnit;
+ }
+ }
+ if (dose.Trim() != "") dose += " ";
+ if (temp.Dosage != 0)
+ {
+ dose += ((double)temp.Dosage).ToString();
+ if (temp.DosageUnit != null)
+ {
+ dose += temp.DosageUnit;
+ }
}
DrugListstr.Add(string.Format("({0}){1} {2} {3}{4}{5}", i + 1, (temp.DrugBeginTime == temp.DrugEndTime) ? temp.DrugBeginTime.ToShortTimeString() : temp.DrugBeginTime.ToShortTimeString() + "->" + temp.DrugEndTime.ToShortTimeString(), temp.DrugName.Trim(), dose, "", temp.DrugChannel == null ? "" : " " + temp.DrugChannel.ToString()));
//DrugListstr.Append(" ");