病案归档 生命体征修改痕迹

This commit is contained in:
leomo 2022-09-20 22:47:29 +08:00
parent 71cb85c565
commit 0b494f23b6
27 changed files with 3300 additions and 619 deletions

View File

@ -342,6 +342,12 @@
<Compile Include="OperationDoing\oldSystemCode\FormUseDrugsReport.designer.cs">
<DependentUpon>FormUseDrugsReport.cs</DependentUpon>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmAnasRecordHistory.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmAnasRecordHistory.designer.cs">
<DependentUpon>frmAnasRecordHistory.cs</DependentUpon>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmGoodsBillRecord.cs">
<SubType>Form</SubType>
</Compile>
@ -378,6 +384,12 @@
<Compile Include="OperationDoing\oldSystemCode\frmOperatingRoomRegister.designer.cs">
<DependentUpon>frmOperatingRoomRegister.cs</DependentUpon>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmPhysioDataUpdateLog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmPhysioDataUpdateLog.designer.cs">
<DependentUpon>frmPhysioDataUpdateLog.cs</DependentUpon>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmSelectApplianceUseType.cs">
<SubType>Form</SubType>
</Compile>
@ -1125,6 +1137,9 @@
<EmbeddedResource Include="OperationDoing\oldSystemCode\FormUseDrugsReport.resx">
<DependentUpon>FormUseDrugsReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmAnasRecordHistory.resx">
<DependentUpon>frmAnasRecordHistory.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmGoodsBillRecord.resx">
<DependentUpon>frmGoodsBillRecord.cs</DependentUpon>
</EmbeddedResource>
@ -1143,6 +1158,9 @@
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmOperatingRoomRegister.resx">
<DependentUpon>frmOperatingRoomRegister.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmPhysioDataUpdateLog.resx">
<DependentUpon>frmPhysioDataUpdateLog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmSelectApplianceUseType.resx">
<DependentUpon>frmSelectApplianceUseType.cs</DependentUpon>
</EmbeddedResource>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<AtuoUpdate>
<ConnectionString>Data Source=tx.wulvshi.cn;Initial Catalog=AIMSDB_SXTLYY;User ID=sa;Password=Test2020;</ConnectionString>
<!--<ConnectionString>Data Source=tx.wulvshi.cn;Initial Catalog=AIMSDB_SXTLYY;User ID=sa;Password=Test2020;</ConnectionString>-->
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_SXTLYY;User ID=sa;Password=Test2020;</ConnectionString>
<DataConnectionString>Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=123456;</DataConnectionString>
<HisConnectionStringOracel>Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39;</HisConnectionStringOracel>
</AtuoUpdate>

View File

@ -280,6 +280,7 @@ namespace AIMS.DocManager
public String SysDate { get; set; }
public String SysTime { get; set; }
public String OpeTime { get; set; }
public String MedicalRecord { get; set; }
public static PatientRecord GetPatientRecord(int patientId)
{
@ -370,6 +371,7 @@ namespace AIMS.DocManager
patient.SysDate = dt.Rows[0]["SysDate"].ToString();
patient.SysTime = dt.Rows[0]["SysTime"].ToString();
patient.OpeTime = dt.Rows[0]["OpeTime"].ToString();
patient.MedicalRecord = dt.Rows[0]["MedicalRecord"].ToString();
}
#endregion
return patient;

View File

@ -159,6 +159,8 @@ namespace AIMS
sideNavItem.Symbol = "\uf00e";
if (menuSec.Name == "术后回顾")
sideNavItem.Symbol = "\uf0cb";
if (menuSec.Name == "病案管理")
sideNavItem.Symbol = "\uf0cb";
if (menuSec.Name == "排程查询")
sideNavItem.Symbol = "\uf0c5";
if (menuSec.Name == "医疗文书")

View File

@ -17,7 +17,7 @@ namespace AIMS.OperationAfter.DAL
" od.AnaesthesiaMethodName, od.OperationCutTypeName,"+
" od.OperationBodyPositionName, od.OperationPositionName,"+
" od.OperationDoctor, od.Assistant, od.AnesthesiaDoctor,"+
" od.Nurse, od.Remarks FROM V_OperationDoing od"+
" od.Nurse, od.Remarks,of1.MedicalRecord,of1.MedicalRecordTime FROM V_OperationDoing od" +
" LEFT JOIN V_OperationFront of1 ON of1.PatientId = od.PatientId WHERE (of1.MdrecNo ='" + MdrecNo + "' OR of1.PatientName LIKE '" + PatientName + "%')" +
" AND od.OperationBeginTime >='" + OperationBeginTime + "' AND od.OperationBeginTime <'" + OperationEndTime + "' AND " +
" od.[State] IN ('手术结束','麻醉恢复结束')";

View File

