增加界面操作日志
This commit is contained in:
parent
bd904aa9ff
commit
337141dbe6
@ -47,6 +47,7 @@ namespace AIMS
|
||||
AIMSExtension.PublicMethod.OperatorName = PersonObj.Name;
|
||||
AIMSExtension.PublicMethod.RoleId = PersonObj.RoleId.Value;
|
||||
AIMSExtension.PublicMethod.DepId = PersonObj.DepId.Value;
|
||||
AIMSExtension.PublicMethod.LocalIP = AIMSExtension.PublicMethod.GetLocalIP();
|
||||
AIMSExtension.PublicMethod.DeptName = BDepartment.GetModel(PersonObj.DepId.Value).Name;
|
||||
Role role = BRole.GetModel(PersonObj.RoleId.Value);
|
||||
AIMSExtension.PublicMethod.PermissionLevel = role.PermissionLevel == null ? 0 : role.PermissionLevel.Value;
|
||||
|
||||
@ -131,6 +131,7 @@
|
||||
this.txtInRoom1 = new System.Windows.Forms.Button();
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.button10 = new System.Windows.Forms.Button();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel14.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
@ -197,6 +198,7 @@
|
||||
// panel14
|
||||
//
|
||||
this.panel14.BackColor = System.Drawing.Color.White;
|
||||
this.panel14.Controls.Add(this.button10);
|
||||
this.panel14.Controls.Add(this.button8);
|
||||
this.panel14.Controls.Add(this.button7);
|
||||
this.panel14.Controls.Add(this.btnCancelIn);
|
||||
@ -1966,6 +1968,26 @@
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71);
|
||||
this.flowLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// button10
|
||||
//
|
||||
this.button10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.button10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||
this.button10.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.button10.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.button10.FlatAppearance.BorderSize = 0;
|
||||
this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button10.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.button10.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.button10.Image = global::AIMS.Properties.Resources.安全检查;
|
||||
this.button10.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.button10.Location = new System.Drawing.Point(0, 550);
|
||||
this.button10.Name = "button10";
|
||||
this.button10.Size = new System.Drawing.Size(160, 50);
|
||||
this.button10.TabIndex = 16;
|
||||
this.button10.Text = " 安全核查";
|
||||
this.button10.UseVisualStyleBackColor = false;
|
||||
this.button10.Click += new System.EventHandler(this.button10_Click);
|
||||
//
|
||||
// frmAanesthesiaRecord
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@ -2127,5 +2149,6 @@
|
||||
private System.Windows.Forms.Panel panel18;
|
||||
private System.Windows.Forms.Panel btnUpPage;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.Button button10;
|
||||
}
|
||||
}
|
||||
@ -177,6 +177,7 @@ namespace AIMS.OperationAanesthesia
|
||||
pDoc.Print();
|
||||
}
|
||||
|
||||
PublicMethod.WriteLog("打印麻醉记录单", _record.PatientId.Value, 1, "麻醉");
|
||||
count = 0;
|
||||
}
|
||||
catch (Exception exp)
|
||||
@ -572,6 +573,7 @@ namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
DrawEvent();
|
||||
}
|
||||
PublicMethod.WriteLog( Inevent.EventName, _record.PatientId.Value, 1, "麻醉");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -626,6 +628,7 @@ namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
DrawEvent();
|
||||
}
|
||||
PublicMethod.WriteLog("修改"+Inevent.EventName, _record.PatientId.Value, 1, "麻醉");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -655,6 +658,7 @@ namespace AIMS.OperationAanesthesia
|
||||
tb.ButtonDropDown.Visible = false;
|
||||
_record.FactEventsList.Remove(Inevent);
|
||||
DrawEvent();
|
||||
PublicMethod.WriteLog("删除" + Inevent.EventName, _record.PatientId.Value, 1, "麻醉");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -1056,6 +1060,7 @@ namespace AIMS.OperationAanesthesia
|
||||
btnCancelIn.Enabled = true;
|
||||
DrawAnasReordBill.IniDrawAnasReordBill5(_record, zgcAnaesRecord, zgcAnaesRecord2, ref templateManage, ref templateManage2);
|
||||
_record.ComputerRect = Screen.GetWorkingArea(this);
|
||||
PublicMethod.WriteLog("入手术间", _record.PatientId.Value, 1, "麻醉");
|
||||
StartTimer();
|
||||
}
|
||||
catch
|
||||
@ -2328,6 +2333,12 @@ namespace AIMS.OperationAanesthesia
|
||||
_record.SelPhysioConfig = null;
|
||||
}
|
||||
}
|
||||
private void button10_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmSafetyExamine frmSafety = new frmSafetyExamine();
|
||||
frmSafety.PatientId = PatientId;
|
||||
frmSafety.Show();
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@ -233,6 +233,7 @@ namespace AIMS.OperationAanesthesia
|
||||
pDoc.Print();
|
||||
}
|
||||
|
||||
PublicMethod.WriteLog("打印麻醉记录单", _record.PatientId.Value, 1,"恢复");
|
||||
count = 0;
|
||||
}
|
||||
catch (Exception exp)
|
||||
@ -358,6 +359,7 @@ namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
DrawEvent();
|
||||
}
|
||||
PublicMethod.WriteLog(Inevent.EventName, _record.PatientId.Value, 1, "恢复");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -404,6 +406,7 @@ namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
DrawEvent();
|
||||
}
|
||||
PublicMethod.WriteLog("修改" +Inevent.EventName, _record.PatientId.Value, 1, "恢复");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -429,6 +432,7 @@ namespace AIMS.OperationAanesthesia
|
||||
tb.ButtonDropDown.Visible = false;
|
||||
_record.FactEventsList.Remove(Inevent);
|
||||
DrawEvent();
|
||||
PublicMethod.WriteLog("删除" + Inevent.EventName, _record.PatientId.Value, 1, "恢复");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -690,6 +694,7 @@ namespace AIMS.OperationAanesthesia
|
||||
ClearTimeText();
|
||||
btnSelectPatient.Enabled = false;
|
||||
DrawAnasReordBill.IniDrawAnasReordBill3(_record, zgcAnaesRecord, ref templateManage); //初始化麻醉记录单界
|
||||
PublicMethod.WriteLog("入恢复室", _record.PatientId.Value, 1, "恢复");
|
||||
StartTimer();
|
||||
}
|
||||
catch
|
||||
|
||||
@ -72,8 +72,11 @@
|
||||
this.superTabMain = new DevComponents.DotNetBar.SuperTabControl();
|
||||
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
||||
this.panelExZKZB = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
|
||||
this.myEditControl = new DCSoft.Writer.Controls.WriterControl();
|
||||
this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem();
|
||||
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
||||
this.panel9 = new AIMS.PublicUI.UI.DrawPanel();
|
||||
this.spTabQXQDD2 = new DevComponents.DotNetBar.SuperTabItem();
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.panel21 = new System.Windows.Forms.Panel();
|
||||
@ -105,9 +108,7 @@
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.writerCommandControler1 = new DCSoft.Writer.Commands.WriterCommandControler(this.components);
|
||||
this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
|
||||
this.myEditControl = new DCSoft.Writer.Controls.WriterControl();
|
||||
this.panel9 = new AIMS.PublicUI.UI.DrawPanel();
|
||||
this.button10 = new System.Windows.Forms.Button();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel14.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
@ -117,6 +118,7 @@
|
||||
this.superTabMain.SuspendLayout();
|
||||
this.superTabControlPanel1.SuspendLayout();
|
||||
this.panelExZKZB.SuspendLayout();
|
||||
this.panel8.SuspendLayout();
|
||||
this.superTabControlPanel2.SuspendLayout();
|
||||
this.panel7.SuspendLayout();
|
||||
this.panel21.SuspendLayout();
|
||||
@ -134,7 +136,6 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.picInRoom)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit();
|
||||
this.panel8.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
@ -161,6 +162,7 @@
|
||||
// panel14
|
||||
//
|
||||
this.panel14.BackColor = System.Drawing.Color.White;
|
||||
this.panel14.Controls.Add(this.button10);
|
||||
this.panel14.Controls.Add(this.button9);
|
||||
this.panel14.Controls.Add(this.button1);
|
||||
this.panel14.Controls.Add(this.button8);
|
||||
@ -842,6 +844,26 @@
|
||||
this.panelExZKZB.Style.GradientAngle = 90;
|
||||
this.panelExZKZB.TabIndex = 0;
|
||||
//
|
||||
// panel8
|
||||
//
|
||||
this.panel8.AutoScroll = true;
|
||||
this.panel8.BackColor = System.Drawing.Color.White;
|
||||
this.panel8.Controls.Add(this.myEditControl);
|
||||
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel8.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel8.Name = "panel8";
|
||||
this.panel8.Size = new System.Drawing.Size(1389, 803);
|
||||
this.panel8.TabIndex = 2;
|
||||
this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
|
||||
//
|
||||
// myEditControl
|
||||
//
|
||||
this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.myEditControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.myEditControl.Name = "myEditControl";
|
||||
this.myEditControl.Size = new System.Drawing.Size(1389, 803);
|
||||
this.myEditControl.TabIndex = 6;
|
||||
//
|
||||
// spTabQXQDD
|
||||
//
|
||||
this.spTabQXQDD.AttachedControl = this.superTabControlPanel1;
|
||||
@ -859,6 +881,16 @@
|
||||
this.superTabControlPanel2.TabIndex = 0;
|
||||
this.superTabControlPanel2.TabItem = this.spTabQXQDD2;
|
||||
//
|
||||
// panel9
|
||||
//
|
||||
this.panel9.AutoScroll = true;
|
||||
this.panel9.BackColor = System.Drawing.Color.White;
|
||||
this.panel9.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel9.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel9.Name = "panel9";
|
||||
this.panel9.Size = new System.Drawing.Size(1389, 803);
|
||||
this.panel9.TabIndex = 3;
|
||||
//
|
||||
// spTabQXQDD2
|
||||
//
|
||||
this.spTabQXQDD2.AttachedControl = this.superTabControlPanel2;
|
||||
@ -1373,35 +1405,25 @@
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71);
|
||||
this.flowLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// panel8
|
||||
// button10
|
||||
//
|
||||
this.panel8.AutoScroll = true;
|
||||
this.panel8.BackColor = System.Drawing.Color.White;
|
||||
this.panel8.Controls.Add(this.myEditControl);
|
||||
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel8.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel8.Name = "panel8";
|
||||
this.panel8.Size = new System.Drawing.Size(1389, 803);
|
||||
this.panel8.TabIndex = 2;
|
||||
this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
|
||||
//
|
||||
// myEditControl
|
||||
//
|
||||
this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.myEditControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.myEditControl.Name = "myEditControl";
|
||||
this.myEditControl.Size = new System.Drawing.Size(1389, 803);
|
||||
this.myEditControl.TabIndex = 6;
|
||||
//
|
||||
// panel9
|
||||
//
|
||||
this.panel9.AutoScroll = true;
|
||||
this.panel9.BackColor = System.Drawing.Color.White;
|
||||
this.panel9.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel9.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel9.Name = "panel9";
|
||||
this.panel9.Size = new System.Drawing.Size(1389, 803);
|
||||
this.panel9.TabIndex = 3;
|
||||
this.button10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.button10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||
this.button10.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.button10.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.button10.FlatAppearance.BorderSize = 0;
|
||||
this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button10.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.button10.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.button10.Image = global::AIMS.Properties.Resources.安全检查;
|
||||
this.button10.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.button10.Location = new System.Drawing.Point(0, 700);
|
||||
this.button10.Name = "button10";
|
||||
this.button10.Size = new System.Drawing.Size(160, 50);
|
||||
this.button10.TabIndex = 19;
|
||||
this.button10.Text = " 安全核查";
|
||||
this.button10.UseVisualStyleBackColor = false;
|
||||
this.button10.Click += new System.EventHandler(this.button10_Click);
|
||||
//
|
||||
// frmInstrumentRecord2
|
||||
//
|
||||
@ -1425,6 +1447,7 @@
|
||||
this.superTabMain.ResumeLayout(false);
|
||||
this.superTabControlPanel1.ResumeLayout(false);
|
||||
this.panelExZKZB.ResumeLayout(false);
|
||||
this.panel8.ResumeLayout(false);
|
||||
this.superTabControlPanel2.ResumeLayout(false);
|
||||
this.panel7.ResumeLayout(false);
|
||||
this.panel7.PerformLayout();
|
||||
@ -1443,7 +1466,6 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.picInRoom)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit();
|
||||
this.panel8.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -1528,5 +1550,6 @@
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DCSoft.Writer.Controls.WriterControl myEditControl;
|
||||
private DCSoft.Writer.Commands.WriterCommandControler writerCommandControler1;
|
||||
private System.Windows.Forms.Button button10;
|
||||
}
|
||||
}
|
||||
@ -217,6 +217,7 @@ namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
_record.FactEventsList.Add(Inevent);
|
||||
ReviewEvent();
|
||||
PublicMethod.WriteLog( Inevent.EventName, _record.PatientId.Value,1, "护理");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -239,6 +240,7 @@ namespace AIMS.OperationAanesthesia
|
||||
if (Inevent != null)
|
||||
{
|
||||
ReviewEvent();
|
||||
PublicMethod.WriteLog("修改" + Inevent.EventName, _record.PatientId.Value, 1, "护理");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -265,6 +267,7 @@ namespace AIMS.OperationAanesthesia
|
||||
tb.ButtonDropDown.Visible = false;
|
||||
_record.FactEventsList.Remove(Inevent);
|
||||
ReviewEvent();
|
||||
PublicMethod.WriteLog("删除" + Inevent.EventName, _record.PatientId.Value, 1, "护理");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@ -470,6 +473,7 @@ namespace AIMS.OperationAanesthesia
|
||||
Patient = PatientRecord.GetPatientRecord(PatientId);
|
||||
DModel = DocumentDAL.GetDocumentbyName("手术护理记录单", Patient.PatientId);
|
||||
LoadDocumentGoodsBill();
|
||||
PublicMethod.WriteLog("入手术间", _record.PatientId.Value, 1, "护理");
|
||||
StartTimer();
|
||||
}
|
||||
catch
|
||||
@ -1739,6 +1743,13 @@ namespace AIMS.OperationAanesthesia
|
||||
frmchargRecord.BringToFront();
|
||||
}
|
||||
|
||||
private void button10_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmSafetyExamine frmSafety = new frmSafetyExamine();
|
||||
frmSafety.PatientId = PatientId;
|
||||
frmSafety.Show();
|
||||
}
|
||||
|
||||
private void frmAnasRecordInstrument_VisibleChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.Visible == false)
|
||||
|
||||
735
AIMS/OperationAanesthesia/frmSafetyExamine.Designer.cs
generated
735
AIMS/OperationAanesthesia/frmSafetyExamine.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@ -1,19 +1,161 @@
|
||||
using System;
|
||||
using AIMSBLL;
|
||||
using DocumentManagement;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
public partial class frmSafetyExamine : Form
|
||||
{
|
||||
public int PatientId;
|
||||
public PatientRecord Patient;
|
||||
|
||||
private PublicUI.UI.frmSelectPerson frmOperationDoctor = new PublicUI.UI.frmSelectPerson();
|
||||
private PublicUI.UI.frmSelectPerson frmtxtAnesthesiaDoctor = new PublicUI.UI.frmSelectPerson();
|
||||
private PublicUI.UI.frmSelectPerson frmInstrumentNurse = new PublicUI.UI.frmSelectPerson();
|
||||
private List<int> SelectOperationDoctor = new List<int>(); //主刀医生
|
||||
private List<int> SelecttxtAnesthesiaDoctorData = new List<int>(); //麻醉医生
|
||||
private List<int> SelectInstrumentNurseData = new List<int>(); //器械护士
|
||||
|
||||
public frmSafetyExamine()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void frmSafetyExamine_Load(object sender, EventArgs e)
|
||||
{
|
||||
Patient = PatientRecord.GetPatientRecord(PatientId);
|
||||
txtNo.Text=Patient.MdrecNo;
|
||||
txtname.Text = Patient.PatientName;
|
||||
txtsex.Text = Patient.Sex;
|
||||
txtage.Text = Patient.Age;
|
||||
|
||||
txtAnesthesiaDoctor.Text=Patient.AnesthesiaDoctor;
|
||||
txtOperationDoctor.Text=Patient.OperationDoctor;
|
||||
txtInstrumentNurse.Text=Patient.InstrumentNurse;
|
||||
}
|
||||
|
||||
private void OperationDoctor_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmOperationDoctor = new PublicUI.UI.frmSelectPerson();
|
||||
frmOperationDoctor.PersonType = "医生";
|
||||
frmOperationDoctor.SelectDepartmentName = Patient.ApplyDepName;
|
||||
frmOperationDoctor.SelectPersonData = SelectOperationDoctor;
|
||||
frmOperationDoctor.FormClosed += new FormClosedEventHandler(frmSelectPerson_FormClosed);
|
||||
frmOperationDoctor.ShowDialog();
|
||||
}
|
||||
|
||||
void frmSelectPerson_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtOperationDoctor.Text = "";
|
||||
if (frmOperationDoctor.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectOperationDoctor = frmOperationDoctor.SelectPersonData;
|
||||
foreach (int RowId in frmOperationDoctor.SelectPersonData)
|
||||
{
|
||||
txtOperationDoctor.Text += BPerson.SelectSingle(RowId).Name + " ,";
|
||||
}
|
||||
int idxStart = txtOperationDoctor.Text.LastIndexOf(" ,");
|
||||
txtOperationDoctor.Text = txtOperationDoctor.Text.Substring(0, idxStart);
|
||||
}
|
||||
}
|
||||
|
||||
private void txtAnesthesiaDoctor_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmtxtAnesthesiaDoctor = new PublicUI.UI.frmSelectPerson();
|
||||
frmtxtAnesthesiaDoctor.PersonType = "医生";
|
||||
frmtxtAnesthesiaDoctor.SelectDepartmentName = Patient.ApplyDepName;
|
||||
frmtxtAnesthesiaDoctor.SelectPersonData = SelecttxtAnesthesiaDoctorData;
|
||||
frmtxtAnesthesiaDoctor.FormClosed += new FormClosedEventHandler(frmSelectPerson2_FormClosed);
|
||||
frmtxtAnesthesiaDoctor.ShowDialog();
|
||||
}
|
||||
|
||||
void frmSelectPerson2_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtAnesthesiaDoctor.Text = "";
|
||||
if (frmtxtAnesthesiaDoctor.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelecttxtAnesthesiaDoctorData = frmtxtAnesthesiaDoctor.SelectPersonData;
|
||||
foreach (int RowId in frmtxtAnesthesiaDoctor.SelectPersonData)
|
||||
{
|
||||
txtAnesthesiaDoctor.Text += BPerson.SelectSingle(RowId).Name + " ,";
|
||||
}
|
||||
int idxStart = txtAnesthesiaDoctor.Text.LastIndexOf(" ,");
|
||||
txtAnesthesiaDoctor.Text = txtAnesthesiaDoctor.Text.Substring(0, idxStart);
|
||||
}
|
||||
}
|
||||
|
||||
private void txtInstrumentNurse_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmInstrumentNurse = new PublicUI.UI.frmSelectPerson();
|
||||
frmInstrumentNurse.PersonType = "手术室护士";
|
||||
frmInstrumentNurse.SelectDepartmentName = "手术室";
|
||||
frmInstrumentNurse.SelectPersonData = SelectInstrumentNurseData;
|
||||
frmInstrumentNurse.FormClosed += new FormClosedEventHandler(frmInstrumentNurse_FormClosed);
|
||||
frmInstrumentNurse.ShowDialog();
|
||||
}
|
||||
|
||||
void frmInstrumentNurse_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtInstrumentNurse.Text = "";
|
||||
if (frmInstrumentNurse.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectInstrumentNurseData = frmInstrumentNurse.SelectPersonData;
|
||||
foreach (int RowId in frmInstrumentNurse.SelectPersonData)
|
||||
{
|
||||
txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
||||
}
|
||||
int idxStart = txtInstrumentNurse.Text.LastIndexOf(",");
|
||||
txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, idxStart);
|
||||
}
|
||||
}
|
||||
|
||||
private static void ClearControlsContent(Control cl)
|
||||
{
|
||||
for (int i = 0; i < cl.Controls.Count; i++)
|
||||
{
|
||||
if (cl.Controls[i].Controls.Count > 0)
|
||||
{
|
||||
ClearControlsContent(cl.Controls[i] as Control);
|
||||
}
|
||||
RadioButton radioButton = cl.Controls[i] as RadioButton;
|
||||
if (radioButton != null)
|
||||
{
|
||||
if (radioButton.Text == "是")
|
||||
{
|
||||
radioButton.Checked = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
CheckBox cb = cl.Controls[i] as CheckBox;
|
||||
if (cb != null)
|
||||
{
|
||||
if (cb.Text == "是")
|
||||
{
|
||||
cb.Checked = true;
|
||||
}
|
||||
if (cb.Text == "有")
|
||||
{
|
||||
cb.Checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void checkBox24_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
ClearControlsContent(panelOper);
|
||||
ClearControlsContent(panelEx2);
|
||||
ClearControlsContent(panelEx3);
|
||||
checkBox25.Checked = true;
|
||||
}
|
||||
|
||||
private void buttonX1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -56,7 +56,8 @@ namespace AIMS.OperationAfter.UI
|
||||
dtpEndDate.Value = DateTime.Parse(dtpEndDate.Value.ToString("yyyy-MM-dd")).AddDays(4);
|
||||
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3,4,5,6,7,8,9,10,11", "全部"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3,4,5", "已排程"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3", "待排程"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("4,5", "已排程"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("6,7", "手术中"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("8,9", "手术结束"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("10,11", "手术停止"));
|
||||
@ -162,10 +163,8 @@ namespace AIMS.OperationAfter.UI
|
||||
string asa = txtASALevel.Text;
|
||||
|
||||
System.Data.DataTable dt = BOperationApply.GetOperationDoingDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.AddDays(1).ToString("yyyy-MM-dd"));
|
||||
string Where = " RecoverId=1 ";
|
||||
if (state == "")
|
||||
Where += " and StateId >1 ";
|
||||
else
|
||||
string Where = " (RecoverId is null or RecoverId=1 ) ";
|
||||
if (state != "")
|
||||
Where += " and StateId IN (" + state + ") ";
|
||||
if (Department != "")
|
||||
Where += " and PatientDept LIKE '%" + Department + "%' ";
|
||||
|
||||
@ -14,6 +14,7 @@ using DCSoftDotfuscate;
|
||||
using DrawGraph;
|
||||
using System.Reflection;
|
||||
using Newtonsoft.Json;
|
||||
using AIMS.OperationAanesthesia;
|
||||
|
||||
namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
@ -85,7 +86,7 @@ namespace AIMS.OperationAfter.UI
|
||||
uc.OperationRoomIp = room.Ip;
|
||||
uc.lblRoom.Tag = room.Id;
|
||||
uc.panel2.Visible = false;
|
||||
uc.Location = new Point(j * (this.Width / 5) + 10, i * (uc.Height + 20) + 10);
|
||||
uc.Location = new Point(j * (this.Width / 5) + 5, i * (uc.Height + 20) + 5);
|
||||
tabControl.TabPages[tabPagesIndex].Controls.Add(uc);
|
||||
j++;
|
||||
if (j == 5)
|
||||
@ -95,6 +96,18 @@ namespace AIMS.OperationAfter.UI
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PlRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Windows.Forms.Panel plRefresh = sender as System.Windows.Forms.Panel;
|
||||
OperationRecord apply = BOperationRecord.SelectSingle(Convert.ToInt32(plRefresh.Tag));
|
||||
frmAanesthesiaRecord frmAnasRecord = new frmAanesthesiaRecord();
|
||||
frmAnasRecord.PatientId = apply.PatientId.Value;
|
||||
frmAnasRecord.ApplyId = apply.OperationApplyId.Value;
|
||||
frmAnasRecord.State = AIMSExtension.EditState.BROWSE;
|
||||
frmAnasRecord.Show();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 将数据填充到信息卡
|
||||
/// </summary>
|
||||
@ -114,11 +127,15 @@ namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
uc.panel2.Visible = true;
|
||||
uc.Tag = dr["Id"].ToString();
|
||||
uc.PatientName = dr["PatientName"].ToString();
|
||||
uc.plRefresh.Tag = dr["Id"].ToString();
|
||||
uc.PatientName = dr["PatientName"].ToString()+" "+ dr["Sex"].ToString()+" "+ dr["Age"].ToString();
|
||||
uc.OperationName = dr["ApplyOperationInfoName"].ToString();
|
||||
uc.AnaesthesiaMethod = dr["AnaesthesiaMethodName"].ToString();
|
||||
uc.OperationDoctor = dr["OperationDoctor"].ToString();
|
||||
uc.AnaesthesiaDoctor = dr["AnesthesiaDoctor"].ToString();
|
||||
uc.OperationTime = dr["InRoomTime"].ToString();
|
||||
uc.plRefresh.Click -= PlRefresh_Click;
|
||||
uc.plRefresh.Click += PlRefresh_Click;
|
||||
FullPatientPhysiology(uc, Convert.ToInt32(uc.Tag));
|
||||
break;
|
||||
}
|
||||
@ -151,11 +168,15 @@ namespace AIMS.OperationAfter.UI
|
||||
key = true;
|
||||
uc.panel2.Visible = true;
|
||||
uc.Tag = dr["Id"].ToString();
|
||||
uc.PatientName = dr["PatientName"].ToString();
|
||||
uc.plRefresh.Tag = dr["Id"].ToString();
|
||||
uc.PatientName = dr["PatientName"].ToString() + " " + dr["Sex"].ToString() + " " + dr["Age"].ToString();
|
||||
uc.OperationName = dr["ApplyOperationInfoName"].ToString();
|
||||
uc.AnaesthesiaMethod = dr["AnaesthesiaMethodName"].ToString();
|
||||
uc.OperationDoctor = dr["OperationDoctor"].ToString();
|
||||
uc.AnaesthesiaDoctor = dr["AnesthesiaDoctor"].ToString();
|
||||
uc.OperationTime = dr["InRoomTime"].ToString();
|
||||
uc.plRefresh.Click -= PlRefresh_Click;
|
||||
uc.plRefresh.Click += PlRefresh_Click;
|
||||
//刷新生命体征数据
|
||||
FullPatientPhysiology(uc, Convert.ToInt32(uc.Tag));
|
||||
break;
|
||||
|
||||
@ -6,6 +6,7 @@ using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing.Drawing2D;
|
||||
|
||||
namespace AIMS.OremrUserControl
|
||||
{
|
||||
@ -41,6 +42,11 @@ namespace AIMS.OremrUserControl
|
||||
get { return lblDoctor.Text; }
|
||||
set { lblDoctor.Text = value; }
|
||||
}
|
||||
public string AnaesthesiaDoctor
|
||||
{
|
||||
get { return lblAnaesthesiaDoctor.Text; }
|
||||
set { lblAnaesthesiaDoctor.Text = value; }
|
||||
}
|
||||
public string OperationTime
|
||||
{
|
||||
get { return lblTime.Text; }
|
||||
@ -75,5 +81,44 @@ namespace AIMS.OremrUserControl
|
||||
private void lblRoom_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void SetWindowRegion()
|
||||
{
|
||||
GraphicsPath FormPath = new GraphicsPath();
|
||||
Rectangle rect = new Rectangle(0, 4, this.Width, this.Height - 4);
|
||||
FormPath = GetRoundedRectPath(rect, 19);
|
||||
this.Region = new Region(FormPath);
|
||||
|
||||
}
|
||||
private GraphicsPath GetRoundedRectPath(Rectangle rect, int radius)
|
||||
{
|
||||
int diameter = radius;
|
||||
Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter));
|
||||
GraphicsPath path = new GraphicsPath();
|
||||
//左上角
|
||||
path.AddArc(arcRect, 180, 90);
|
||||
//右上角
|
||||
arcRect.X = rect.Right - diameter;
|
||||
path.AddArc(arcRect, 270, 90);
|
||||
//右下角
|
||||
arcRect.Y = rect.Bottom - diameter;
|
||||
path.AddArc(arcRect, 0, 90);
|
||||
//左下角
|
||||
arcRect.X = rect.Left;
|
||||
path.AddArc(arcRect, 90, 90);
|
||||
path.CloseFigure();
|
||||
return path;
|
||||
|
||||
}
|
||||
protected override void OnResize(System.EventArgs e)
|
||||
{
|
||||
this.Region = null;
|
||||
SetWindowRegion();
|
||||
}
|
||||
|
||||
private void plRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,7 +28,9 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCPatientPhysiology));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.plRefresh = new System.Windows.Forms.Panel();
|
||||
this.lblRoom = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
@ -61,6 +63,8 @@
|
||||
this.lblSpO2 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.lblAnaesthesiaDoctor = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.groupBoxEx2.SuspendLayout();
|
||||
@ -73,13 +77,26 @@
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel1.Controls.Add(this.plRefresh);
|
||||
this.panel1.Controls.Add(this.lblRoom);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(240, 50);
|
||||
this.panel1.Size = new System.Drawing.Size(240, 44);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// plRefresh
|
||||
//
|
||||
this.plRefresh.BackColor = System.Drawing.Color.CornflowerBlue;
|
||||
this.plRefresh.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("plRefresh.BackgroundImage")));
|
||||
this.plRefresh.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||
this.plRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.plRefresh.Location = new System.Drawing.Point(195, 3);
|
||||
this.plRefresh.Name = "plRefresh";
|
||||
this.plRefresh.Size = new System.Drawing.Size(34, 35);
|
||||
this.plRefresh.TabIndex = 8;
|
||||
this.plRefresh.Click += new System.EventHandler(this.plRefresh_Click);
|
||||
//
|
||||
// lblRoom
|
||||
//
|
||||
this.lblRoom.BackColor = System.Drawing.Color.CornflowerBlue;
|
||||
@ -87,7 +104,7 @@
|
||||
this.lblRoom.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblRoom.Location = new System.Drawing.Point(0, 0);
|
||||
this.lblRoom.Name = "lblRoom";
|
||||
this.lblRoom.Size = new System.Drawing.Size(240, 50);
|
||||
this.lblRoom.Size = new System.Drawing.Size(240, 44);
|
||||
this.lblRoom.TabIndex = 7;
|
||||
this.lblRoom.Text = "第XX手术间";
|
||||
this.lblRoom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@ -107,6 +124,8 @@
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.panel2.Controls.Add(this.lblAnaesthesiaDoctor);
|
||||
this.panel2.Controls.Add(this.label6);
|
||||
this.panel2.Controls.Add(this.lblTime);
|
||||
this.panel2.Controls.Add(this.label20);
|
||||
this.panel2.Controls.Add(this.lblDoctor);
|
||||
@ -123,16 +142,16 @@
|
||||
this.panel2.Controls.Add(this.groupBoxEx4);
|
||||
this.panel2.Controls.Add(this.groupBoxEx1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 50);
|
||||
this.panel2.Location = new System.Drawing.Point(0, 44);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(240, 270);
|
||||
this.panel2.Size = new System.Drawing.Size(240, 276);
|
||||
this.panel2.TabIndex = 5;
|
||||
this.panel2.Click += new System.EventHandler(this.lblRoom_Click);
|
||||
//
|
||||
// lblTime
|
||||
//
|
||||
this.lblTime.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblTime.Location = new System.Drawing.Point(82, 100);
|
||||
this.lblTime.Location = new System.Drawing.Point(82, 114);
|
||||
this.lblTime.Name = "lblTime";
|
||||
this.lblTime.Size = new System.Drawing.Size(150, 20);
|
||||
this.lblTime.TabIndex = 6;
|
||||
@ -143,7 +162,7 @@
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label20.Location = new System.Drawing.Point(8, 100);
|
||||
this.label20.Location = new System.Drawing.Point(8, 114);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(68, 20);
|
||||
this.label20.TabIndex = 6;
|
||||
@ -153,7 +172,7 @@
|
||||
// lblDoctor
|
||||
//
|
||||
this.lblDoctor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblDoctor.Location = new System.Drawing.Point(82, 76);
|
||||
this.lblDoctor.Location = new System.Drawing.Point(82, 70);
|
||||
this.lblDoctor.Name = "lblDoctor";
|
||||
this.lblDoctor.Size = new System.Drawing.Size(150, 20);
|
||||
this.lblDoctor.TabIndex = 6;
|
||||
@ -164,7 +183,7 @@
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label19.Location = new System.Drawing.Point(8, 76);
|
||||
this.label19.Location = new System.Drawing.Point(8, 70);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(68, 20);
|
||||
this.label19.TabIndex = 6;
|
||||
@ -174,7 +193,7 @@
|
||||
// lblAnaesthesia
|
||||
//
|
||||
this.lblAnaesthesia.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblAnaesthesia.Location = new System.Drawing.Point(82, 52);
|
||||
this.lblAnaesthesia.Location = new System.Drawing.Point(82, 48);
|
||||
this.lblAnaesthesia.Name = "lblAnaesthesia";
|
||||
this.lblAnaesthesia.Size = new System.Drawing.Size(150, 20);
|
||||
this.lblAnaesthesia.TabIndex = 6;
|
||||
@ -184,7 +203,7 @@
|
||||
// lblOperation
|
||||
//
|
||||
this.lblOperation.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblOperation.Location = new System.Drawing.Point(82, 28);
|
||||
this.lblOperation.Location = new System.Drawing.Point(82, 26);
|
||||
this.lblOperation.Name = "lblOperation";
|
||||
this.lblOperation.Size = new System.Drawing.Size(150, 20);
|
||||
this.lblOperation.TabIndex = 6;
|
||||
@ -195,7 +214,7 @@
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label18.Location = new System.Drawing.Point(8, 52);
|
||||
this.label18.Location = new System.Drawing.Point(8, 48);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(68, 20);
|
||||
this.label18.TabIndex = 6;
|
||||
@ -216,7 +235,7 @@
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label17.Location = new System.Drawing.Point(8, 28);
|
||||
this.label17.Location = new System.Drawing.Point(8, 26);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(68, 20);
|
||||
this.label17.TabIndex = 6;
|
||||
@ -240,7 +259,7 @@
|
||||
this.groupBoxEx2.Controls.Add(this.lblSys);
|
||||
this.groupBoxEx2.Controls.Add(this.label4);
|
||||
this.groupBoxEx2.Controls.Add(this.label5);
|
||||
this.groupBoxEx2.Location = new System.Drawing.Point(121, 132);
|
||||
this.groupBoxEx2.Location = new System.Drawing.Point(121, 138);
|
||||
this.groupBoxEx2.Name = "groupBoxEx2";
|
||||
this.groupBoxEx2.Radius = 20;
|
||||
this.groupBoxEx2.Size = new System.Drawing.Size(110, 60);
|
||||
@ -290,7 +309,7 @@
|
||||
this.groupBoxEx3.Controls.Add(this.lblHR);
|
||||
this.groupBoxEx3.Controls.Add(this.label2);
|
||||
this.groupBoxEx3.Controls.Add(this.label3);
|
||||
this.groupBoxEx3.Location = new System.Drawing.Point(9, 132);
|
||||
this.groupBoxEx3.Location = new System.Drawing.Point(9, 138);
|
||||
this.groupBoxEx3.Name = "groupBoxEx3";
|
||||
this.groupBoxEx3.Radius = 20;
|
||||
this.groupBoxEx3.Size = new System.Drawing.Size(110, 60);
|
||||
@ -337,7 +356,7 @@
|
||||
this.groupBoxEx5.BorderWidth = 1;
|
||||
this.groupBoxEx5.Controls.Add(this.lblT);
|
||||
this.groupBoxEx5.Controls.Add(this.label14);
|
||||
this.groupBoxEx5.Location = new System.Drawing.Point(161, 198);
|
||||
this.groupBoxEx5.Location = new System.Drawing.Point(161, 204);
|
||||
this.groupBoxEx5.Name = "groupBoxEx5";
|
||||
this.groupBoxEx5.Radius = 20;
|
||||
this.groupBoxEx5.Size = new System.Drawing.Size(75, 60);
|
||||
@ -373,7 +392,7 @@
|
||||
this.groupBoxEx4.Controls.Add(this.lblBR);
|
||||
this.groupBoxEx4.Controls.Add(this.label11);
|
||||
this.groupBoxEx4.Controls.Add(this.label12);
|
||||
this.groupBoxEx4.Location = new System.Drawing.Point(83, 198);
|
||||
this.groupBoxEx4.Location = new System.Drawing.Point(83, 204);
|
||||
this.groupBoxEx4.Name = "groupBoxEx4";
|
||||
this.groupBoxEx4.Radius = 20;
|
||||
this.groupBoxEx4.Size = new System.Drawing.Size(75, 60);
|
||||
@ -421,7 +440,7 @@
|
||||
this.groupBoxEx1.Controls.Add(this.lblSpO2);
|
||||
this.groupBoxEx1.Controls.Add(this.label7);
|
||||
this.groupBoxEx1.Controls.Add(this.label8);
|
||||
this.groupBoxEx1.Location = new System.Drawing.Point(6, 198);
|
||||
this.groupBoxEx1.Location = new System.Drawing.Point(6, 204);
|
||||
this.groupBoxEx1.Name = "groupBoxEx1";
|
||||
this.groupBoxEx1.Radius = 20;
|
||||
this.groupBoxEx1.Size = new System.Drawing.Size(75, 60);
|
||||
@ -463,6 +482,27 @@
|
||||
this.label8.Text = "%";
|
||||
this.label8.Click += new System.EventHandler(this.lblRoom_Click);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(8, 92);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(68, 20);
|
||||
this.label6.TabIndex = 6;
|
||||
this.label6.Text = "麻醉医生:";
|
||||
this.label6.Click += new System.EventHandler(this.lblRoom_Click);
|
||||
//
|
||||
// lblAnaesthesiaDoctor
|
||||
//
|
||||
this.lblAnaesthesiaDoctor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblAnaesthesiaDoctor.Location = new System.Drawing.Point(82, 92);
|
||||
this.lblAnaesthesiaDoctor.Name = "lblAnaesthesiaDoctor";
|
||||
this.lblAnaesthesiaDoctor.Size = new System.Drawing.Size(150, 20);
|
||||
this.lblAnaesthesiaDoctor.TabIndex = 6;
|
||||
this.lblAnaesthesiaDoctor.Text = "麻醉医生";
|
||||
this.lblAnaesthesiaDoctor.Click += new System.EventHandler(this.lblRoom_Click);
|
||||
//
|
||||
// UCPatientPhysiology
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
@ -526,5 +566,8 @@
|
||||
public System.Windows.Forms.Label lblSpO2;
|
||||
public System.Windows.Forms.Label label7;
|
||||
public System.Windows.Forms.Label label8;
|
||||
public System.Windows.Forms.Panel plRefresh;
|
||||
public System.Windows.Forms.Label lblAnaesthesiaDoctor;
|
||||
public System.Windows.Forms.Label label6;
|
||||
}
|
||||
}
|
||||
|
||||
@ -117,4 +117,17 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="plRefresh.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
EAAACxABrSO9dQAAAYBJREFUWEfNlkFKA0EQRXOxOYFLGUFUCBONYNRzRMgR9AruPIBgFrpyLQ6zc+kJ
|
||||
1HZqUdi0r5JJpjPUh7fwJ/37YSLjKITgGiw9gaUnsPQElp7A0hNYegJLT2BpMb9ZhKvZdVZkM70nBksL
|
||||
uiAH6T0xWFro4NPza2g+PnshGzsTpAubx9vQ3O3ZwJlhBYVVkvD+XoI7+YOYL/IJxsM5yS5Yv9ftj/0i
|
||||
G7qXXTBXdG8Qwe+3+/D1cGJC0b1BBCWrJCm6N5igxJKk6N6ggj89BJcvPZ8k0WGMJSdQdI9ogw4ClkJ0
|
||||
+F9SOfmo44+bEgvFbP3fjA6kITmNSlKiPbzPAkvBEox/U7GchjrJYIISkbBErOxMMMujrv571LXB+yyw
|
||||
FHQwN+k968BSODo8DuX+QVZkM71nHVh2pSzLEJO+ngMsu+JOcHZxid8rQt6bnt8GLC2qcYUyRDWetEd4
|
||||
ZxOwtDidnoeiKDoxOZu2R3hnE7D0BJaewNITWHoCS09g6Ycw+gV4Q7dSc+RNwQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
444
AIMS/OremrUserControl/ucPatientRecoverCard.Designer.cs
generated
444
AIMS/OremrUserControl/ucPatientRecoverCard.Designer.cs
generated
@ -33,39 +33,51 @@
|
||||
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.labelName = new System.Windows.Forms.Label();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.groupBoxEx2 = new AIMS.OremrUserControl.GroupBoxEx();
|
||||
this.lblSys = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.groupBoxEx3 = new AIMS.OremrUserControl.GroupBoxEx();
|
||||
this.lblHR = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.groupBoxEx5 = new AIMS.OremrUserControl.GroupBoxEx();
|
||||
this.lblT = new System.Windows.Forms.Label();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.groupBoxEx4 = new AIMS.OremrUserControl.GroupBoxEx();
|
||||
this.lblBR = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.groupBoxEx1 = new AIMS.OremrUserControl.GroupBoxEx();
|
||||
this.lblSpO2 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.lblSys = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.lblHR = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.lblSexAge = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.lblAnesDoctors = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.lblAnaesthesiaMethodName = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.groupBoxEx2.SuspendLayout();
|
||||
this.groupBoxEx3.SuspendLayout();
|
||||
this.groupBoxEx5.SuspendLayout();
|
||||
this.groupBoxEx4.SuspendLayout();
|
||||
this.groupBoxEx1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.CornflowerBlue;
|
||||
this.panel1.Controls.Add(this.labPatientName);
|
||||
this.panel1.Controls.Add(this.buttonX1);
|
||||
this.panel1.Controls.Add(this.labelName);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(237, 49);
|
||||
this.panel1.Size = new System.Drawing.Size(239, 42);
|
||||
this.panel1.TabIndex = 0;
|
||||
this.panel1.Click += new System.EventHandler(this.ucPatientRecoverCard_Click);
|
||||
//
|
||||
@ -105,190 +117,249 @@
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.lblT);
|
||||
this.panel2.Controls.Add(this.label14);
|
||||
this.panel2.Controls.Add(this.lblBR);
|
||||
this.panel2.Controls.Add(this.label11);
|
||||
this.panel2.Controls.Add(this.label12);
|
||||
this.panel2.Controls.Add(this.lblSpO2);
|
||||
this.panel2.Controls.Add(this.label7);
|
||||
this.panel2.Controls.Add(this.label9);
|
||||
this.panel2.Controls.Add(this.label8);
|
||||
this.panel2.Controls.Add(this.lblSys);
|
||||
this.panel2.Controls.Add(this.label5);
|
||||
this.panel2.Controls.Add(this.label6);
|
||||
this.panel2.Controls.Add(this.lblHR);
|
||||
this.panel2.Controls.Add(this.label1);
|
||||
this.panel2.Controls.Add(this.label4);
|
||||
this.panel2.Controls.Add(this.groupBoxEx2);
|
||||
this.panel2.Controls.Add(this.groupBoxEx3);
|
||||
this.panel2.Controls.Add(this.groupBoxEx5);
|
||||
this.panel2.Controls.Add(this.groupBoxEx4);
|
||||
this.panel2.Controls.Add(this.groupBoxEx1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 167);
|
||||
this.panel2.Location = new System.Drawing.Point(0, 175);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(237, 123);
|
||||
this.panel2.Size = new System.Drawing.Size(239, 140);
|
||||
this.panel2.TabIndex = 8;
|
||||
this.panel2.Click += new System.EventHandler(this.labTabindex_Click);
|
||||
//
|
||||
// lblT
|
||||
// groupBoxEx2
|
||||
//
|
||||
this.lblT.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.lblT.ForeColor = System.Drawing.Color.SeaGreen;
|
||||
this.lblT.Location = new System.Drawing.Point(152, 80);
|
||||
this.lblT.Name = "lblT";
|
||||
this.lblT.Size = new System.Drawing.Size(68, 28);
|
||||
this.lblT.TabIndex = 19;
|
||||
this.lblT.Text = "--";
|
||||
this.lblT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label14.Location = new System.Drawing.Point(161, 60);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(37, 19);
|
||||
this.label14.TabIndex = 20;
|
||||
this.label14.Text = "体温";
|
||||
//
|
||||
// lblBR
|
||||
//
|
||||
this.lblBR.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.lblBR.ForeColor = System.Drawing.Color.DodgerBlue;
|
||||
this.lblBR.Location = new System.Drawing.Point(80, 80);
|
||||
this.lblBR.Name = "lblBR";
|
||||
this.lblBR.Size = new System.Drawing.Size(59, 28);
|
||||
this.lblBR.TabIndex = 18;
|
||||
this.lblBR.Text = "--";
|
||||
this.lblBR.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label11.Location = new System.Drawing.Point(83, 60);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(37, 19);
|
||||
this.label11.TabIndex = 17;
|
||||
this.label11.Text = "呼吸";
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label12.Location = new System.Drawing.Point(122, 60);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(24, 17);
|
||||
this.label12.TabIndex = 16;
|
||||
this.label12.Text = "BR";
|
||||
//
|
||||
// lblSpO2
|
||||
//
|
||||
this.lblSpO2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.lblSpO2.ForeColor = System.Drawing.Color.Turquoise;
|
||||
this.lblSpO2.Location = new System.Drawing.Point(9, 80);
|
||||
this.lblSpO2.Name = "lblSpO2";
|
||||
this.lblSpO2.Size = new System.Drawing.Size(59, 28);
|
||||
this.lblSpO2.TabIndex = 15;
|
||||
this.lblSpO2.Text = "--";
|
||||
this.lblSpO2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label7.Location = new System.Drawing.Point(6, 60);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(37, 19);
|
||||
this.label7.TabIndex = 13;
|
||||
this.label7.Text = "血氧";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label9.Location = new System.Drawing.Point(202, 60);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(20, 17);
|
||||
this.label9.TabIndex = 14;
|
||||
this.label9.Text = "℃";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label8.Location = new System.Drawing.Point(46, 60);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(19, 17);
|
||||
this.label8.TabIndex = 14;
|
||||
this.label8.Text = "%";
|
||||
this.groupBoxEx2.BorderWidth = 1;
|
||||
this.groupBoxEx2.Controls.Add(this.lblSys);
|
||||
this.groupBoxEx2.Controls.Add(this.label4);
|
||||
this.groupBoxEx2.Controls.Add(this.label5);
|
||||
this.groupBoxEx2.Location = new System.Drawing.Point(119, 5);
|
||||
this.groupBoxEx2.Name = "groupBoxEx2";
|
||||
this.groupBoxEx2.Radius = 20;
|
||||
this.groupBoxEx2.Size = new System.Drawing.Size(110, 60);
|
||||
this.groupBoxEx2.TabIndex = 9;
|
||||
this.groupBoxEx2.TabStop = false;
|
||||
this.groupBoxEx2.TitleFont = new System.Drawing.Font("宋体", 10F);
|
||||
//
|
||||
// lblSys
|
||||
//
|
||||
this.lblSys.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.lblSys.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblSys.ForeColor = System.Drawing.Color.Red;
|
||||
this.lblSys.Location = new System.Drawing.Point(117, 28);
|
||||
this.lblSys.Location = new System.Drawing.Point(8, 31);
|
||||
this.lblSys.Name = "lblSys";
|
||||
this.lblSys.Size = new System.Drawing.Size(94, 28);
|
||||
this.lblSys.TabIndex = 10;
|
||||
this.lblSys.Text = "--/--";
|
||||
this.lblSys.TabIndex = 6;
|
||||
this.lblSys.Text = "120/80";
|
||||
this.lblSys.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(6, 8);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(42, 22);
|
||||
this.label4.TabIndex = 6;
|
||||
this.label4.Text = "血压";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(118, 6);
|
||||
this.label5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(53, 10);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(37, 19);
|
||||
this.label5.TabIndex = 11;
|
||||
this.label5.Text = "血压";
|
||||
this.label5.Size = new System.Drawing.Size(55, 20);
|
||||
this.label5.TabIndex = 6;
|
||||
this.label5.Text = "mmHg";
|
||||
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// label6
|
||||
// groupBoxEx3
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(158, 8);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(47, 17);
|
||||
this.label6.TabIndex = 12;
|
||||
this.label6.Text = "mmHg";
|
||||
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.groupBoxEx3.BorderWidth = 1;
|
||||
this.groupBoxEx3.Controls.Add(this.lblHR);
|
||||
this.groupBoxEx3.Controls.Add(this.label1);
|
||||
this.groupBoxEx3.Controls.Add(this.label3);
|
||||
this.groupBoxEx3.Location = new System.Drawing.Point(7, 5);
|
||||
this.groupBoxEx3.Name = "groupBoxEx3";
|
||||
this.groupBoxEx3.Radius = 20;
|
||||
this.groupBoxEx3.Size = new System.Drawing.Size(110, 60);
|
||||
this.groupBoxEx3.TabIndex = 10;
|
||||
this.groupBoxEx3.TabStop = false;
|
||||
this.groupBoxEx3.TitleFont = new System.Drawing.Font("宋体", 10F);
|
||||
//
|
||||
// lblHR
|
||||
//
|
||||
this.lblHR.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.lblHR.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.lblHR.Location = new System.Drawing.Point(15, 30);
|
||||
this.lblHR.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblHR.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||
this.lblHR.Location = new System.Drawing.Point(21, 31);
|
||||
this.lblHR.Name = "lblHR";
|
||||
this.lblHR.Size = new System.Drawing.Size(69, 28);
|
||||
this.lblHR.TabIndex = 7;
|
||||
this.lblHR.Text = "--";
|
||||
this.lblHR.TabIndex = 6;
|
||||
this.lblHR.Text = "66";
|
||||
this.lblHR.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(54, 10);
|
||||
this.label1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(68, 10);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(35, 17);
|
||||
this.label1.TabIndex = 8;
|
||||
this.label1.Size = new System.Drawing.Size(40, 20);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "bpm";
|
||||
//
|
||||
// label4
|
||||
// label3
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(12, 8);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(41, 19);
|
||||
this.label4.TabIndex = 9;
|
||||
this.label4.Text = "心率 ";
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label3.Location = new System.Drawing.Point(5, 8);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(47, 22);
|
||||
this.label3.TabIndex = 6;
|
||||
this.label3.Text = "心率 ";
|
||||
//
|
||||
// groupBoxEx5
|
||||
//
|
||||
this.groupBoxEx5.BorderWidth = 1;
|
||||
this.groupBoxEx5.Controls.Add(this.lblT);
|
||||
this.groupBoxEx5.Controls.Add(this.label14);
|
||||
this.groupBoxEx5.Controls.Add(this.label6);
|
||||
this.groupBoxEx5.Location = new System.Drawing.Point(159, 71);
|
||||
this.groupBoxEx5.Name = "groupBoxEx5";
|
||||
this.groupBoxEx5.Radius = 20;
|
||||
this.groupBoxEx5.Size = new System.Drawing.Size(75, 60);
|
||||
this.groupBoxEx5.TabIndex = 8;
|
||||
this.groupBoxEx5.TabStop = false;
|
||||
this.groupBoxEx5.TitleFont = new System.Drawing.Font("宋体", 10F);
|
||||
//
|
||||
// lblT
|
||||
//
|
||||
this.lblT.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblT.ForeColor = System.Drawing.Color.SteelBlue;
|
||||
this.lblT.Location = new System.Drawing.Point(3, 27);
|
||||
this.lblT.Name = "lblT";
|
||||
this.lblT.Size = new System.Drawing.Size(68, 28);
|
||||
this.lblT.TabIndex = 0;
|
||||
this.lblT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label14.Location = new System.Drawing.Point(3, 7);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(42, 22);
|
||||
this.label14.TabIndex = 12;
|
||||
this.label14.Text = "体温";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(50, 9);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(23, 20);
|
||||
this.label6.TabIndex = 8;
|
||||
this.label6.Text = "℃";
|
||||
//
|
||||
// groupBoxEx4
|
||||
//
|
||||
this.groupBoxEx4.BorderWidth = 1;
|
||||
this.groupBoxEx4.Controls.Add(this.lblBR);
|
||||
this.groupBoxEx4.Controls.Add(this.label11);
|
||||
this.groupBoxEx4.Controls.Add(this.label12);
|
||||
this.groupBoxEx4.Location = new System.Drawing.Point(81, 71);
|
||||
this.groupBoxEx4.Name = "groupBoxEx4";
|
||||
this.groupBoxEx4.Radius = 20;
|
||||
this.groupBoxEx4.Size = new System.Drawing.Size(75, 60);
|
||||
this.groupBoxEx4.TabIndex = 6;
|
||||
this.groupBoxEx4.TabStop = false;
|
||||
this.groupBoxEx4.TitleFont = new System.Drawing.Font("宋体", 10F);
|
||||
//
|
||||
// lblBR
|
||||
//
|
||||
this.lblBR.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblBR.ForeColor = System.Drawing.Color.MediumOrchid;
|
||||
this.lblBR.Location = new System.Drawing.Point(8, 27);
|
||||
this.lblBR.Name = "lblBR";
|
||||
this.lblBR.Size = new System.Drawing.Size(59, 28);
|
||||
this.lblBR.TabIndex = 10;
|
||||
this.lblBR.Text = "21";
|
||||
this.lblBR.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label11.Location = new System.Drawing.Point(4, 7);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(42, 22);
|
||||
this.label11.TabIndex = 9;
|
||||
this.label11.Text = "呼吸";
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label12.Location = new System.Drawing.Point(47, 9);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(27, 20);
|
||||
this.label12.TabIndex = 8;
|
||||
this.label12.Text = "BR";
|
||||
//
|
||||
// groupBoxEx1
|
||||
//
|
||||
this.groupBoxEx1.BorderWidth = 1;
|
||||
this.groupBoxEx1.Controls.Add(this.lblSpO2);
|
||||
this.groupBoxEx1.Controls.Add(this.label7);
|
||||
this.groupBoxEx1.Controls.Add(this.label8);
|
||||
this.groupBoxEx1.Location = new System.Drawing.Point(4, 71);
|
||||
this.groupBoxEx1.Name = "groupBoxEx1";
|
||||
this.groupBoxEx1.Radius = 20;
|
||||
this.groupBoxEx1.Size = new System.Drawing.Size(75, 60);
|
||||
this.groupBoxEx1.TabIndex = 7;
|
||||
this.groupBoxEx1.TabStop = false;
|
||||
this.groupBoxEx1.TitleFont = new System.Drawing.Font("宋体", 10F);
|
||||
//
|
||||
// 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.DarkOrange;
|
||||
this.lblSpO2.Location = new System.Drawing.Point(8, 28);
|
||||
this.lblSpO2.Name = "lblSpO2";
|
||||
this.lblSpO2.Size = new System.Drawing.Size(59, 28);
|
||||
this.lblSpO2.TabIndex = 7;
|
||||
this.lblSpO2.Text = "99";
|
||||
this.lblSpO2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label7.Location = new System.Drawing.Point(1, 8);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(42, 22);
|
||||
this.label7.TabIndex = 6;
|
||||
this.label7.Text = "血氧";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label8.Location = new System.Drawing.Point(53, 10);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(21, 20);
|
||||
this.label8.TabIndex = 6;
|
||||
this.label8.Text = "%";
|
||||
//
|
||||
// lblSexAge
|
||||
//
|
||||
this.lblSexAge.AutoSize = true;
|
||||
this.lblSexAge.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblSexAge.Location = new System.Drawing.Point(10, 54);
|
||||
this.lblSexAge.Location = new System.Drawing.Point(7, 50);
|
||||
this.lblSexAge.Name = "lblSexAge";
|
||||
this.lblSexAge.Size = new System.Drawing.Size(0, 17);
|
||||
this.lblSexAge.TabIndex = 9;
|
||||
@ -297,7 +368,7 @@
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.Location = new System.Drawing.Point(7, 76);
|
||||
this.label2.Location = new System.Drawing.Point(7, 90);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(68, 17);
|
||||
this.label2.TabIndex = 9;
|
||||
@ -307,7 +378,7 @@
|
||||
//
|
||||
this.lblAnesDoctors.AutoSize = true;
|
||||
this.lblAnesDoctors.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblAnesDoctors.Location = new System.Drawing.Point(7, 98);
|
||||
this.lblAnesDoctors.Location = new System.Drawing.Point(7, 110);
|
||||
this.lblAnesDoctors.Name = "lblAnesDoctors";
|
||||
this.lblAnesDoctors.Size = new System.Drawing.Size(68, 17);
|
||||
this.lblAnesDoctors.TabIndex = 9;
|
||||
@ -317,7 +388,7 @@
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label10.Location = new System.Drawing.Point(7, 120);
|
||||
this.label10.Location = new System.Drawing.Point(7, 130);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(68, 17);
|
||||
this.label10.TabIndex = 9;
|
||||
@ -327,12 +398,21 @@
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label13.Location = new System.Drawing.Point(7, 142);
|
||||
this.label13.Location = new System.Drawing.Point(7, 150);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(68, 17);
|
||||
this.label13.TabIndex = 9;
|
||||
this.label13.Text = "复苏时间:";
|
||||
//
|
||||
// lblAnaesthesiaMethodName
|
||||
//
|
||||
this.lblAnaesthesiaMethodName.AutoSize = true;
|
||||
this.lblAnaesthesiaMethodName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblAnaesthesiaMethodName.Location = new System.Drawing.Point(11, 70);
|
||||
this.lblAnaesthesiaMethodName.Name = "lblAnaesthesiaMethodName";
|
||||
this.lblAnaesthesiaMethodName.Size = new System.Drawing.Size(0, 17);
|
||||
this.lblAnaesthesiaMethodName.TabIndex = 9;
|
||||
//
|
||||
// ucPatientRecoverCard
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@ -340,15 +420,25 @@
|
||||
this.Controls.Add(this.label13);
|
||||
this.Controls.Add(this.label10);
|
||||
this.Controls.Add(this.lblAnesDoctors);
|
||||
this.Controls.Add(this.lblAnaesthesiaMethodName);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.lblSexAge);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "ucPatientRecoverCard";
|
||||
this.Size = new System.Drawing.Size(237, 290);
|
||||
this.Size = new System.Drawing.Size(239, 315);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.groupBoxEx2.ResumeLayout(false);
|
||||
this.groupBoxEx2.PerformLayout();
|
||||
this.groupBoxEx3.ResumeLayout(false);
|
||||
this.groupBoxEx3.PerformLayout();
|
||||
this.groupBoxEx5.ResumeLayout(false);
|
||||
this.groupBoxEx5.PerformLayout();
|
||||
this.groupBoxEx4.ResumeLayout(false);
|
||||
this.groupBoxEx4.PerformLayout();
|
||||
this.groupBoxEx1.ResumeLayout(false);
|
||||
this.groupBoxEx1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@ -361,25 +451,31 @@
|
||||
public System.Windows.Forms.Label labPatientName;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
public DevComponents.DotNetBar.ButtonX buttonX1;
|
||||
public System.Windows.Forms.Label lblT;
|
||||
public System.Windows.Forms.Label label14;
|
||||
public System.Windows.Forms.Label lblBR;
|
||||
public System.Windows.Forms.Label label11;
|
||||
public System.Windows.Forms.Label label12;
|
||||
public System.Windows.Forms.Label lblSpO2;
|
||||
public System.Windows.Forms.Label label7;
|
||||
public System.Windows.Forms.Label label9;
|
||||
public System.Windows.Forms.Label label8;
|
||||
public System.Windows.Forms.Label lblSys;
|
||||
public System.Windows.Forms.Label label5;
|
||||
public System.Windows.Forms.Label label6;
|
||||
public System.Windows.Forms.Label lblHR;
|
||||
public System.Windows.Forms.Label label1;
|
||||
public System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label lblSexAge;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label lblAnesDoctors;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label13;
|
||||
public GroupBoxEx groupBoxEx2;
|
||||
public System.Windows.Forms.Label lblSys;
|
||||
public System.Windows.Forms.Label label4;
|
||||
public System.Windows.Forms.Label label5;
|
||||
public GroupBoxEx groupBoxEx3;
|
||||
public System.Windows.Forms.Label lblHR;
|
||||
public System.Windows.Forms.Label label1;
|
||||
public System.Windows.Forms.Label label3;
|
||||
public GroupBoxEx groupBoxEx5;
|
||||
public System.Windows.Forms.Label lblT;
|
||||
public System.Windows.Forms.Label label14;
|
||||
public GroupBoxEx groupBoxEx4;
|
||||
public System.Windows.Forms.Label lblBR;
|
||||
public System.Windows.Forms.Label label11;
|
||||
public System.Windows.Forms.Label label12;
|
||||
public GroupBoxEx groupBoxEx1;
|
||||
public System.Windows.Forms.Label lblSpO2;
|
||||
public System.Windows.Forms.Label label7;
|
||||
public System.Windows.Forms.Label label8;
|
||||
public System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Label lblAnaesthesiaMethodName;
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,11 +35,11 @@ namespace AIMS.OremrUserControl
|
||||
_dr = dr;
|
||||
ApplyId = int.Parse(dr["ApplyId"].ToString());
|
||||
PatientId = int.Parse(dr["PatientId"].ToString());
|
||||
//label3.Text = dr["MdrecNo"].ToString();
|
||||
labPatientName.Text = dr["PatientName"].ToString();
|
||||
lblSexAge.Text = dr["MdrecNo"].ToString() + " " + dr["Sex"].ToString() + " " + dr["age"].ToString();
|
||||
labPatientName.Text = dr["PatientName"].ToString() + " " + dr["Sex"].ToString() + " " + dr["age"].ToString();
|
||||
lblSexAge.Text = dr["ApplyOperationInfoName"].ToString();
|
||||
lblAnaesthesiaMethodName.Text = dr["AnaesthesiaMethodName"].ToString();
|
||||
|
||||
label2.Text = "手术医生:" + dr["ApplyOperationInfoName"].ToString();
|
||||
label2.Text = "手术医生:" + dr["OperationDoctor"].ToString();
|
||||
lblAnesDoctors.Text = "麻醉医生:" + dr["AnesthesiaDoctor"].ToString();
|
||||
label10.Text = "手术时间:" + dr["OutRoomTime"].ToString();
|
||||
label13.Text = "复苏时间:" + dr["InRoomTime"].ToString();
|
||||
@ -95,8 +95,8 @@ namespace AIMS.OremrUserControl
|
||||
private void SetWindowRegion()
|
||||
{
|
||||
GraphicsPath FormPath = new GraphicsPath();
|
||||
Rectangle rect = new Rectangle(0, 4, this.Width, this.Height - 4);
|
||||
FormPath = GetRoundedRectPath(rect, 10);
|
||||
Rectangle rect = new Rectangle(0, 2, this.Width, this.Height - 2);
|
||||
FormPath = GetRoundedRectPath(rect, 19);
|
||||
this.Region = new Region(FormPath);
|
||||
|
||||
}
|
||||
|
||||
@ -54,12 +54,12 @@ namespace AIMSBLL
|
||||
}
|
||||
public static DataTable GetRecoverPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,of2.Whereabouts FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '手术结束') and (of2.Pulse='PACU' OR of2.Pulse='恢复室') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 and of2.Id not in (select iD from OperationRecord where RecoverId<>1)";
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,of2.Whereabouts,of2.AnaesthesiaMethodName FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '手术结束') and (of2.Pulse='PACU' OR of2.Pulse='恢复室') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 and of2.Id not in (select iD from OperationRecord where RecoverId<>1)";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public static DataTable GetRecoverPatientOutDataTable(DateTime BeginDate, DateTime EndDate)
|
||||
{
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '麻醉复苏结束') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + EndDate + "' and RecoverId=2 order by OutRoomTime desc ";
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,of2.AnaesthesiaMethodName FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '麻醉复苏结束') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + EndDate + "' and RecoverId=2 order by OutRoomTime desc ";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public static DataTable GetSelectPatientDataTable(DateTime BeginDate, DateTime EndDate, bool isLoginPerson, string person, bool isEnOpe)
|
||||
@ -105,7 +105,7 @@ namespace AIMSBLL
|
||||
|
||||
public static DataTable GetRecoverLockingPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.InRoomTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,(select OutRoomTime from OperationRecord where OperationRecord.RecoverId=1 and OperationRecord.PatientId=of2.PatientId) OutRoomTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '麻醉复苏中') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=2 ";
|
||||
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.InRoomTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,(select OutRoomTime from OperationRecord where OperationRecord.RecoverId=1 and OperationRecord.PatientId=of2.PatientId) OutRoomTime,of2.AnaesthesiaMethodName FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '麻醉复苏中') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=2 ";
|
||||
strSql += " order by [StateId] asc";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
@ -66,6 +66,7 @@
|
||||
<Compile Include="MyCodeName.cs" />
|
||||
<Compile Include="MyNameIntValue.cs" />
|
||||
<Compile Include="NowPhysioData.cs" />
|
||||
<Compile Include="ProgramLogService.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
|
||||
110
AIMSExtension/ProgramLogService.cs
Normal file
110
AIMSExtension/ProgramLogService.cs
Normal file
@ -0,0 +1,110 @@
|
||||
using HelperDB;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace AIMSExtension
|
||||
{
|
||||
public class ProgramLog
|
||||
{
|
||||
public ProgramLog() { }
|
||||
|
||||
public int ID { get; set; }
|
||||
|
||||
public string Content { get; set; }
|
||||
//[DBField("PatientID")]
|
||||
public string PatientID { get; set; }
|
||||
//[DBField("IsUpData")]
|
||||
public int IsUpData { get; set; }
|
||||
//[DBField("OperatorId")]
|
||||
public int OperatorId { get; set; }
|
||||
//[DBField("OperatorName")]
|
||||
public string OperatorName { get; set; }
|
||||
//[DBField("OperatorIP")]
|
||||
public string OperatorIP { get; set; }
|
||||
//[DBField("OperatorTime")]
|
||||
public DateTime OperatorTime { get; set; }
|
||||
//[DBField("Remark")]
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
public static partial class ProgramLogService
|
||||
{
|
||||
public static readonly string InsertSql = "INSERT ProgramLog (Content, PatientID, IsUpData, OperatorId, OperatorName, OperatorIP, OperatorTime, Remark)VALUES (@Content, @PatientID, @IsUpData, @OperatorId, @OperatorName, @OperatorIP, @OperatorTime, @Remark)";
|
||||
public static readonly string UpdateSql = "Update ProgramLog set Content=@Content, PatientID=@PatientID, IsUpData=@IsUpData, OperatorId=@OperatorId, OperatorName=@OperatorName, OperatorIP=@OperatorIP, OperatorTime=@OperatorTime, Remark=@Remark where ID=@ID";
|
||||
public static readonly string DeleteSql = "Delete FROM ProgramLog where ID=@ID";
|
||||
public static readonly string SelectSql = "Select * FROM ProgramLog";
|
||||
public static readonly string SelectSqlById = "Select * FROM ProgramLog where ID =@ID";
|
||||
public static int AddProgramLog(ProgramLog programLog)
|
||||
{
|
||||
string sql = InsertSql;
|
||||
SqlParameter[] para = new SqlParameter[]
|
||||
{
|
||||
new SqlParameter("@Content",programLog.Content), new SqlParameter("@PatientID",programLog.PatientID), new SqlParameter("@IsUpData",programLog.IsUpData), new SqlParameter("@OperatorId",programLog.OperatorId), new SqlParameter("@OperatorName",programLog.OperatorName), new SqlParameter("@OperatorIP",programLog.OperatorIP), new SqlParameter("@OperatorTime",programLog.OperatorTime), new SqlParameter("@Remark",programLog.Remark)
|
||||
};
|
||||
return DBHelper.ExecNonQuery(sql, para);
|
||||
}
|
||||
public static int UpdateProgramLog(ProgramLog programLog)
|
||||
{
|
||||
string sql = UpdateSql;
|
||||
SqlParameter[] para = new SqlParameter[]
|
||||
{
|
||||
new SqlParameter("@ID",programLog.ID), new SqlParameter("@Content",programLog.Content), new SqlParameter("@PatientID",programLog.PatientID), new SqlParameter("@IsUpData",programLog.IsUpData), new SqlParameter("@OperatorId",programLog.OperatorId), new SqlParameter("@OperatorName",programLog.OperatorName), new SqlParameter("@OperatorIP",programLog.OperatorIP), new SqlParameter("@OperatorTime",programLog.OperatorTime), new SqlParameter("@Remark",programLog.Remark)
|
||||
};
|
||||
return DBHelper.ExecNonQuery(sql, para);
|
||||
}
|
||||
public static int DelProgramLog(ProgramLog programLog)
|
||||
{
|
||||
string sql = DeleteSql;
|
||||
SqlParameter[] para = new SqlParameter[]
|
||||
{
|
||||
new SqlParameter("@ID",programLog.ID)
|
||||
};
|
||||
return DBHelper.ExecNonQuery(sql, para);
|
||||
}
|
||||
public static IList<ProgramLog> GetAllList()
|
||||
{
|
||||
string sql = SelectSql;
|
||||
return GetListBySql(sql);
|
||||
}
|
||||
|
||||
|
||||
public static ProgramLog GetProgramLogByID(int ID)
|
||||
{
|
||||
string sql = SelectSqlById;
|
||||
SqlParameter para = new SqlParameter("@ID", ID);
|
||||
IList<ProgramLog> list = GetListBySql(sql, para);
|
||||
if (list.Count > 0)
|
||||
return list[0];
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
private static IList<ProgramLog> GetListBySql(string sql, params SqlParameter[] para)
|
||||
{
|
||||
IList<ProgramLog> list = new List<ProgramLog>();
|
||||
using (SqlDataReader reader = DBHelper.GetReader(sql, para))
|
||||
{
|
||||
while (reader.Read())
|
||||
{
|
||||
ProgramLog temp = new ProgramLog();
|
||||
|
||||
temp.ID = DBHelper.GetInt(reader["ID"]);
|
||||
temp.Content = DBHelper.GetString(reader["Content"]);
|
||||
temp.PatientID = DBHelper.GetString(reader["PatientID"]);
|
||||
temp.IsUpData = DBHelper.GetInt(reader["IsUpData"]);
|
||||
temp.OperatorId = DBHelper.GetInt(reader["OperatorId"]);
|
||||
temp.OperatorName = DBHelper.GetString(reader["OperatorName"]);
|
||||
temp.OperatorIP = DBHelper.GetString(reader["OperatorIP"]);
|
||||
temp.OperatorTime = DBHelper.GetDateTime(reader["OperatorTime"]);
|
||||
temp.Remark = DBHelper.GetString(reader["Remark"]);
|
||||
|
||||
list.Add(temp);
|
||||
}
|
||||
reader.Close();
|
||||
return list;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3,6 +3,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
@ -22,9 +23,7 @@ namespace AIMSExtension
|
||||
public static int PermissionLevel = 0;
|
||||
public static string NowVersion;
|
||||
public static int SelectRoom;
|
||||
|
||||
//private static char zdSplit = '|';
|
||||
//private static char nameValueSplit = '*';
|
||||
public static string LocalIP;
|
||||
|
||||
[DllImport("kernel32.dll", SetLastError = true)]
|
||||
public static extern int SetLocalTime(ref SystemTime lpSystemTime);
|
||||
@ -60,21 +59,6 @@ namespace AIMSExtension
|
||||
}
|
||||
}
|
||||
|
||||
public static string GetSystemName()
|
||||
{
|
||||
string strSql = "SELECT SystemName FROM dbo.HospitalInfo";
|
||||
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
|
||||
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
return dt.Rows[0]["SystemName"].ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static string GetAge(DateTime Birthday)
|
||||
{
|
||||
@ -412,12 +396,6 @@ namespace AIMSExtension
|
||||
SetLocalTime(ref NewTime);
|
||||
}
|
||||
|
||||
public static DataTable GetPlanNoticeNew1(DateTime dtBegin, DateTime dtEnd, string OpeTime)
|
||||
{
|
||||
string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术中'[State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and InRoomTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc";
|
||||
return DBHelper.GetDataTable(strSql);
|
||||
}
|
||||
|
||||
public static DataTable GetNewDataTable(DataTable dt, string condition, string sortstr)
|
||||
{
|
||||
DataTable newdt = new DataTable();
|
||||
@ -430,65 +408,59 @@ namespace AIMSExtension
|
||||
return newdt;//返回的查询结果
|
||||
}
|
||||
|
||||
//public static string GetControlString(Control cls)
|
||||
//{
|
||||
// string zqSpecial = "";
|
||||
// if (cls.Controls.Count <= 0) return "";
|
||||
// foreach (Control clTemp in cls.Controls)
|
||||
// {
|
||||
// if (clTemp.Controls.Count > 0)
|
||||
// {
|
||||
// zqSpecial += GetControlString(clTemp);
|
||||
// }
|
||||
// else if (clTemp is DateTimePicker)
|
||||
// {
|
||||
// if (((DateTimePicker)clTemp).Value.ToString() != "")
|
||||
// {
|
||||
// zqSpecial += ((DateTimePicker)clTemp).Name + nameValueSplit;
|
||||
// zqSpecial += ((DateTimePicker)clTemp).Value.ToString() + zdSplit;
|
||||
// }
|
||||
// }
|
||||
// else if (clTemp is TextBox)
|
||||
// {
|
||||
// {
|
||||
// zqSpecial += ((TextBox)clTemp).Name + nameValueSplit;
|
||||
// zqSpecial += ((TextBox)clTemp).Text.ToString() + zdSplit;
|
||||
// }
|
||||
// }
|
||||
// else if (clTemp is RichTextBox)
|
||||
// {
|
||||
// if (((RichTextBox)clTemp).Text.ToString() != "")
|
||||
// {
|
||||
// zqSpecial += ((RichTextBox)clTemp).Name + nameValueSplit;
|
||||
// zqSpecial += ((RichTextBox)clTemp).Text.ToString() + zdSplit;
|
||||
// }
|
||||
// }
|
||||
// else if (clTemp is CheckBox)
|
||||
// {
|
||||
// zqSpecial += ((CheckBox)clTemp).Name + nameValueSplit;
|
||||
// zqSpecial += ((CheckBox)clTemp).Checked.ToString() + zdSplit;
|
||||
// }
|
||||
// else if (clTemp is RadioButton)
|
||||
// {
|
||||
// zqSpecial += ((RadioButton)clTemp).Name + nameValueSplit;
|
||||
// zqSpecial += ((RadioButton)clTemp).Checked.ToString() + zdSplit;
|
||||
// }
|
||||
// else if (clTemp is ComboBox)
|
||||
// {
|
||||
// zqSpecial += ((ComboBox)clTemp).Name + nameValueSplit;
|
||||
// zqSpecial += ((ComboBox)clTemp).Text + zdSplit;
|
||||
// }
|
||||
// else if (clTemp is DevComponents.DotNetBar.Controls.TextBoxX)
|
||||
// {
|
||||
|
||||
// zqSpecial += ((DevComponents.DotNetBar.Controls.TextBoxX)clTemp).Name + nameValueSplit;
|
||||
// zqSpecial += ((DevComponents.DotNetBar.Controls.TextBoxX)clTemp).Text + zdSplit;
|
||||
// }
|
||||
// }
|
||||
|
||||
// return zqSpecial;
|
||||
//}
|
||||
/// <summary>
|
||||
/// 将流程写到日志
|
||||
/// </summary>
|
||||
/// <param name="ex">异常</param>
|
||||
/// <param name="LogAddress">日志文件地址</param>
|
||||
public static void WriteLog(string Content, int PatientId, int IsUpData = 0, string Remark = "")
|
||||
{
|
||||
try
|
||||
{
|
||||
ProgramLog plg = new ProgramLog();
|
||||
plg.Content = Content;
|
||||
plg.PatientID = PatientId.ToString();
|
||||
plg.Remark = Remark;
|
||||
plg.IsUpData = IsUpData;
|
||||
plg.OperatorId = OperatorId;
|
||||
plg.OperatorName = OperatorName;
|
||||
plg.OperatorIP = LocalIP; //取得本机IP
|
||||
plg.OperatorTime = DateTime.Now;
|
||||
ProgramLogService.AddProgramLog(plg);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
PublicMethod.WriteLog(ex);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 取本机主机ip
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
public static string GetLocalIP()
|
||||
{
|
||||
//本机IP地址
|
||||
string strLocalIP = "";
|
||||
//得到计算机名
|
||||
string strPcName = Dns.GetHostName();
|
||||
//得到本机IP地址数组
|
||||
IPHostEntry ipEntry = Dns.GetHostEntry(strPcName);
|
||||
//遍历数组
|
||||
foreach (var IPadd in ipEntry.AddressList)
|
||||
{
|
||||
//判断当前字符串是否为正确IP地址
|
||||
if (IsRightIP(IPadd.ToString()))
|
||||
{
|
||||
//得到本地IP地址
|
||||
strLocalIP = IPadd.ToString();
|
||||
//结束循环
|
||||
break;
|
||||
}
|
||||
}
|
||||
//返回本地IP地址
|
||||
return strLocalIP;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 将异常打印到LOG文件
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user