@ -30,10 +30,15 @@
{
this.panel1 = new System.Windows.Forms.Panel();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbEditApply = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbOperationReview = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbOperationRecover = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSet = new System.Windows.Forms.ToolStripButton();
this.panel2 = new System.Windows.Forms.Panel();
this.btnFind = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
@ -46,6 +51,42 @@
this.label1 = new System.Windows.Forms.Label();
this.panel3 = new System.Windows.Forms.Panel();
this.dgv = new System.Windows.Forms.DataGridView();
this.tspBAGD = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
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.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.PatientId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -77,11 +118,8 @@
this.AssistantColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RemarksColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tsbEditApply = new System.Windows.Forms.ToolStripButton();
this.tsbOperationReview = new System.Windows.Forms.ToolStripButton();
this.tsbOperationRecover = new System.Windows.Forms.ToolStripButton();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.tsbSet = new System.Windows.Forms.ToolStripButton();
this.MedicalRecord = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MedicalRecordtIME = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.panel2.SuspendLayout();
@ -109,6 +147,10 @@
this.toolStripSeparator1,
this.tsbOperationReview,
this.toolStripSeparator4,
this.tspBAGD,
this.toolStripSeparator6,
this.toolStripButton1,
this.toolStripSeparator5,
this.tsbOperationRecover,
this.toolStripSeparator3,
this.tsbExit,
@ -120,26 +162,83 @@
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// tsbEditApply
//
this.tsbEditApply.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbEditApply.Image = global::AIMS.Properties.Resources._申请修改;
this.tsbEditApply.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbEditApply.Name = "tsbEditApply";
this.tsbEditApply.Size = new System.Drawing.Size(68, 48);
this.tsbEditApply.Text = " 修改申请";
this.tsbEditApply.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbEditApply.Click += new System.EventHandler(this.tsbEditApply_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 51);
//
// tsbOperationReview
//
this.tsbOperationReview.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbOperationReview.Image = global::AIMS.Properties.Resources._回顾手术;
this.tsbOperationReview.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbOperationReview.Name = "tsbOperationReview";
this.tsbOperationReview.Size = new System.Drawing.Size(68, 48);
this.tsbOperationReview.Text = " 回顾手术";
this.tsbOperationReview.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbOperationReview.Click += new System.EventHandler(this.tsbOperationReview_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 51);
//
// tsbOperationRecover
//
this.tsbOperationRecover.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbOperationRecover.Image = global::AIMS.Properties.Resources._回顾恢复;
this.tsbOperationRecover.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbOperationRecover.Name = "tsbOperationRecover";
this.tsbOperationRecover.Size = new System.Drawing.Size(68, 48);
this.tsbOperationRecover.Text = " 回顾恢复";
this.tsbOperationRecover.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbOperationRecover.Visible = false;
this.tsbOperationRecover.Click += new System.EventHandler(this.tsbOperationRecover_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 51);
this.toolStripSeparator3.Visible = false;
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 48);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 51);
//
// tsbSet
//
this.tsbSet.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSet.Image = global::AIMS.Properties.Resources._设置;
this.tsbSet.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSet.Name = "tsbSet";
this.tsbSet.Size = new System.Drawing.Size(44, 48);
this.tsbSet.Text = " 设置 ";
this.tsbSet.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSet.Click += new System.EventHandler(this.tsbSet_Click);
//
// panel2
//
this.panel2.Controls.Add(this.btnFind);
@ -281,15 +380,283 @@
this.AnesthesiaDoctorColumn,
this.AssistantColumn,
this.NurseColumn,
this.RemarksColumn});
this.RemarksColumn,
this.MedicalRecord,
this.MedicalRecordtIME});
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgv.Location = new System.Drawing.Point(0, 0);
this.dgv.Name = "dgv";
this.dgv.RowTemplate.Height = 23;
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgv.Size = new System.Drawing.Size(873, 360);
this.dgv.TabIndex = 4;
//
// tspBAGD
//
this.tspBAGD.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tspBAGD.Image = global::AIMS.Properties.Resources._访视单;
this.tspBAGD.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tspBAGD.Name = "tspBAGD";
this.tspBAGD.Size = new System.Drawing.Size(64, 48);
this.tspBAGD.Text = " 病案归档";
this.tspBAGD.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tspBAGD.ToolTipText = "病案归档";
this.tspBAGD.Click += new System.EventHandler(this.tspBAGD_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 51);
//
// 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(88, 48);
this.toolStripButton1.Text = " 取消病案归档";
this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.toolStripButton1.ToolTipText = "病案归档";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripSeparator6
//
this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(6, 51);
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "PatientId";
this.dataGridViewTextBoxColumn1.HeaderText = "PatientId";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Visible = false;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "ApplyId";
this.dataGridViewTextBoxColumn2.HeaderText = "ApplyId";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
this.dataGridViewTextBoxColumn2.Visible = false;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.DataPropertyName = "MdrecNo";
this.dataGridViewTextBoxColumn3.HeaderText = "住院号";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
this.dataGridViewTextBoxColumn3.Width = 80;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "ArchivesNo";
this.dataGridViewTextBoxColumn4.HeaderText = "病历号";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.ReadOnly = true;
this.dataGridViewTextBoxColumn4.Width = 80;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "ApplyDepName";
this.dataGridViewTextBoxColumn5.HeaderText = "申请科室";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
this.dataGridViewTextBoxColumn5.Width = 80;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "PatientKind";
this.dataGridViewTextBoxColumn6.HeaderText = "医保类别";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.ReadOnly = true;
this.dataGridViewTextBoxColumn6.Width = 80;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.DataPropertyName = "PatientName";
this.dataGridViewTextBoxColumn7.HeaderText = "患者姓名";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.ReadOnly = true;
this.dataGridViewTextBoxColumn7.Width = 80;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "Sex";
this.dataGridViewTextBoxColumn8.HeaderText = "性别";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.ReadOnly = true;
this.dataGridViewTextBoxColumn8.Width = 60;
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.DataPropertyName = "BirthDay";
this.dataGridViewTextBoxColumn9.HeaderText = "出生日期";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.Width = 80;
//
// dataGridViewTextBoxColumn10
//
this.dataGridViewTextBoxColumn10.DataPropertyName = "Height";
this.dataGridViewTextBoxColumn10.HeaderText = "身高";
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
this.dataGridViewTextBoxColumn10.Width = 70;
//
// dataGridViewTextBoxColumn11
//
this.dataGridViewTextBoxColumn11.DataPropertyName = "Weight";
this.dataGridViewTextBoxColumn11.HeaderText = "体重";
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
this.dataGridViewTextBoxColumn11.ReadOnly = true;
this.dataGridViewTextBoxColumn11.Width = 70;
//
// dataGridViewTextBoxColumn12
//
this.dataGridViewTextBoxColumn12.DataPropertyName = "BloodType";
this.dataGridViewTextBoxColumn12.HeaderText = "血型";
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
this.dataGridViewTextBoxColumn12.ReadOnly = true;
this.dataGridViewTextBoxColumn12.Width = 70;
//
// dataGridViewTextBoxColumn13
//
this.dataGridViewTextBoxColumn13.DataPropertyName = "RHBloodType";
this.dataGridViewTextBoxColumn13.HeaderText = "RH血型";
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
this.dataGridViewTextBoxColumn13.Width = 70;
//
// dataGridViewTextBoxColumn14
//
this.dataGridViewTextBoxColumn14.DataPropertyName = "Illdistrict";
this.dataGridViewTextBoxColumn14.HeaderText = "病区";
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
this.dataGridViewTextBoxColumn14.Width = 70;
//
// dataGridViewTextBoxColumn15
//
this.dataGridViewTextBoxColumn15.DataPropertyName = "SickBed";
this.dataGridViewTextBoxColumn15.HeaderText = "床位";
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
this.dataGridViewTextBoxColumn15.ReadOnly = true;
this.dataGridViewTextBoxColumn15.Width = 70;
//
// dataGridViewTextBoxColumn16
//
this.dataGridViewTextBoxColumn16.DataPropertyName = "OperationType";
this.dataGridViewTextBoxColumn16.HeaderText = "手术类型";
this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
this.dataGridViewTextBoxColumn16.ReadOnly = true;
this.dataGridViewTextBoxColumn16.Width = 80;
//
// dataGridViewTextBoxColumn17
//
this.dataGridViewTextBoxColumn17.DataPropertyName = "State";
this.dataGridViewTextBoxColumn17.HeaderText = "状态";
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
this.dataGridViewTextBoxColumn17.ReadOnly = true;
//
// dataGridViewTextBoxColumn18
//
this.dataGridViewTextBoxColumn18.DataPropertyName = "OperationBeginTime";
this.dataGridViewTextBoxColumn18.HeaderText = "手术开始时间";
this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
this.dataGridViewTextBoxColumn18.ReadOnly = true;
//
// dataGridViewTextBoxColumn19
//
this.dataGridViewTextBoxColumn19.DataPropertyName = "OperationEndTime";
this.dataGridViewTextBoxColumn19.HeaderText = "手术结束时间";
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
this.dataGridViewTextBoxColumn19.ReadOnly = true;
//
// dataGridViewTextBoxColumn20
//
this.dataGridViewTextBoxColumn20.DataPropertyName = "DiagnoseInfoName";
this.dataGridViewTextBoxColumn20.HeaderText = "实施诊断";
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
//
// dataGridViewTextBoxColumn21
//
this.dataGridViewTextBoxColumn21.DataPropertyName = "OperationInfoName";
this.dataGridViewTextBoxColumn21.HeaderText = "实施手术";
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
this.dataGridViewTextBoxColumn21.ReadOnly = true;
//
// dataGridViewTextBoxColumn22
//
this.dataGridViewTextBoxColumn22.DataPropertyName = "AnaesthesiaMethodName";
this.dataGridViewTextBoxColumn22.HeaderText = "实施麻醉";
this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
this.dataGridViewTextBoxColumn22.ReadOnly = true;
//
// dataGridViewTextBoxColumn23
//
this.dataGridViewTextBoxColumn23.DataPropertyName = "OperationCutTypeName";
this.dataGridViewTextBoxColumn23.HeaderText = "切口类型";
this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
this.dataGridViewTextBoxColumn23.ReadOnly = true;
//
// dataGridViewTextBoxColumn24
//
this.dataGridViewTextBoxColumn24.DataPropertyName = "OperationBodyPositionName";
this.dataGridViewTextBoxColumn24.HeaderText = "手术体位";
this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
//
// dataGridViewTextBoxColumn25
//
this.dataGridViewTextBoxColumn25.DataPropertyName = "OperationPositionName";
this.dataGridViewTextBoxColumn25.HeaderText = "手术部位";
this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
this.dataGridViewTextBoxColumn25.ReadOnly = true;
//
// dataGridViewTextBoxColumn26
//
this.dataGridViewTextBoxColumn26.DataPropertyName = "OperationDoctor";
this.dataGridViewTextBoxColumn26.HeaderText = "术者";
this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
this.dataGridViewTextBoxColumn26.ReadOnly = true;
//
// dataGridViewTextBoxColumn27
//
this.dataGridViewTextBoxColumn27.DataPropertyName = "AnesthesiaDoctor";
this.dataGridViewTextBoxColumn27.HeaderText = "麻醉医生";
this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
this.dataGridViewTextBoxColumn27.ReadOnly = true;
//
// dataGridViewTextBoxColumn28
//
this.dataGridViewTextBoxColumn28.DataPropertyName = "Assistant";
this.dataGridViewTextBoxColumn28.HeaderText = "助手";
this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28";
this.dataGridViewTextBoxColumn28.ReadOnly = true;
//
// dataGridViewTextBoxColumn29
//
this.dataGridViewTextBoxColumn29.DataPropertyName = "Nurse";
this.dataGridViewTextBoxColumn29.HeaderText = "护士";
this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29";
this.dataGridViewTextBoxColumn29.ReadOnly = true;
//
// dataGridViewTextBoxColumn30
//
this.dataGridViewTextBoxColumn30.DataPropertyName = "Remarks";
this.dataGridViewTextBoxColumn30.HeaderText = "备注";
this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30";
this.dataGridViewTextBoxColumn30.ReadOnly = true;
//
// dataGridViewTextBoxColumn31
//
this.dataGridViewTextBoxColumn31.DataPropertyName = "MedicalRecord";
this.dataGridViewTextBoxColumn31.HeaderText = "归档状态";
this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
//
// dataGridViewTextBoxColumn32
//
this.dataGridViewTextBoxColumn32.DataPropertyName = "MedicalRecordTime";
this.dataGridViewTextBoxColumn32.HeaderText = "归档时间";
this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32";
//
// CheckBoxColumn
//
this.CheckBoxColumn.HeaderText = "选择";
@ -518,60 +885,19 @@
this.RemarksColumn.Name = "RemarksColumn";
this.RemarksColumn.ReadOnly = true;
//
// tsbEditApply
// MedicalRecord
//
this.tsbEditApply.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbEditApply.Image = global::AIMS.Properties.Resources._申请修改;
this.tsbEditApply.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbEditApply.Name = "tsbEditApply";
this.tsbEditApply.Size = new System.Drawing.Size(68, 48);
this.tsbEditApply.Text = " 修改申请";
this.tsbEditApply.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbEditApply.Click += new System.EventHandler(this.tsbEditApply_Click);
this.MedicalRecord.DataPropertyName = "MedicalRecord";
this.MedicalRecord.HeaderText = "归档状态";
this.MedicalRecord.Name = "MedicalRecord";
this.MedicalRecord.ReadOnly = true;
//
// tsbOperationReview
// MedicalRecordtIME
//
this.tsbOperationReview.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbOperationReview.Image = global::AIMS.Properties.Resources._回顾手术;
this.tsbOperationReview.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbOperationReview.Name = "tsbOperationReview";
this.tsbOperationReview.Size = new System.Drawing.Size(68, 48);
this.tsbOperationReview.Text = " 回顾手术";
this.tsbOperationReview.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbOperationReview.Click += new System.EventHandler(this.tsbOperationReview_Click);
//
// tsbOperationRecover
//
this.tsbOperationRecover.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbOperationRecover.Image = global::AIMS.Properties.Resources._回顾恢复;
this.tsbOperationRecover.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbOperationRecover.Name = "tsbOperationRecover";
this.tsbOperationRecover.Size = new System.Drawing.Size(68, 48);
this.tsbOperationRecover.Text = " 回顾恢复";
this.tsbOperationRecover.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbOperationRecover.Click += new System.EventHandler(this.tsbOperationRecover_Click);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 48);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// tsbSet
//
this.tsbSet.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSet.Image = global::AIMS.Properties.Resources._设置;
this.tsbSet.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSet.Name = "tsbSet";
this.tsbSet.Size = new System.Drawing.Size(44, 48);
this.tsbSet.Text = " 设置 ";
this.tsbSet.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSet.Click += new System.EventHandler(this.tsbSet_Click);
this.MedicalRecordtIME.DataPropertyName = "MedicalRecordTime";
this.MedicalRecordtIME.HeaderText = "归档时间";
this.MedicalRecordtIME.Name = "MedicalRecordtIME";
this.MedicalRecordtIME.ReadOnly = true;
//
// frmOperationReview
//
@ -625,6 +951,10 @@
private System.Windows.Forms.TextBox txtMdrecNo;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.DataGridView dgv;
private System.Windows.Forms.ToolStripButton tspBAGD;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientId;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
@ -656,5 +986,39 @@
private System.Windows.Forms.DataGridViewTextBoxColumn AssistantColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn NurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn RemarksColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MedicalRecord;
private System.Windows.Forms.DataGridViewTextBoxColumn MedicalRecordtIME;
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 dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn26;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn27;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn28;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn30;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn32;
}
}

View File

@ -1,4 +1,5 @@
using DrawGraph;
using AIMSBLL;
using DrawGraph;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@ -33,7 +34,7 @@ namespace AIMS.OperationAfter.UI
dtpOperationBeginTime.Value.ToString("yyyy-MM-dd"),
dtpOperationEndTime.Value.AddDays(1).ToString("yyyy-MM-dd")
);
}
}
private void tsbEditApply_Click(object sender, EventArgs e)
{
@ -74,7 +75,7 @@ namespace AIMS.OperationAfter.UI
private void tsbOperationRecover_Click(object sender, EventArgs e)
{
if (dgv.Rows.Count > 0)
if (dgv.CurrentRow != null)
{
int PatientId = int.Parse(dgv.CurrentRow.Cells["PatientId"].Value.ToString());
int ApplyId = int.Parse(dgv.CurrentRow.Cells["ApplyId"].Value.ToString());
@ -113,5 +114,43 @@ namespace AIMS.OperationAfter.UI
);
}
private void tspBAGD_Click(object sender, EventArgs e)
{
int count = 0;
for (int i = 0; i < dgv.Rows.Count; i++)
{
bool isChoose = bool.Parse(dgv.Rows[i].Cells[0].EditedFormattedValue.ToString());
if (isChoose)
{
int ApplyId = int.Parse(dgv.Rows[i].Cells["ApplyId"].Value.ToString());
count += BOperationApply.Update(" MedicalRecord='已归档',MedicalRecordTime='" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "' where Id=" + ApplyId, null);
}
}
if (count > 0)
{
MessageBox.Show("提交病案成功!", "系统提示");
btnFind_Click(null, null);
}
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
int count = 0;
for (int i = 0; i < dgv.Rows.Count; i++)
{
bool isChoose = bool.Parse(dgv.Rows[i].Cells[0].EditedFormattedValue.ToString());
if (isChoose)
{
int ApplyId = int.Parse(dgv.Rows[i].Cells["ApplyId"].Value.ToString());
count += BOperationApply.Update(" MedicalRecord=null,MedicalRecordTime=null where Id=" + ApplyId, null);
}
}
if (count > 0)
{
MessageBox.Show("提交病案成功!", "系统提示");
btnFind_Click(null, null);
}
}
}
}

View File

@ -213,4 +213,10 @@
<metadata name="RemarksColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MedicalRecord.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MedicalRecordtIME.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -196,7 +196,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.DAL
"od.PunctureBodyPosition, od.PuncturePosition, od.CatheterDepth,od.NeedleSize, od.NeedleDirection, od.AnaesthesiaPlane," +
"od.AnaesthesiaEffect, od.DiagnoseInfoName, od.OperationInfoName,od.AnaesthesiaMethodName, od.OperationCutTypeName," +
"od.OperationBodyPositionName, od.OperationPositionName, od.OperationDoctor,od.Assistant, od.AnesthesiaDoctor, od.Nurse,od.Nurse2," +
"od.OperatorNo,od.OperatorName,od.OperateDate,od.Remarks,od.State,OperationDoctorId ,[AssistantId] ,[AnesthesiaDoctorId] ,[InstrumentNurseId],[TourNurseId],DiagnoseInfoId,OperationInfoId,AnaesthesiaMethodId,OrtherDoctor,OrtherDoctorId,OperationPositionId,OperationBodyPositionId,ASALevel,SpecialCase,Fasting,BloodType FROM V_OperationDoing od WHERE od.PatientId=" + PatientId + " and od.RecoverId='" + TypeId + "'";
"od.OperatorNo,od.OperatorName,od.OperateDate,od.Remarks,od.State,OperationDoctorId ,[AssistantId] ,[AnesthesiaDoctorId] ,[InstrumentNurseId],[TourNurseId],DiagnoseInfoId,OperationInfoId,AnaesthesiaMethodId,OrtherDoctor,OrtherDoctorId,OperationPositionId,OperationBodyPositionId,ASALevel,SpecialCase,Fasting,BloodType FROM V_OperationDoing od WHERE od.PatientId=" + PatientId + " and od.RecoverId='" + TypeId + "'";
return HelperDB.DbHelperSQL.GetDataTable(strSql);
}

View File

@ -2,6 +2,8 @@
using HelperDB;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Windows.Forms;
namespace AIMS.OperationDoing.AnasRecordBill
@ -108,5 +110,11 @@ namespace AIMS.OperationDoing.AnasRecordBill
}
}
public static DataTable SelectPhysioDataUpdate(int Id)
{
string sql = string.Format("SELECT PhysioDataUpdate.Id,pr.Name ,PatientId,PhysioDataConfigId,RecordTime,[OldParamValue],[ParamValue],[PhysioDataUpdate].[OperatorName],[OperatorTime] FROM[dbo].[PhysioDataUpdate] left join PhysioDataConfig pr on pr.id =PhysioDataConfigId where PatientId ={0}", Id);
DataTable dt = DBHelper.GetDataTable(sql);
return dt;
}
}
}

View File

@ -1,5 +1,6 @@
using AIMSBLL;
using DrawGraph;
using HelperDB;
using System;
using System.Data;
@ -43,6 +44,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
_record.Applyoperation = OperationFrontdt.Rows[0]["ApplyOperationInfoId"].ToString();
_record.OperationPriority = OperationFrontdt.Rows[0]["OperationType"].ToString();
_record.OperationRoomId = int.Parse(OperationFrontdt.Rows[0]["OperationRoomId"].ToString().Trim());
_record.MedicalRecord = OperationFrontdt.Rows[0]["MedicalRecord"].ToString();
}
@ -300,6 +302,12 @@ namespace AIMS.OperationDoing.AnasRecordBill
return true;
}
public static DataTable getOperationRecorePhysioData(int operationId)
{
string sqlStr = "exec [dbo].[usp_GetOperationRecorePhysioData] " + operationId;
return DBHelper.GetDataTable(sqlStr);
}
}
}

View File

@ -979,9 +979,9 @@
this.lblRoom.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblRoom.Location = new System.Drawing.Point(317, 8);
this.lblRoom.Name = "lblRoom";
this.lblRoom.Size = new System.Drawing.Size(93, 20);
this.lblRoom.Size = new System.Drawing.Size(13, 20);
this.lblRoom.TabIndex = 9;
this.lblRoom.Text = "年月日时分秒";
this.lblRoom.Text = " ";
//
// label22
//

View File

@ -29,6 +29,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
public int RecoverId = 1;
private System.Windows.Forms.Timer timerGetTextCollectorData;
public AIMSExtension.EditState State;
public bool isReadOnly = false;
public frmAnasRecordBillNew()
{
@ -74,7 +75,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
private void frmAnasRecordBillNew_Load(object sender, EventArgs e)
{
labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + " " + AIMSExtension.PublicMethod.OperatorName;
lblRoom.Text = NowRoom.Name;
if (NowRoom != null) lblRoom.Text = NowRoom.Name;
circularProgress1.Location = new Point((panel8.Width - circularProgress1.Width) / 2, (panel8.Height - circularProgress1.Height) / 2);
LoadAnesRescue();
@ -797,7 +798,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
btnSelectPatient.Enabled = true;
btnCancelOperation.Enabled = false;
btnCancelIn.Enabled = false;
//btnTemplate.Enabled = false;
btnTemplate.Enabled = false;
ClearTimeText();
if (templateManage != null)
{
@ -807,6 +808,24 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
DisposeTimer();
}
plRefresh_Click(null, null);
if (_record.MedicalRecord != null && _record.MedicalRecord != "")
{
btnOperationInfo.Enabled = false;
btnOutputLiquids.Enabled = false;
btnDrug.Enabled = false;
btnAddEvents.Enabled = false;
button6.Enabled = false;
btnBloodGasAnalysis.Enabled = false;
txtInRoom.Enabled = false;
txtAnaesthesiaBegin.Enabled = false;
txtOperationBegin.Enabled = false;
txtOperationEnd.Enabled = false;
txtAnaesthesiaEnd.Enabled = false;
txtOutRoom.Enabled = false;
txtCG.Enabled = false;
txtBG.Enabled = false;
isReadOnly = true;
}
}
catch (Exception ex)
{
@ -1041,7 +1060,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
public DateTime? LastMonitorDataTime = null;
private void timerGetCollectorData_Tick(bool isOpen)
{
if (State == AIMSExtension.EditState.BROWSE || _record.State != "手术中") return;
if (State == AIMSExtension.EditState.BROWSE || _record.State != "手术中" || NowRoom == null || isReadOnly == true) return;
//if (!PublicMethod.RoleId.Operator.RoleRef.Name.Contains("麻醉") && PublicMethod.Operator.Id != _record.OperatorId
// && _record.OperatorId != 1 && PublicMethod.Operator.Name != "系统管理员") return;
if (_record.OutRoomTime != null && DateTime.Now >= _record.OutRoomTime) return;
@ -1155,7 +1174,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
{
try
{
if (((TimeSpan)(DateTime.Now - _record.lastPageBegin)).TotalHours > 24) return;
if (((TimeSpan)(DateTime.Now - _record.lastPageBegin)).TotalHours > 24 || NowRoom == null) return;
timerGetCollectorData_Tick(false);
ShowMonitorDataToRight();
}
@ -1346,18 +1365,19 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
private bool zgcAnaesRecord_MouseDownEvent(ZedGraphControl sender, MouseEventArgs e)
{
if (templateManage != null)
if (templateManage != null && isReadOnly == false)
{
SelectWorkerValue.Hidden();
SelectDictValue.Hidden();
templateManage.zedControl_MouseDownEvent(sender, e);
}
return default(bool);
}
private bool zgcAnaesRecord_MouseUpEvent(ZedGraphControl sender, MouseEventArgs e)
{
if (templateManage != null)
if (templateManage != null && isReadOnly == false)
{
templateManage.zedControl_MouseUpEvent(sender, e);
}
@ -1375,7 +1395,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
private void zgcAnaesRecord_MouseDoubleClick(object sender, MouseEventArgs e)
{
if (templateManage != null)
if (templateManage != null && isReadOnly == false)
{
ZedGraphControl send = sender as ZedGraphControl;
templateManage.zedControl_MouseDoubleClick(send, e);
@ -1402,21 +1422,57 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
clearSelectCouve.Click += new EventHandler(clearSelectCouve_Click);
menuStrip.Items.Add(clearSelectCouve);
ToolStripMenuItem getPhysioData = new ToolStripMenuItem();
getPhysioData.Text = "添加监护仪数据";
getPhysioData.Click += getPhysioData_Click;
menuStrip.Items.Add(getPhysioData);
if (NowRoom != null)
{
ToolStripMenuItem getPhysioData = new ToolStripMenuItem();
getPhysioData.Text = "添加监护仪数据";
getPhysioData.Click += getPhysioData_Click;
menuStrip.Items.Add(getPhysioData);
}
ToolStripMenuItem ModifyApply = new ToolStripMenuItem();
ModifyApply.Text = "手术申请信息";
ModifyApply.Click += ModifyApply_Click;
menuStrip.Items.Add(ModifyApply);
ToolStripMenuItem ModifyRoom = new ToolStripMenuItem();
ModifyRoom.Text = "切换手术间";
ModifyRoom.Click += ModifyRoom_Click;
menuStrip.Items.Add(ModifyRoom);
if (NowRoom != null)
{
ToolStripMenuItem ModifyRoom = new ToolStripMenuItem();
ModifyRoom.Text = "切换手术间";
ModifyRoom.Click += ModifyRoom_Click;
menuStrip.Items.Add(ModifyRoom);
}
ToolStripMenuItem btnSyatemPhysion = new ToolStripMenuItem();
btnSyatemPhysion.Name = "btnSyatemPhysion";
btnSyatemPhysion.Tag = "btnSyatemPhysion";
btnSyatemPhysion.Text = "修改痕迹";
btnSyatemPhysion.Click += new EventHandler(btnSyatemPhysion_Click);
menuStrip.Items.Add(btnSyatemPhysion);
ToolStripMenuItem mnuAddDrug = new ToolStripMenuItem();
mnuAddDrug.Name = "add_medicine";
mnuAddDrug.Tag = "add_medicine";
mnuAddDrug.Text = "批量编辑生命体征";
mnuAddDrug.Click += ((s, er) =>
{
frmAnasRecordHistory frm = new frmAnasRecordHistory(_record);
frm.ShowDialog();
});
menuStrip.Items.Add(mnuAddDrug);
}
/// <summary>
/// 生命体征修改痕迹
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btnSyatemPhysion_Click(object sender, EventArgs e)
{
if (PatientId == 0) return;
frmPhysioDataUpdateLog Log = new frmPhysioDataUpdateLog();
Log.OperationRecordId = _record.Id.Value;
Log.ShowDialog();
}
private void ModifyRoom_Click(object sender, EventArgs e)
@ -1435,7 +1491,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
}
private void getPhysioData_Click(object sender, EventArgs e)
{
if (State != AIMSExtension.EditState.BROWSE && _record.State == "手术中")
if (State != AIMSExtension.EditState.BROWSE && _record.State == "手术中" && NowRoom != null && isReadOnly == false)
{
//没有IP判断
DataTable dtPhysioData = BOperationRecord.getPhysioDataByIp(NowRoom.Ip, _record.Id.Value, _record.InRoomTime.Value, getOpeMaxTime(_record), 5);

View File

@ -0,0 +1,124 @@
using DrawGraph;
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Drawing.Printing;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
namespace AIMS.OperationDoing.AnasRecordBill
{
public partial class frmAnasRecordHistory : Form
{
#region
/// <summary>
/// 手术记录
/// </summary>
public OperationRecord _operationRecord;
#endregion
#region
public frmAnasRecordHistory()
{
InitializeComponent();
}
public frmAnasRecordHistory(OperationRecord operationRecord)
{
InitializeComponent();
_operationRecord = operationRecord;
}
#endregion
#region chart
private void FormPrintBGYYNew_Load(object sender, EventArgs e)
{
try
{
DataTable dtPhysioData = FillAnasReordBill.getOperationRecorePhysioData(_operationRecord.Id.Value);
//for (int i = 0; i < dtPhysioData.Rows.Count; i++)
//{
// for (int j = 0; j < dtPhysioData.Columns.Count; j++)
// {
// if (dtPhysioData.Rows[i][j].ToString() == "0")
// dtPhysioData.Rows[i][j] = "";
// }
//}
//if (dtPhysioData.Rows.Count <= 0) return;
dgvPhysioDatas.Rows.Clear();
dgvPhysioDatas.DataSource = dtPhysioData;
int count = dgvPhysioDatas.Columns.Count;
for (int i = 0; i < count; i++)
{
dgvPhysioDatas.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable;
}
//for (int i = 0; i < dgvPhysioDatas.Rows.Count; i++)
//{
// for (int j = 1; j < dgvPhysioDatas.Columns.Count - 1; j++)
// {
// if (dgvPhysioDatas.Rows[i].Cells[j].Value.ToString() == "0")
// dgvPhysioDatas.Rows[i].Cells[j].FormattedValue = "";
// }
//}
//dgvPhysioDatas.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect;
int rows = 2;
//循环加载CheckBox控件
foreach (PhysioDataConfig ade in _operationRecord.addPhysioList)
{
bool isadd = false;
for (int i = 0; i < dtPhysioData.Rows.Count; i++)
{
if (dtPhysioData.Rows[i][0].ToString() == ade.Name)
{
isadd = true;
break;
}
}
if (isadd == false) continue;
System.Windows.Forms.Label cb = new System.Windows.Forms.Label();
cb.Tag = ade;
cb.Text = ade.Name;
cb.Font = new System.Drawing.Font("微软雅黑", 9f);
cb.Width = 80;
cb.Tag = ade;
cb.Location = new Point(10, rows * (cb.Height + 5));
groupBox3.Controls.Add(cb);
System.Windows.Forms.TextBox text = new System.Windows.Forms.TextBox();
text.Tag = ade;
text.Font = new System.Drawing.Font("微软雅黑", 9f);
text.Width = 100;
text.Tag = ade;
text.Location = new Point(105, rows * (text.Height + 5));
groupBox3.Controls.Add(text);
rows++;
}
}
catch (Exception exp)
{
}
}
#endregion
#region
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
}
#endregion
private void dgvPhysioDatas_CellEndEdit(object sender, DataGridViewCellEventArgs e)
{
}
}
}

View File

@ -0,0 +1,336 @@
namespace AIMS.OperationDoing.AnasRecordBill
{
partial class frmAnasRecordHistory
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAnasRecordHistory));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel2 = new System.Windows.Forms.Panel();
this.dgvPhysioDatas = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.btnOK = new DevComponents.DotNetBar.ButtonX();
this.label24 = new System.Windows.Forms.Label();
this.dateTimeInput2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
this.dateTimeInput1 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.groupBox2.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvPhysioDatas)).BeginInit();
this.groupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dateTimeInput2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dateTimeInput1)).BeginInit();
this.SuspendLayout();
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "插入列.png");
this.imageList1.Images.SetKeyName(1, "未插入列 .png");
//
// groupBox2
//
this.groupBox2.Controls.Add(this.panel2);
this.groupBox2.Controls.Add(this.groupBox3);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox2.Location = new System.Drawing.Point(0, 0);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(1008, 435);
this.groupBox2.TabIndex = 450;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "数值";
//
// panel2
//
this.panel2.Controls.Add(this.dgvPhysioDatas);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(213, 22);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(792, 410);
this.panel2.TabIndex = 2;
//
// dgvPhysioDatas
//
this.dgvPhysioDatas.AllowUserToAddRows = false;
this.dgvPhysioDatas.AllowUserToDeleteRows = false;
this.dgvPhysioDatas.AllowUserToResizeColumns = false;
this.dgvPhysioDatas.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream;
this.dgvPhysioDatas.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvPhysioDatas.BackgroundColor = System.Drawing.Color.White;
this.dgvPhysioDatas.BorderStyle = System.Windows.Forms.BorderStyle.None;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F);
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPhysioDatas.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvPhysioDatas.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvPhysioDatas.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn32});
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 10.5F);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.Black;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvPhysioDatas.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvPhysioDatas.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvPhysioDatas.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.dgvPhysioDatas.EnableHeadersVisualStyles = false;
this.dgvPhysioDatas.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvPhysioDatas.Location = new System.Drawing.Point(0, 0);
this.dgvPhysioDatas.Margin = new System.Windows.Forms.Padding(0);
this.dgvPhysioDatas.MultiSelect = false;
this.dgvPhysioDatas.Name = "dgvPhysioDatas";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 10.5F);
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPhysioDatas.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvPhysioDatas.RowHeadersVisible = false;
this.dgvPhysioDatas.RowTemplate.Height = 23;
this.dgvPhysioDatas.ShowCellErrors = false;
this.dgvPhysioDatas.ShowCellToolTips = false;
this.dgvPhysioDatas.Size = new System.Drawing.Size(792, 410);
this.dgvPhysioDatas.TabIndex = 19;
this.dgvPhysioDatas.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPhysioDatas_CellEndEdit);
//
// dataGridViewTextBoxColumn32
//
this.dataGridViewTextBoxColumn32.DataPropertyName = "ParameterName";
this.dataGridViewTextBoxColumn32.HeaderText = "开始时间";
this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32";
this.dataGridViewTextBoxColumn32.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn32.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.buttonX1);
this.groupBox3.Controls.Add(this.btnOK);
this.groupBox3.Controls.Add(this.label24);
this.groupBox3.Controls.Add(this.dateTimeInput2);
this.groupBox3.Controls.Add(this.dateTimeInput1);
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Left;
this.groupBox3.Location = new System.Drawing.Point(3, 22);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(210, 410);
this.groupBox3.TabIndex = 1;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "添加生命体征";
//
// buttonX1
//
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 11.5F);
this.buttonX1.Location = new System.Drawing.Point(57, 378);
this.buttonX1.Name = "buttonX1";
this.buttonX1.Size = new System.Drawing.Size(65, 26);
this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.buttonX1.TabIndex = 456;
this.buttonX1.Text = "删除";
//
// btnOK
//
this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnOK.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnOK.Font = new System.Drawing.Font("微软雅黑", 11.5F);
this.btnOK.Location = new System.Drawing.Point(128, 378);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(65, 26);
this.btnOK.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnOK.TabIndex = 456;
this.btnOK.Text = "确定";
//
// label24
//
this.label24.AutoSize = true;
this.label24.Location = new System.Drawing.Point(92, 27);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(15, 20);
this.label24.TabIndex = 455;
this.label24.Text = "-";
//
// dateTimeInput2
//
//
//
//
this.dateTimeInput2.BackgroundStyle.Class = "DateTimeInputBackground";
this.dateTimeInput2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dateTimeInput2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
this.dateTimeInput2.ButtonDropDown.Visible = true;
this.dateTimeInput2.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
this.dateTimeInput2.IsPopupCalendarOpen = false;
this.dateTimeInput2.Location = new System.Drawing.Point(116, 24);
//
//
//
//
//
//
this.dateTimeInput2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dateTimeInput2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
this.dateTimeInput2.MonthCalendar.ClearButtonVisible = true;
//
//
//
this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dateTimeInput2.MonthCalendar.DisplayMonth = new System.DateTime(2019, 1, 1, 0, 0, 0, 0);
this.dateTimeInput2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
//
//
//
this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dateTimeInput2.MonthCalendar.TodayButtonVisible = true;
this.dateTimeInput2.MonthCalendar.Visible = false;
this.dateTimeInput2.Name = "dateTimeInput2";
this.dateTimeInput2.Size = new System.Drawing.Size(77, 26);
this.dateTimeInput2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.dateTimeInput2.TabIndex = 0;
//
// dateTimeInput1
//
//
//
//
this.dateTimeInput1.BackgroundStyle.Class = "DateTimeInputBackground";
this.dateTimeInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dateTimeInput1.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
this.dateTimeInput1.ButtonDropDown.Visible = true;
this.dateTimeInput1.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
this.dateTimeInput1.IsPopupCalendarOpen = false;
this.dateTimeInput1.Location = new System.Drawing.Point(9, 24);
//
//
//
//
//
//
this.dateTimeInput1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dateTimeInput1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
this.dateTimeInput1.MonthCalendar.ClearButtonVisible = true;
//
//
//
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dateTimeInput1.MonthCalendar.DisplayMonth = new System.DateTime(2019, 1, 1, 0, 0, 0, 0);
this.dateTimeInput1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
//
//
//
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dateTimeInput1.MonthCalendar.TodayButtonVisible = true;
this.dateTimeInput1.MonthCalendar.Visible = false;
this.dateTimeInput1.Name = "dateTimeInput1";
this.dateTimeInput1.Size = new System.Drawing.Size(77, 26);
this.dateTimeInput1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.dateTimeInput1.TabIndex = 0;
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "ParameterName";
this.dataGridViewTextBoxColumn1.HeaderText = "开始时间";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// frmAnasRecordHistory
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1008, 435);
this.Controls.Add(this.groupBox2);
this.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmAnasRecordHistory";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "生命体征";
this.Load += new System.EventHandler(this.FormPrintBGYYNew_Load);
this.groupBox2.ResumeLayout(false);
this.panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvPhysioDatas)).EndInit();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dateTimeInput2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dateTimeInput1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Panel panel2;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvPhysioDatas;
private System.Windows.Forms.GroupBox groupBox3;
private DevComponents.Editors.DateTimeAdv.DateTimeInput dateTimeInput2;
private DevComponents.Editors.DateTimeAdv.DateTimeInput dateTimeInput1;
public System.Windows.Forms.Label label24;
private DevComponents.DotNetBar.ButtonX btnOK;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn32;
private DevComponents.DotNetBar.ButtonX buttonX1;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
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.OperationDoing.AnasRecordBill
{
public partial class frmPhysioDataUpdateLog : Form
{
public int OperationRecordId;
public frmPhysioDataUpdateLog()
{
InitializeComponent();
}
private void frmPhysioDataUpdateLog_Load(object sender, EventArgs e)
{
DataTable dataTable = DrawAnasReordBill.SelectPhysioDataUpdate(OperationRecordId);
foreach (DataRow item in dataTable.Rows)
{
int index = dgvLog.Rows.Add();
dgvLog.Rows[index].Cells[0].Value = int.Parse(item["Id"].ToString());
dgvLog.Rows[index].Cells[1].Value = item["RecordTime"].ToString() + "->" + item["Name"].ToString() + " " + item["OldParamValue"].ToString() + " 改为 " + item["ParamValue"].ToString();
dgvLog.Rows[index].Cells[2].Value = item["OperatorName"].ToString();
dgvLog.Rows[index].Cells[3].Value = DateTime.Parse(item["OperatorTime"].ToString());
}
dgvLog.ClearSelection();
}
}
}

View File

@ -0,0 +1,144 @@
namespace AIMS.OperationDoing.AnasRecordBill
{
partial class frmPhysioDataUpdateLog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPhysioDataUpdateLog));
this.dgvLog = 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.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.log = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.work = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.time = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dgvLog)).BeginInit();
this.SuspendLayout();
//
// dgvLog
//
this.dgvLog.AllowUserToAddRows = false;
this.dgvLog.AllowUserToDeleteRows = false;
this.dgvLog.BackgroundColor = System.Drawing.Color.White;
this.dgvLog.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvLog.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.log,
this.work,
this.time});
this.dgvLog.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvLog.Location = new System.Drawing.Point(0, 0);
this.dgvLog.Name = "dgvLog";
this.dgvLog.ReadOnly = true;
this.dgvLog.RowTemplate.Height = 23;
this.dgvLog.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvLog.Size = new System.Drawing.Size(804, 729);
this.dgvLog.TabIndex = 0;
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.HeaderText = "Id";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Visible = false;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.HeaderText = "记录信息";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.Width = 300;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.HeaderText = "操作人";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.Width = 90;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.HeaderText = "操作时间";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Width = 160;
//
// Id
//
this.Id.HeaderText = "Id";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
//
// log
//
this.log.HeaderText = "修改信息";
this.log.Name = "log";
this.log.ReadOnly = true;
this.log.Width = 500;
//
// work
//
this.work.HeaderText = "操作人";
this.work.Name = "work";
this.work.ReadOnly = true;
this.work.Width = 90;
//
// time
//
this.time.HeaderText = "操作时间";
this.time.Name = "time";
this.time.ReadOnly = true;
this.time.Width = 145;
//
// frmPhysioDataUpdateLog
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(804, 729);
this.Controls.Add(this.dgvLog);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmPhysioDataUpdateLog";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "生命体征修改痕迹记录";
this.Load += new System.EventHandler(this.frmPhysioDataUpdateLog_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvLog)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView dgvLog;
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 Id;
private System.Windows.Forms.DataGridViewTextBoxColumn log;
private System.Windows.Forms.DataGridViewTextBoxColumn work;
private System.Windows.Forms.DataGridViewTextBoxColumn time;
}
}

View File

@ -0,0 +1,299 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="log.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="work.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAMDAAAAEAIACoJQAAFgAAACgAAAAwAAAAYAAAAAEAIAAAAAAAACQAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAPSkQgL1pUIO9aVCMPWlQj71pUJA9aVCPvSkQj70pEI+9aRCPvSkQj71pUI+9KVCPvSk
Qj71pUI+9KVCPvWkQj71pEI+9KRCPvWkQj71pUI+9KRBPvKgPT7umDI+7ZUvPu2WMD7tlTA+7ZUwPu2W
MD7tlS8+7ZUwPu2WLz7tli8+7ZUwPu2VLz7tli8+7ZYwPu2VLz7tlS8+7ZUwPuyWMEDslS8+7JYwMO2W
Lw7tljACAAAAAAAAAAAAAAAA9aVCBPWlQij1pUJy9aVCr/WlQr31pUK/9aVCv/WlQr/1pUK/9KVBv/Sl
Qr/1pUK/9KRBv/SkQr/1pUK/9KRBv/WlQr/1pUK/9KVCv/SlQr/1pUK/9KRBv/KgPb/umDK/7ZYvv+yV
L7/sljC/7JUvv+yWML/slTC/7JYvv+yWL7/sljC/7ZYwv+yVL7/tljC/7JUvv+yVL7/sljC/7ZYwv+2W
ML/tljC97ZYvr+2WL3LtlTAo7JYwBAAAAAD1pUIC9aVCKPWlQo30pUHN9KVB2/WlQtv0pEHb9aVB2/Sk
Qdv0pEHb9aVC2/WlQtv1pUHb9KRC2/WlQtv1pELb9aRC2/WlQtv1pULb9aRC2/WlQtv1pULb9aVC2/Oi
PtvumDLb7ZUv2+2VMNvtlTDb7ZYw2+2WMNvtlTDb7ZYw2+2VMNvtljDb7JYv2+2VMNvtljDb7ZYw2+2V
MNvtljDb7ZYw2+2WMNvtljDb7JYv2+2WL83slTCN7ZUvKO2WMAL0pEEQ9KRCdPSkQc30pEHb9aVC2/Sl
Qtv1pULb9aVC2/WlQtv1pULb9KRB2/WlQtv1pUHb9aVC2/WlQtv1pUHb9aVC2/SlQtv1pUHb9aVC2/Sl
Qdv1pUHb9aVC2/SiP9vumDPb7ZUv2+2WMNvtljDb7ZYw2+2WMNvtljDb7JYw2+2WMNvtljDb7ZYw2+2W
MNvtljDb7ZYw2+2WMNvtljDb7ZYw2+2WMNvtljDb7ZYw2+2WMNvtljDN7ZYwcuyVLw71pUIw9aVCr/Wk
Qtv1pULb9aVC2/WlQtv1pULb9KRB2/WlQtv1pULb9aVC2/SlQtv1pULb9KRB2/SkQtv1pULb9aVB2/Sl
Qdv1pULb9aVB2/SlQdv0pULb9aVC2/SiQNvumDPb7ZUv2+yVL9vtljDb7ZYw2+yVL9vslS/b7ZYw2+yV
L9vsljDb7ZYw2+2WMNvtli/b7ZYw2+2VMNvtljDb7ZUw2+2WMNvslS/b7ZYw2+yVMNvsli/b7JUwreyW
LzD1pUI+9aVCvfWlQtv0pEHb9aVC2/WlQtv1pULb9aVC2/WlQtv1pULb9aVC2/WlQtv1pEHb9aVC2/Wl
Qtv1pULb9aVC2/WkQdv1pULb9aVB2/WlQtv1pULb9aVC2/SjP9vumDLb7JUv2+2WMNvtljDb7ZYw2+2V
MNvtljDb7JYv2+2WMNvslS/b7ZYw2+2WMNvslS/b7JUv2+2WMNvtljDb7JYv2+2WMNvtljDb7JUv2+2W
MNvtljDb7ZUvve2WMD71pUI+9KRBv/WlQtv1pELb9aVC2/SlQtv1pULb9aVB2/WlQtv1pULb9aVC2/Wk
Qdv1pULb9KRC2/WlQtv1pULb9KRC2/WlQtv1pULb9aVC2/WlQtv1pULb9aVC2/SjP9vtlzLb7JUv2+2W
MNvtljDb7JUv2+2WMNvtljDb7JUv2+2WMNvtljDb7ZYw2+2WMNvtljDb7ZYw2+2WMNvtljDb7ZYv2+2W
MNvtljDb7JUv2+2WMNvtljDb7ZYwv+2WMED0pUE+9KRCv/WlQtv0pULb9aVB2/WlQtv1pUHb9aVC2/Wl
Qtv1pULb9KVC2/WlQtv0pULb9aVC2/WlQtv1pULb9aVC2/WlQtv1pULb9aZF2/atU9/616rt/vXr+/zu
3Pnzunnn7Zs73eyWMNvsljDb7ZYw2+2WMNvtljDb7JUw2+yVL9vsljDb7JYw2+2WMNvtljDb7ZYw2+yW
MNvsljDb7ZYw2+yWL9vslTDb7ZUw2+2WMNvsljDb7JUvv+yVLz71pUI+9KVBv/WlQtv1pUHb9aVC2/Sk
Qtv1pULb9aRC2/SlQdv0pUHb9aVC2/WlQdv1pEHb9KVC2/WlQtv1pULb9aVB2/WlQtv2r1ff+cWH5/vi
w/P++vb9///////////88eP799Op7++nUeHtljDb7ZYw2+2VMNvtljDb7ZUw2+2WMNvtljDb7ZYw2+2W
MNvslS/b7JYv2+2WMNvtljDb7JYv2+2WMNvtljDb7ZYw2+2WMNvtljDb7JUvv+2VLz71pUI+9KRCv/Sl
Qdv1pELb9aRB2/SlQtv1pULb9aVC2/WlQtv1pULb9aRC2/SlQdv1pULb9aVB2/WlQtv1pULb9KRB2/ax
XN/73rvx/vbs+/7+/v///////v7+//7+/v///////v79//nev/Pwq1nh7Zgz2+2WMNvtljDb7JYw2+2W
MNvtljDb7JYw2+2WMNvtljDb7ZYw2+2VMNvtljDb7JYv2+2WMNvtljDb7JUw2+2WMNvtljDb7ZYvv+2W
MD71pUI+9KRBv/WlQtv1pULb9aVC2/WlQtv1pULb9KVC2/WlQtv1pULb9aVC2/SlQtv1pULb9aVC2/Sk
Qdv1pULb9rFb3/vfu/H+/Pj9/////////////////////////////////v7+//78+v376NP39MKH6e2Z
N93tljDb7ZYw2+2WMNvtlTDb7ZUw2+2WMNvtlTDb7ZUw2+2WMNvtljDb7ZYw2+2WMNvsljDb7ZYw2+2W
MNvtljDb7JUvv+2VMD71pUI+9aVCv/WlQtv0pEHb9aVC2/SlQtv1pULb9KVC2/WlQtv1pULb9aRB2/Wl
Qtv1pEHb9KVC2/WlQtv2tmbh/OTI8/79+//+/v7////////+/v/++vb9+9y28fznzfX9+PH9/v79//7+
/v/+/v7//vr2/fXJlevumzvd8rRr5fXHkuvun0Hd7ZYw2+yVL9vsljDb7ZYw2+2WMNvsli/b7ZYw2+yW
MNvsljDb7JYw2+yWL9vtljDb7ZYwv+2WLz71pUI+9aRBv/WlQtv1pELb9aVC2/SlQtv1pULb9aVC2/Wl
Qtv1pULb9aVC2/WlQtv1pULb9KRB2/ayX9/85cnz/v37//7+/v///////vz5/f3v3vn606Pt9apM3fWx
Xd/1xo3p/PDi+f////////////////337/33zp/t++nU9/779/331Knv8a9j4+6cPd3tljDb7ZYw2+2W
MNvtljDb7ZYw2+2WMNvtljDb7ZYw2+2WMNvtljDb7JYwv+2WLz71pUI+9KRBv/SkQtv1pULb9aVC2/Sk
Qdv1pULb9KVC2/WlQtv0pEHb9KVB2/WlQtv1pUPb9rJe4frhwPP+/fv////////////+/fz//OnR9fe+
eOX1qUvd9aVC2/SjP9vunDrd875/6f327v3+/v7///////7+/f/++vb9/v38///////++/f9++3b+ffS
p+/vp1Hh7ZUw2+yWMNvtlTDb7ZYw2+2WMNvslS/b7ZYw2+2WMNvsli/b7ZYwv+2VMD71pEI+9aVCv/Wl
Qdv1pELb9aVC2/WlQtv1pULb9KRB2/SkQdv0pEHb9aVC2/SkQdv1qkzd+tmv7/77+P3//////v7+//76
9P374cDx97pu4/SmRdvxokTb76FG2+6fRNvqlTXb7Jg23fO+f+n76NP3/vr2/f/////+/v7//v7+////
/////////v7+//77+P354cPz7qFF3+2XMtvtljDb7JYw2+2WMNvtljDb7ZYw2+yVL9vtljDb7JYvv+2W
Lz71pUI+9KVCv/WlQtv0pULb9aVC2/SlQtv1pULb9aVC2/WlQtv1pULb9aRC2/SkQdv1q07d+9+88/79
/P/+/v7//vr2/fnOmev1p0bb9aVB2++gRt2baYXnYEC18V9As/GRY33p4pE33e2WMNvxrmHj++vZ9/7+
/v///////v7+///+/v///v7////////////+/v7/++fR9/TBhuntnD3d7JYw2+2WMNvtljDb7JUv2+2W
MNvtljDb7JYvv+2WLz71pUI+9KRBv/SkQtv0pELb9aVC2/SkQtv1pULb9KRC2/WlQtv1pULb9aVB2/Wl
Qtv1rFHd++C+8/79/P/+/v7//OrV9/a0Y+H1pULb9aVB2+ueSd1dQLXxAQH9/wAB/v9VQrDz244+3eyV
L9vunDzd9s+g7f77+P3//////v38//rix/X76NL3/v7+/////////////v7+//316/v1xpDr7Zo53e2V
MNvsli/b7ZYw2+2VMNvtljDb7JYvv+2VMD71pEI+9aVCv/WkQtv0pULb9KVC2/WlQtv0pEHb9KVC2/Sk
Qdv0pEHb9aVC2/WnR9v4xYbn/fHk+f7+/v/+/fz/+tiu7/WnR93yo0Pb76FG3eicS91fQbPxAQH9/wAA
/v9XQq7x3I8+3e6oV+Hwq1nh9L5/5/zz6fv//////vv4/fK3cuXxrV7j+uLG9f758/3+/v7//v7+///+
/v/99ez79MOJ6e2XMtvtljDb7ZYw2+2WMNvtljDb7JYwv+2WLz71pUI+9KRCv/WlQtv0pULb9aVB2/Sl
Qtv0pEHb9KVC2/SkQdv1pUPb9apN3fjGiOf98+b7/v79//7+/v/+/fz/+dmy7/SoSt2iboDnVzu68Vg8
uvElGuL5AAH+/wEA/f9hR6bx35VE3/zw4vn99/D9/vfx/f78+v/+/v7//vv4/fK3cOXtlzLb7p0/3fTA
g+n98uf7///+//7+/v/+/v7//fXr+++mUOHtljDb7JUv2+2VMNvtljDb7JYvv+2WMD71pUI+9KRBv/Wk
Qtv1pULb9aVC2/SkQtv1pULb9aVC2/WlQ9v2tGLh+tu07/737/v+/v7//v7+//7+/v/+/v7/+Ovh+fO1
bONuSqntAAD+/wAA//8AAP//AAD+/wIB/f9xUKbv5JhE3/338Pv//////v7+///////+/v7//vv4/fK3
ceXtljDb7JUv2+2XMtvzvX7n/fXr+/7+/f/+/v7//v37//fSp+/tljDb7ZYw2+2WMNvsli/b7JUvv+2V
MD71pUE+9KVBv/WkQdv1pELb9aVC2/WlQtv1pULb9KVC2/azX+H74L/z/vz4/f/////+/v7/////////
///+/v7/9/Hx/fK6eOVwTabtAgX7/wEE/P8AAf3/AAD+/wIB/f98WKnv6JtH3/359f3+/v7///////7+
/v/+/v7//v38//K4dOXtljDb7ZYw2+2WMNvtmDXb9ceS6/337/3//////v7+//nhxPPtljDb7JUv2+2W
MNvtljDb7ZYwv+2VMD71pUI+9KRBv/SkQdv0pUHb9aVC2/WlQtv1pULb9rFb3/vhwfP++/j9////////
///+/v7////////////+/v7/9/Du+/K5duWodXjlX0qx8V5GsvEnHt75AAD+/wIB/f98Warv6JlC3fjY
svH53Lrz+dy68fncuvH53Lrx+Nq38/CsW+PtljDb7JYv2+2VMNvtljDb8a5g4/zw4vn//////v7+//ng
wvPtljDb7JYv2+2WMNvtlTDb7JUvv+2WLz70pUI+9KRCv/WkQdv1pULb9aVC2/SlQdv1pUHb+MaH5/7+
/f///////v7+//78+v/85831/OnS9f79+////////Pbv/fa9duXzo0Pb8KJF2+ufSN1gQbTvAQH9/wIB
/f9kQavx34483e2XM9vtmDTb7Zg02+2YNdvtmDXb7Zg12+2XMtvtljDb7ZUw2+2VMNvtljDb8a9i4/zx
4/n//////v7+//ngwvPtljDb7ZUw2+2WMNvtlS/b7JYwv+2VMD71pUI+9aVCv/WlQdv0pEHb9aVC2/Wk
Qdv1pULb/fHh+f/////+/v7///79//zmzPX3unDj+9668f79+//+/v7//vfv/fe+d+X1pUHb9aVC2+yf
SN1tTKjvFhTs/RER7/1lQqTv3o083e2WMNvtljDb7p5A3fO7eef1xIrr9cOK6/O9funtlzPb7ZYw2+2W
MNvtljDb8a9j4/zx4/n+/v7//v7+//ngwvPtli/b7ZUw2+yVMNvtlS/b7ZYvv+2WMD71pUI+9aVCv/Wl
Qdv1pULb9aVC2/SkQtv1pULb/vbs+////////////fPm+/e4auP1q07d+9+78f79/P/+/v7//vfv/fe+
duX1pULb9aVB2/KjQ9vIiWPhoHOC6ZBqiumxd2Pl5pI02+2WL9vtmDTb9MCE6f316/v+/fz//v38//zx
4/ntmjnd7ZYw2+2VMNvtljDb8a9j4/zx4/n+/v7//v7+//ngwvPtli/b7ZUw2+2WMNvtlS/b7ZYvv+2W
MD70pEE+9aVCv/WlQtv0pULb9aVC2/WlQtv1pEHb/vXr+/7+/v///////e3b9/WrT931q07d+9+78f79
/P///////vjw/ffBfef1pkXb9aVC2/WlQtv1pULb86RD2++hQ9vqljTb7JUv2+2WMNvtmTfd9s6f7f77
+f3//////v7+//zx5fvtmjnd7ZYw2+2WMNvtljDb8a9j4/zx4/n+/v7//v7+//ngwvPtljDb7ZYw2+2V
MNvtlTDb7JUvv+yVMD71pUI+9aVCv/WlQdv1pULb9aVC2/WkQdv1pULb/vXr+////////////e7c9/Wr
UN31q07d+9+78f79/P///////v37//3v3/n62K3v97535fayXt/1q0/d9aVC2/SjP9vumjbb7p5B3fK1
beX1xpDr/O3d+f7+/f////////////zx5fvtmjnd7ZUw2+2WL9vtljDb8a9j4/zx4/n//////v7+//ng
wvPtljDb7ZYw2+yVMNvtli/b7JYvv+2WMD71pUI+9aVCv/SlQdv1pUHb9aVC2/SkQdv1pULb/vXr+/7+
/v///////e7c9/WrUN31q07d+9+78f79/P/+/v7////////////+/Pn9/fTo+/zlyvX62a/v97x04/a1
ZuH0unfn99Wt7/zz5/v9+fP9/v79///////+/v7///////zy5vvtmjnd7ZYw2+2WMNvtljDb8a9j4/zx
4/n+/v7//v7+//ngwvPtli/b7ZUw2+2WL9vtljDb7JUvv+2WMD70pEE+9aVCv/WlQtv1pUHb9aVB2/Sl
Qtv1pULb/vXr+/7+/v///////e7c9/WrUN31q0/d++C/8/79+////////v7+///////+/v7///////79
/P/+/Pn9/fHi+f3t2ff98eT7/vv4/f///////////////////////v7//v37//ndvfPtmTbb7JUv2+2W
MNvtljDb8a9j4/zx4/n+/v7//v7+//ngwvPtljDb7ZYw2+yWL9vtljDb7ZYvv+2WLz70pEI+9KRBv/Wl
Qtv1pULb9aVC2/SkQdv1pULb/vXr+////////////e7c9/WrUN31p0bb97lt4/jDguf86M/1/vjx/f79
+//+/fz//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v3//vz5/fzy5fv30KPt87p45++j
St/tljDb7ZYv2+2WMNvtljDb8a5g4/zw4vn//////v7+//ngwvPtljDb7ZYw2+2WMNvtljDb7JUwv+yV
Lz71pUI+9aVCv/WkQtv1pULb9aVC2/WlQdv1pULb/vXr+/7+/v/+/v7//e7c9/WrUN31pULb9aVC2/Wl
Qtv1rFHf+MSE5/rZse/737zx/fPm+/758v3+/v3////////////+/v7///////7+/v/99ez7+Nm08fGw
Y+PsljDb7ZUw2+2WMNvslS/b7Zk22+6hRt/vo0nf9caP6/327vv+/v7//v7+//ngwvPtli/b7ZUw2+2W
MNvtlS/b7ZYwv+yWMD71pUI+9KVCv/WlQtv1pELb9KRB2/SlQtv0pUHb/vXr+////////////e7c9/Wr
UN31pELb9KRB2/WlQtv1pUHb9aVC2/WlQtv1qkzd97545fnOmOv75cnz/vv3/f///////////v7+///+
/v/99+/7+uTJ9ffSpu/ytW/l8rRs5fK1bOXytGvl9MKH6fndvPP64cTz/fXr+/7+/v/+/v7//v7+//ng
wvPtljDb7ZYw2+2VL9vtljDb7JUwv+2VMD71pUI+9KRBv/WlQtv1pULb9aVC2/WkQdv1pULb/vXr+///
/////////e7c9/WrUN31pELb9aVC2/WlQtv1pELb9aVC2/WlQtv0pEHb9aVC2/WnSN32sFrf/fDg+f7+
/v/+/v7///////7+/v/+/v7///////77+P388+j7/PLn+/3z5/v88ub7/fbu+/7+/f////////////7+
/v///////v7+//rhxfXtljDb7ZYw2+2WMNvtljDb7ZYwv+2WMD71pUI+9aVCv/SlQtv0pEHb9aVB2/Sk
Qtv1pULb/vXr+////////////O3b9/asUt31pULb9KRB2/WlQtv1pULb9KRB2/WlQtv1pULb9KRB2/Wl
Qtv1qEnd/e/e9////////////v7+/////////////v7+/////////////v7+/////////////v7+////
/////////v7+//79+//++/j9/O/g+fbOn+3tli/b7JUw2+2VL9vtli/b7JUvv+2WLz71pUI+9KVBv/Wk
Qtv1pELb9aRC2/SlQtv1pULb/vXr+/7+/v/+/v7//vfv/fnJjuf2tGPh9atP3fWmRNv1pULb9KVC2/Wl
Qtv1pkTb9atP3fa0YeH5yIzn/vfv+////////////v7+//748/398+n7/vv4///+/v//////////////
/////////v7+//7+/P/++vX9/O/f+fnevvP2zZ3t8K1d4+2ZON3tljDb7JUv2+2VMNvtljDb7JUvv+yV
Lz71pUI+9aVCv/WlQdv1pULb9aVC2/WkQdv1pULb/vXr+////////////v7+//327Pv869X3+tes7/nJ
j+n2sl3f9apM3fawWd/4x4vp+tit7/zq0/f+9uz7/v7+/////////////v79//ngwvPzu3rn99Ws8fvo
0ff++fT9/vr1/f769f399/H9+uXM9fjbufP2zZ7t8bFl4++jSt/tlzLb7JYw2+2WMNvslS/b7ZYw2+2V
MNvsli/b7ZYwv+2VMD71pUI+9KVCv/SkQdv1pULb9KRB2/SlQtv1pULb/vfv+////////////v7+////
/////v7//vv3/f748f385871+9+98fznzfX+9+/7/vv3/f/+/v///////v7+/////////////v7+//nc
u/PtmTbd7p0/3fCnUuHzv4Hp9MGF6fTBhenzvoDp8KdR4e6fQt3tmzvd7ZYw2+2WMNvtljDb7ZYw2+2W
MNvtljDb7ZYw2+2WMNvtljDb7JYwv+2WMD71pUI+9aVCv/WkQdv1pULb9aVC2/WkQdv1pULb+9y37/32
7Pv++vX9/v7+//7+/v/+/v7///////////////////////7+/v///////////////////////v7+//76
9f399Or7/fPn+/TBhensljHb7ZUv2+2WMNvtljDb7ZUv2+2WL9vtlTDb7ZYw2+2WMNvtli/b7ZUv2+2W
L9vtljDb7ZUw2+2VMNvtli/b7ZUw2+2WL9vtli/b7ZYvv+2WLz71pUI+9aVCv/WlQtv1pEHb9aVC2/Wl
Qtv1pULb9a5V3/jBf+X606Lt/OXJ8/zq0/X++vT9/v7+//////////////////7+/v/+/v7//v7+//75
9P3869X3/ObL9fnTpe3zuHLl8rVu5e2aON3tljDb7ZYw2+yVL9vtljDb7ZYw2+2WMNvslS/b7JUv2+2W
MNvtljDb7ZYw2+2WMNvslS/b7JUv2+2WMNvtljDb7JUv2+2WMNvtlS/b7ZYwv+2WMD71pUI+9KVCv/Sk
Qtv1pULb9aVB2/WlQtv0pEHb9aVC2/WlQtv1qUvd9rBZ3/a0Y+H5yY7p+tiu7/737/v//fv//v36/f/9
+//+9+/9+tqx7/nIjOn2tWXh9rBa3/SoS93tlzLb7JUv2+2WMNvslS/b7ZYw2+2WMNvtlS/b7ZYw2+2W
MNvslS/b7ZYw2+2WMNvtljDb7ZYw2+2WMNvslS/b7ZUw2+2WMNvtljDb7ZYw2+yVL9vslS/b7ZYwv+2V
MD71pUI+9aVCv/WlQdv0pULb9aVC2/WlQtv1pULb9KVC2/WlQtv1pULb9KVC2/WlQtv1pkXb9ahK3faw
Wt/2sl3f9rFd3/ayXd/2sFrf9alL3fWmRdv1pULb9aVC2/SjP9vtlzLb7JUv2+2WL9vtli/b7ZYw2+2W
L9vtli/b7ZUw2+2WL9vtljDb7ZYw2+2WL9vtlS/b7ZUw2+2WL9vtli/b7ZYw2+2WL9vtlS/b7ZUw2+2W
MNvslS/b7ZYvv+2VMD70pUJA9aVCv/WlQtv1pULb9aVC2/WlQtv1pULb9KRB2/SkQdv1pULb9aVC2/Wl
Qtv1pULb9aVC2/WlQtv1pULb9KVB2/WlQtv1pULb9aVB2/WlQtv1pULb9aVC2/SjP9vtlzLb7JUv2+2W
MNvtljDb7ZYw2+yVL9vslS/b7JUv2+2WMNvtljDb7ZYw2+yVL9vslS/b7ZYw2+2WMNvtljDb7ZYw2+2W
MNvtljDb7ZYw2+2WMNvslS/b7ZYwv+2WMD71pUI+9KVCu/WlQdv1pULb9aVC2/WlQtv1pULb9KRB2/Wl
Qtv1pULb9aRB2/WlQtv1pEHb9KVC2/WkQtv1pUHb9KVC2/WkQdv0pUHb9KVC2/WkQdv1pEHb9aVC2/Sj
P9vtlzLb7JUv2+yVL9vtlS/b7ZYw2+2VL9vtljDb7JUw2+yVL9vtljDb7JUw2+2VL9vtljDb7ZUw2+2V
L9vtlS/b7ZYw2+2VL9vtlS/b7ZYw2+yVL9vtljDb7ZYwve2WMD70pEEs9aVCq/WlQtv1pUHb9aVB2/Wl
Qtv1pULb9aVB2/WlQtv1pULb9aVC2/WlQdv1pULb9aVC2/WlQtv1pULb9aVB2/WlQtv0pEHb9aVB2/Wl
Qtv1pULb9aVC2/OiPtvumDLb7JUv2+yVMNvslS/b7ZYw2+2WMNvtljDb7ZYw2+2WMNvtljDb7ZYw2+2W
MNvsljDb7ZYw2+2WMNvtljDb7ZYw2+2WMNvtljDb7ZYw2+2WMNvtljDb7JYwr+2VLzD1pUIO9aVCbvSk
Qcv0pEHb9aVB2/WlQtv1pULb9aVC2/WkQdv1pUHb9aVC2/WlQtv1pULb9KVC2/WlQtv1pULb9aRC2/Wl
Qtv1pUHb9aVC2/SlQdv1pULb9KRB2/KgPdvumDLb7ZUv2+yVL9vslS/b7JUw2+2VL9vtli/b7ZYw2+yV
L9vtli/b7ZUw2+2VL9vsli/b7ZYw2+2WMNvtlS/b7ZYw2+yVL9vslS/b7ZUw2+yVL9vslS/N7ZUwdO2W
MBD1pEIC9aVCJvSlQYv0pULN9KRB2/WlQtv1pULb9aVB2/WlQtv1pULb9aRB2/WlQtv1pULb9aRC2/Wl
Qdv1pUHb9aRC2/SlQdv1pUHb9aVC2/SkQdv1pULb9KRB2/KgPdvumDLb7JUv2+2VMNvtlTDb7ZYw2+yV
L9vtlTDb7ZYw2+2VMNvtljDb7ZYw2+2WMNvtljDb7JYw2+2WMNvtljDb7JYw2+2WMNvtljDb7ZYw2+yW
L83sli+N7ZYwKOyWLwIAAAAA9aVCBPWlQij0pEFy9aVCr/SlQb31pUK/9aVCv/SlQr/0pUK/9aVCv/Sl
Qr/1pEK/9KRBv/WlQr/1pUK/9KVCv/WlQr/0pEK/9KRBv/SlQb/1pUK/9KRBv/KgPb/umDK/7JUvv+2W
ML/tljC/7JUvv+yWL7/sljC/7JUvv+yWL7/sli+/7JUvv+yVML/sli+/7JUvv+yVML/slTC/7ZYwv+yW
L7/tljC97ZYvr+2WMHTtljAo7ZYwBAAAAAAAAAAAAAAAAPSkQgL1pUEO9aVCMPWlQj70pUJA9aVCPvWl
Qj71pUI+9aVCPvWlQj71pUI+9aVCPvWlQj71pUI+9aVCPvWlQj70pUI+9aRCPvWlQj71pUI+9KRBPvKg
PT7umDI+7ZYvPu2WMD7slTA+7ZYwPu2WLz7tli8+7ZYwPu2WMD7tli8+7ZYwPu2WLz7tljA+7ZYwPu2W
MD7tli8+7ZYwPu2WMD7slS8+7ZYwMu2WLxDsljACAAAAAAAAAAD///////8AAPAAAAAADwAAwAAAAAAD
AADAAAAAAAMAAIAAAAAAAQAAgAAAAAABAACAAAAAAAEAAIAAAAAAAQAAgAAAAAABAACAAAAAAAEAAIAA
AAAAAQAAgAAAAAABAACAAAAAAAEAAIAAAAAAAQAAgAAAAAABAACAAAAAAAEAAIAAAAAAAQAAgAAAAAAB
AACAAAAAAAEAAIAAAAAAAQAAgAAAAAABAACAAAAAAAEAAIAAAAAAAQAAgAAAAAABAACAAAAAAAEAAIAA
AAAAAQAAgAAAAAABAACAAAAAAAEAAIAAAAAAAQAAgAAAAAABAACAAAAAAAEAAIAAAAAAAQAAgAAAAAAB
AACAAAAAAAEAAIAAAAAAAQAAgAAAAAABAACAAAAAAAEAAIAAAAAAAQAAgAAAAAABAACAAAAAAAEAAIAA
AAAAAQAAgAAAAAABAACAAAAAAAEAAIAAAAAAAQAAwAAAAAADAADAAAAAAAMAAPAAAAAADwAA////////
AAA=
</value>
</data>
</root>

View File

@ -271,7 +271,7 @@ namespace AIMS.OperationFront.DAL
"of1.VerifyTime, of1.VerifyOperatorName," +
"of1.PlanOperationTime, of1.OperationRoom, of1.AnesthesiaDoctor," +
"of1.InstrumentNurse, of1.TourNurse, of1.AnesthesiaDoctorSucceed," +
"of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.ASA,of1.HeartFunctionLevel,of1.IsFasting, of1.Remark,ApplyDiagnoseInfoId,ApplyOperationInfoId ,of1.PlanOrder,of1.OperationRoomId " +
"of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.ASA,of1.HeartFunctionLevel,of1.IsFasting, of1.Remark,ApplyDiagnoseInfoId,ApplyOperationInfoId ,of1.PlanOrder,of1.OperationRoomId ,of1.MedicalRecord " +
"FROM V_OperationFront of1 WHERE of1.PatientId='" + PatientId + "'";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}

View File

@ -43,7 +43,7 @@ namespace AIMS.OremrUserControl
private EventCodeCompiler codeCompiler;
private string strClick, strContentChanged;
public ucDocument(int tempId,int docId,PatientRecord patient)
public ucDocument(int tempId, int docId, PatientRecord patient)
{
InitializeComponent();
@ -148,6 +148,12 @@ namespace AIMS.OremrUserControl
AIMSExtension.PublicMethod.PermissionLevel);
//隐藏痕迹先
myEditControl.ExecuteCommand(StandardCommandNames.CleanViewMode, false, true);
if (Patient.MedicalRecord != null && Patient.MedicalRecord != "")
{
tsbSave.Visible = false;
tsbSaveAndPrint.Text = "打印";
}
}
void myEditControl_AfterExecuteCommand(object eventSender, DCSoft.Writer.Commands.WriterCommandEventArgs args)
@ -209,7 +215,7 @@ namespace AIMS.OremrUserControl
case DialogResult.Cancel:
isCancel = true;
return;
//break;
//break;
default:
break;
}
@ -224,11 +230,11 @@ namespace AIMS.OremrUserControl
try
{
//输入域校验
ValueValidateResultList listR = myEditControl.Document.ValueValidate();
ValueValidateResultList listR = myEditControl.Document.ValueValidate();
string vMsg = "";
foreach (var item in listR)
{
vMsg += item.Message +System.Environment.NewLine;
vMsg += item.Message + System.Environment.NewLine;
}
if (vMsg.Length > 0)
{
@ -248,17 +254,17 @@ namespace AIMS.OremrUserControl
foreach (var element in query)
{
XmlElement itemNode = doc.CreateElement("Item");
if (element is XTextInputFieldElement)
{
itemNode.SetAttribute("Name", (element as XTextInputFieldElement).ToolTip);
itemNode.InnerText = element.Text;
rootNode.AppendChild(itemNode);
}
else if (element is XTextCheckBoxElement )
else if (element is XTextCheckBoxElement)
{
itemNode.SetAttribute("Name", (element as XTextCheckBoxElement).ToolTip);
itemNode.SetAttribute("Checked",((XTextCheckBoxElement)element).Checked == true ? "1" : "0");
itemNode.SetAttribute("Checked", ((XTextCheckBoxElement)element).Checked == true ? "1" : "0");
itemNode.InnerText = (element as XTextCheckBoxElement).Value;
rootNode.AppendChild(itemNode);
}
@ -308,8 +314,15 @@ namespace AIMS.OremrUserControl
{
tsbCheckout_Click(null, null);
}
tsbSave_Click(null, null);
myEditControl.ExecuteCommand("FilePrint", true, null);
if (tsbSaveAndPrint.Text == "打印")
{
myEditControl.ExecuteCommand("FilePrint", true, null);
}
else
{
tsbSave_Click(null, null);
myEditControl.ExecuteCommand("FilePrint", true, null);
}
}
private void tsbPreview_Click(object sender, EventArgs e)

File diff suppressed because it is too large Load Diff

View File

@ -38,6 +38,10 @@ namespace AIMSModel
private string operatorNo;
private string operatorName;
private DateTime? operateDate;
private string operationSite;
private string orderNo;
private string medicalRecord;
private DateTime? medicalRecordTime;
/// <summary>
@ -288,5 +292,37 @@ namespace AIMSModel
get{ return operateDate; }
set{ operateDate=value; }
}
/// <summary>
///
/// </summary>
public string OperationSite
{
get{ return operationSite; }
set{ operationSite=value; }
}
/// <summary>
///
/// </summary>
public string OrderNo
{
get{ return orderNo; }
set{ orderNo=value; }
}
/// <summary>
///
/// </summary>
public string MedicalRecord
{
get{ return medicalRecord; }
set{ medicalRecord=value; }
}
/// <summary>
///
/// </summary>
public DateTime? MedicalRecordTime
{
get{ return medicalRecordTime; }
set{ medicalRecordTime=value; }
}
}
}

View File

@ -39,6 +39,10 @@ namespace AIMSObjectQuery
dictionary.Add("operatorno", "OperatorNo");
dictionary.Add("operatorname", "OperatorName");
dictionary.Add("operatedate", "OperateDate");
dictionary.Add("operationsite", "OperationSite");
dictionary.Add("orderno", "OrderNo");
dictionary.Add("medicalrecord", "MedicalRecord");
dictionary.Add("medicalrecordtime", "MedicalRecordTime");
}
#region IMap

View File

@ -83,7 +83,7 @@ namespace DrawGraph
private DateTime? operationBeginTime;
private DateTime? operationEndTime;
private DateTime? anesthesiaBeginTime;
private DateTime? anesthesiaEndTime;
private DateTime? anesthesiaEndTime;
private string state;
private string cancelReason;
private string aSALevel;
@ -107,7 +107,7 @@ namespace DrawGraph
private int? instrumentNurseTimeMinute;
private int? instrumentNurseSucceedTimeMinute;
private int? tourNurseTimeMinute;
private int? tourNurseSucceedTimeMinute;
private int? tourNurseSucceedTimeMinute;
private string analgesiaModeMessage;
private string oPerationRemark;
private string diagnoseRemark;
@ -154,9 +154,11 @@ namespace DrawGraph
public DateTime? OutCGTime;
[NoCreatControlAttributs]
public string InCGType;
[NoCreatControlAttributs]
public string MedicalRecord;
[NoCreatControlAttributs]
public DataTable PhysioParamList;
public DataTable PhysioParamList;
[ClassAttributs(Description = "选中范围的对象")]
[NoCreatControlAttributs]
@ -520,7 +522,7 @@ namespace DrawGraph
{
get { return anesthesiaEndTime; }
set { anesthesiaEndTime = value; }
}
}
[ClassAttributs(Description = "手术状态")]
/// <summary>
/// 手术状态
@ -730,7 +732,7 @@ namespace DrawGraph
{
get { return tourNurseTimeMinute; }
set { tourNurseTimeMinute = value; }
}
}
[ClassAttributs(Description = "阵痛信息")]
/// <summary>
/// 阵痛信息 RBT
@ -1098,7 +1100,7 @@ namespace DrawGraph
}
set
{
anaseDataQualityRecordList = value;
anaseDataQualityRecordList = value;
}
}
/// <summary>

View File

@ -7,6 +7,7 @@ using System.Xml.Serialization;
using System.Data.SqlClient;
using HelperDB;
using System.Resources;
using AIMSExtension;
namespace DrawGraph
{
@ -701,7 +702,7 @@ namespace DrawGraph
this.APhysioParams[CurPDIndex].Y = newPd.Y;
Sort();
curve.Points = APhysioParams;
PhysioDataService.UpdatePhysioData(oldPd, newPd);
PhysioDataService.UpdatePhysioData(oldPd, newPd, PublicMethod.OperatorName);
if (showStyle == "显示数值")
{
delAddObj(oldPd);
@ -709,10 +710,7 @@ namespace DrawGraph
}
}
}
public void AllModItem(PhysioData oldPd, PhysioData newPd)
{
PhysioDataService.UpdatePhysioData(oldPd, newPd);
}
public int indexOf(PhysioData pd)
{
for (int i = 0; i < APhysioParams.Count; i++)
@ -859,52 +857,7 @@ namespace DrawGraph
{
throw new Exception("删除生理数据结点时出错");
}
}
public void DelAreaItem(int operationId, DateTime startTime, DateTime endTime, double startValue, double endValue)
{
try
{
Sort();
bool isModmaxValue = false;
for (int i = APhysioParams.Count - 1; i > -1; i--)
{
PhysioData maxPhysioData = PointPairToPhysioData(APhysioParams[i]);
int startTimeDiff = DateTime.Compare(maxPhysioData.RecordTime, startTime);
double startValueDiff = startValue - maxPhysioData.Value;
int endTimeDiff = DateTime.Compare(maxPhysioData.RecordTime, endTime);
double endValueDiff = endValue - maxPhysioData.Value;
//在选区范围内
if (startTimeDiff > 0 && startValueDiff > 0 && endTimeDiff <= 0 && endValueDiff <= 0)
{
APhysioParams[i].Y = Double.MaxValue;
isModmaxValue = true;
}
////在选区范围内
//if (startTimeDiff > 0 && endTimeDiff <= 0 && maxPhysioData.Y == Double.MaxValue)
//{
// APhysioParams[i].Y = Double.MaxValue;
// isModmaxValue = true;
//}
if (isModmaxValue)
{
this.APhysioParams.Remove(maxPhysioData);
if (showStyle == "显示数值")
{
delAddObj(maxPhysioData);
}
isModmaxValue = false;
}
}
curve.Points = APhysioParams;
Sort();
}
catch (Exception)
{
}
}
}
public void DelItems(DateTime RecordTime, DateTime EndTime)
{
try
@ -995,15 +948,7 @@ namespace DrawGraph
APhysioParams.Clear();
//APhysioParams = new PointPairList();
curve.Points = APhysioParams;
}
/// <summary>
/// 删除麻醉单上的曲线
/// </summary>
/// <param name="DrugsRecord"></param>
public void clearAddObjCurve(ZedGraphControl zgc)
{
delADDCurve(TextPrefix.PI + Name + Id.ToString());
}
}
/// <summary>
/// 重新设置曲线属性
/// </summary>
@ -1049,38 +994,7 @@ namespace DrawGraph
curve.Line.IsVisible = this.isValid;
curve.Symbol.IsVisible = this.isValid;
}
public PhysioDataConfig Clone()
{
PhysioDataConfig _PhysioParameter = new PhysioDataConfig();
_PhysioParameter.id = id;
_PhysioParameter.Name = Name;
_PhysioParameter.yAisx = yAisx;
_PhysioParameter.isValid = isValid;
_PhysioParameter.PatientId = PatientId;
_PhysioParameter.highLimit = highLimit;
_PhysioParameter.lowLimit = lowLimit;
_PhysioParameter.conveColor = conveColor;
_PhysioParameter.imgPath = imgPath;
_PhysioParameter.curPDIndex = curPDIndex;
_PhysioParameter.IsClick = IsClick;
_PhysioParameter.curve = curve;
_PhysioParameter.zgcAnas = zgcAnas;
_PhysioParameter.showStyle = showStyle;
_PhysioParameter.X_MINOR_GRID_STEP = X_MINOR_GRID_STEP;
_PhysioParameter.className = className;
if (aPhysioDatas.Count > 0)
{
_PhysioParameter.aPhysioDatas.Clear();
foreach (PointPair _pp in aPhysioDatas)
{
_PhysioParameter.aPhysioDatas.Add(PointPairToPhysioData(_pp));
}
}
return _PhysioParameter;
}
/// <summary>
/// 清除各种对象数据

View File

@ -10,11 +10,7 @@ namespace DrawGraph
public static partial class PhysioDataService
{
//Add Mothed Start
public static readonly string InsertSql = "INSERT PhysioData (PatientId, PhysioDataConfigId, RecordTime, Value )VALUES (@PatientId, @PhysioDataConfigId, @RecordTime, @Value )";
public static readonly string UpdateSql = "Update PhysioData set PatientId=@PatientId, PhysioDataConfigId=@PhysioDataConfigId, RecordTime=@RecordTime, Value=@Value where Id=@Id";
public static readonly string DeleteSql = "Delete FROM PhysioData where Id=@Id";
public static readonly string SelectSql = "Select * FROM PhysioData";
public static readonly string SelectSqlById = "Select * FROM PhysioData where Id =@Id";
public static readonly string InsertSql = "INSERT PhysioData (PatientId, PhysioDataConfigId, RecordTime, Value )VALUES (@PatientId, @PhysioDataConfigId, @RecordTime, @Value )";
public static int AddPhysioData(PhysioData physioData)
{
string sql = InsertSql;
@ -24,36 +20,21 @@ namespace DrawGraph
};
return DBHelper.ExecNonQuery(sql, para);
}
public static int UpdatePhysioData(PhysioData physioData)
{
string sql = UpdateSql;
SqlParameter[] para = new SqlParameter[]
{
new SqlParameter("@Id",physioData.Id), new SqlParameter("@PatientId",physioData.PatientId), new SqlParameter("@PhysioDataConfigId",physioData.PhysioDataConfigId), new SqlParameter("@RecordTime",physioData.RecordTime), new SqlParameter("@Value",physioData.Value)
};
return DBHelper.ExecNonQuery(sql, para);
}
public static int DelPhysioData(PhysioData physioData)
{
string sql = DeleteSql;
SqlParameter[] para = new SqlParameter[]
{
new SqlParameter("@Id",physioData.Id)
};
return DBHelper.ExecNonQuery(sql, para);
}
public static IList<PhysioData> GetAllList()
{
string sql = SelectSql;
return GetListBySql(sql);
}
public static void UpdatePhysioData(PhysioData oldphysioData, PhysioData newphysioData)
public static void UpdatePhysioData(PhysioData oldphysioData, PhysioData newphysioData, string OperatorName)
{
string sql = "update PhysioData set Value= '" + newphysioData.Value + "' where convert(varchar,RecordTime,120) >='" + oldphysioData.RecordTime.AddSeconds(-120).ToString("yyyy-MM-dd HH:mm:ss") + "' and convert(varchar,RecordTime,120) <='" + oldphysioData.RecordTime.AddSeconds(120).ToString("yyyy-MM-dd HH:mm:ss") + "' and PhysioDataConfigId=" + oldphysioData.PhysioDataConfigId + " and PatientId=" + oldphysioData.PatientId;
DBHelper.ExecNonQuery(sql);
InsertPhysioDataUpdate(oldphysioData, newphysioData, OperatorName);
}
public static void InsertPhysioDataUpdate(PhysioData oldphysioData, PhysioData newphysioData, string OperatorName)
{
StringBuilder sb = new StringBuilder();
sb.Append(string.Format(@" INSERT PhysioDataUpdate (PatientId, PhysioDataConfigId, RecordTime, OldParamValue,ParamValue, OperatorName,OperatorTime)VALUES ({0},{1},'{2}',{3},{4},'{5}','{6}') ", newphysioData.PatientId, newphysioData.PhysioDataConfigId, newphysioData.RecordTime, oldphysioData.Value, newphysioData.Value, OperatorName, DateTime.Now));
DBHelper.ExecNonQuery(sb.ToString());
}
public static void DelPhysioByValueData(PhysioData physioData)
{
@ -79,46 +60,6 @@ namespace DrawGraph
};
DBHelper.ExecNonQuery(sql, para);
}
public static PhysioData GetPhysioDataById(int Id)
{
string sql = SelectSqlById;
SqlParameter para = new SqlParameter("@Id", Id);
IList<PhysioData> list = GetListBySql(sql, para);
if (list.Count > 0)
return list[0];
else
return null;
}
public static int DeletePhysioDataByID(int operationId, DateTime startTime, DateTime endTime, double startValue, double endValue, params int[] PhysioId)
{
string sqlStr = "delete FROM PhysioData where PatientId = " + operationId + " and [RecordTime] >='" + startTime + "' and [RecordTime] <='" + endTime + "' and [Value] >='" + startValue + "' and [Value] <='" + endValue + "' ";
if (PhysioId != null && PhysioId.Length > 0) sqlStr += " and PhysioDataConfigId=" + PhysioId[0];
return DBHelper.ExecNonQuery(sqlStr);
}
private static IList<PhysioData> GetListBySql(string sql, params SqlParameter[] para)
{
IList<PhysioData> list = new List<PhysioData>();
using (SqlDataReader reader = DBHelper.GetReader(sql, para))
{
while (reader.Read())
{
PhysioData temp = new PhysioData();
temp.Id = DBHelper.GetInt(reader["Id"]);
temp.PatientId = DBHelper.GetInt(reader["PatientId"]);
temp.PhysioDataConfigId = DBHelper.GetInt(reader["PhysioDataConfigId"]);
temp.RecordTime = DBHelper.GetDateTime(reader["RecordTime"]);
temp.Value = DBHelper.GetDouble(reader["Value"]);
list.Add(temp);
}
reader.Close();
return list;
}
}
public static void DelectPhysioDataByID(int operationId, DateTime startTime, DateTime endTime, double startValue, double endValue, int PhysioDataConfigId)
{