医疗文书粘贴处理换行问题
This commit is contained in:
parent
85131b43d2
commit
949ef914f3
@ -26,6 +26,7 @@ namespace AIMS
|
|||||||
frmFeesRecord frmchargRecord = new frmFeesRecord(_record, "麻醉");
|
frmFeesRecord frmchargRecord = new frmFeesRecord(_record, "麻醉");
|
||||||
frmchargRecord.Show();
|
frmchargRecord.Show();
|
||||||
frmchargRecord.BringToFront();
|
frmchargRecord.BringToFront();
|
||||||
|
frmchargRecord.TopMost = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static void OpenEMRS(int patientid, int applyid)
|
public static void OpenEMRS(int patientid, int applyid)
|
||||||
|
|||||||
@ -1096,7 +1096,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
frmSelectPatient.isMainOpen = true;
|
frmSelectPatient.isMainOpen = true;
|
||||||
frmSelectPatient.tempfrmAnasRecord = this;
|
frmSelectPatient.tempfrmAnasRecord = this;
|
||||||
frmSelectPatient.FormClosed += new FormClosedEventHandler(frmSelectPatient_FormClosed);
|
frmSelectPatient.FormClosed += new FormClosedEventHandler(frmSelectPatient_FormClosed);
|
||||||
frmSelectPatient.ShowDialog();
|
frmSelectPatient.ShowDialog();
|
||||||
|
|
||||||
}
|
}
|
||||||
void frmSelectPatient_FormClosed(object sender, FormClosedEventArgs e)
|
void frmSelectPatient_FormClosed(object sender, FormClosedEventArgs e)
|
||||||
@ -1226,7 +1226,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
frmFact.zgcAnaesRecord = zgcAnaesRecord;
|
frmFact.zgcAnaesRecord = zgcAnaesRecord;
|
||||||
frmFact.DrugTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
frmFact.DrugTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
||||||
frmFact.DrugsParam += FrmFactDrug_DrugsParam;
|
frmFact.DrugsParam += FrmFactDrug_DrugsParam;
|
||||||
frmFact.ShowDialog();
|
frmFact.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnOperationInfo_Click(object sender, EventArgs e)
|
private void btnOperationInfo_Click(object sender, EventArgs e)
|
||||||
@ -1236,7 +1236,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
AIMS.OperationAanesthesia.frmOperationInfoNew2 frmOperationInfo = new frmOperationInfoNew2();
|
AIMS.OperationAanesthesia.frmOperationInfoNew2 frmOperationInfo = new frmOperationInfoNew2();
|
||||||
frmOperationInfo._record = _record;
|
frmOperationInfo._record = _record;
|
||||||
//frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click);
|
//frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click);
|
||||||
frmOperationInfo.ShowDialog();
|
frmOperationInfo.ShowDialog();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1253,7 +1253,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
frmFactDrug.zgcAnaesRecord = zgcAnaesRecord;
|
frmFactDrug.zgcAnaesRecord = zgcAnaesRecord;
|
||||||
frmFactDrug.DrugTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
frmFactDrug.DrugTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
||||||
frmFactDrug.DrugsParam += FrmFactDrug_DrugsParam;
|
frmFactDrug.DrugsParam += FrmFactDrug_DrugsParam;
|
||||||
frmFactDrug.ShowDialog();
|
frmFactDrug.ShowDialog();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1278,7 +1278,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
frmFactEventsNew.zgcAnaesRecord = zgcAnaesRecord;
|
frmFactEventsNew.zgcAnaesRecord = zgcAnaesRecord;
|
||||||
frmFactEventsNew.EventTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
frmFactEventsNew.EventTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
||||||
frmFactEventsNew.EventParam += frmFactEventsNew_EventsParam;
|
frmFactEventsNew.EventParam += frmFactEventsNew_EventsParam;
|
||||||
frmFactEventsNew.ShowDialog();
|
frmFactEventsNew.ShowDialog();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1307,7 +1307,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
frmFactOutputLiquids.zgcAnaesRecord = zgcAnaesRecord;
|
frmFactOutputLiquids.zgcAnaesRecord = zgcAnaesRecord;
|
||||||
frmFactOutputLiquids.OutputLiquidTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
frmFactOutputLiquids.OutputLiquidTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
||||||
frmFactOutputLiquids.OutParam += FrmFactOutputLiquids_OutParam;
|
frmFactOutputLiquids.OutParam += FrmFactOutputLiquids_OutParam;
|
||||||
frmFactOutputLiquids.ShowDialog();
|
frmFactOutputLiquids.ShowDialog();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1324,7 +1324,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
{
|
{
|
||||||
frmAanesthesiaQuality frmAnaseDataQuality = new frmAanesthesiaQuality();
|
frmAanesthesiaQuality frmAnaseDataQuality = new frmAanesthesiaQuality();
|
||||||
frmAnaseDataQuality._record = _record;
|
frmAnaseDataQuality._record = _record;
|
||||||
frmAnaseDataQuality.ShowDialog();
|
frmAnaseDataQuality.ShowDialog();
|
||||||
}
|
}
|
||||||
private void btnCancelOperation_Click(object sender, EventArgs e)
|
private void btnCancelOperation_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@ -1435,7 +1435,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
//刷新到当前页
|
//刷新到当前页
|
||||||
ReviewEvent();
|
ReviewEvent();
|
||||||
});
|
});
|
||||||
frm.ShowDialog();
|
frm.ShowDialog();
|
||||||
}
|
}
|
||||||
private void btnBloodGasAnalysis_Click(object sender, EventArgs e)
|
private void btnBloodGasAnalysis_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@ -1448,7 +1448,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
{
|
{
|
||||||
reDrawAnalysis();
|
reDrawAnalysis();
|
||||||
});
|
});
|
||||||
frmFactBloodGasAnalysis.ShowDialog();
|
frmFactBloodGasAnalysis.ShowDialog();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1578,6 +1578,21 @@ namespace AIMS.OperationAanesthesia
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//有机械呼吸情况自主呼吸
|
||||||
|
foreach (var pdTemp in physioDatas)
|
||||||
|
{
|
||||||
|
if (pdTemp.PhysioDataConfigId == 12)
|
||||||
|
{
|
||||||
|
foreach (var temp in physioDatas)
|
||||||
|
{
|
||||||
|
if (temp.PhysioDataConfigId == 3)
|
||||||
|
{
|
||||||
|
temp.Value = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
foreach (var pdTemp in physioDatas)
|
foreach (var pdTemp in physioDatas)
|
||||||
{
|
{
|
||||||
if (pdTemp.Value < 0) continue;
|
if (pdTemp.Value < 0) continue;
|
||||||
@ -1860,7 +1875,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
templateManage.Bind("MonitorManage");
|
templateManage.Bind("MonitorManage");
|
||||||
zgcAnaesRecord.Refresh();
|
zgcAnaesRecord.Refresh();
|
||||||
});
|
});
|
||||||
frm.ShowDialog();
|
frm.ShowDialog();
|
||||||
});
|
});
|
||||||
menuStrip.Items.Add(mnuAddDrug);
|
menuStrip.Items.Add(mnuAddDrug);
|
||||||
|
|
||||||
@ -1890,7 +1905,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
if (PatientId == 0) return;
|
if (PatientId == 0) return;
|
||||||
frmPhysioDataUpdateLog Log = new frmPhysioDataUpdateLog();
|
frmPhysioDataUpdateLog Log = new frmPhysioDataUpdateLog();
|
||||||
Log.OperationRecordId = _record.Id.Value;
|
Log.OperationRecordId = _record.Id.Value;
|
||||||
Log.ShowDialog();
|
Log.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ModifyRoom_Click(object sender, EventArgs e)
|
private void ModifyRoom_Click(object sender, EventArgs e)
|
||||||
@ -2468,7 +2483,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
fnc.textBox2.Focus();
|
fnc.textBox2.Focus();
|
||||||
fnc.groupBox1.Visible = false;
|
fnc.groupBox1.Visible = false;
|
||||||
}
|
}
|
||||||
fnc.ShowDialog();
|
fnc.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnxldlx_Click(object sender, EventArgs e)
|
private void btnxldlx_Click(object sender, EventArgs e)
|
||||||
@ -2570,8 +2585,6 @@ namespace AIMS.OperationAanesthesia
|
|||||||
ReviewEvent();
|
ReviewEvent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
|
||||||
|
|
||||||
private void label11_Click(object sender, EventArgs e)
|
private void label11_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
DialogResult dialog = MessageBox.Show("是否重启采集程序!", "系统提示", MessageBoxButtons.YesNo);
|
DialogResult dialog = MessageBox.Show("是否重启采集程序!", "系统提示", MessageBoxButtons.YesNo);
|
||||||
@ -2580,5 +2593,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
PublicMethod.StartCollectorDataProgram(true);
|
PublicMethod.StartCollectorDataProgram(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -347,13 +347,12 @@ namespace AIMS.OperationAanesthesia
|
|||||||
{
|
{
|
||||||
if (frmAnasRecord.State == AIMSExtension.EditState.BROWSE)
|
if (frmAnasRecord.State == AIMSExtension.EditState.BROWSE)
|
||||||
{
|
{
|
||||||
frmAnasRecord.Show();
|
frmAnasRecord.Show(this);
|
||||||
frmAnasRecord.BringToFront();
|
frmAnasRecord.Focus();
|
||||||
frmAnasRecord.TopMost = true;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
frmAnasRecord.ShowDialog();
|
frmAnasRecord.ShowDialog();
|
||||||
|
|
||||||
FillDgv();
|
FillDgv();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -624,7 +624,7 @@ namespace AIMSExtension
|
|||||||
System.Diagnostics.Process[] myProcesses = System.Diagnostics.Process.GetProcesses();
|
System.Diagnostics.Process[] myProcesses = System.Diagnostics.Process.GetProcesses();
|
||||||
foreach (System.Diagnostics.Process myProcess in myProcesses)
|
foreach (System.Diagnostics.Process myProcess in myProcesses)
|
||||||
{
|
{
|
||||||
if (myProcess.ProcessName == "DataCollector2")
|
if (myProcess.ProcessName == "DataCollector2" || myProcess.ProcessName == "DataCollector")
|
||||||
{
|
{
|
||||||
myProcess.CloseMainWindow();
|
myProcess.CloseMainWindow();
|
||||||
myProcess.Kill();
|
myProcess.Kill();
|
||||||
@ -636,7 +636,7 @@ namespace AIMSExtension
|
|||||||
}
|
}
|
||||||
if (Directory.Exists(@"C:\采集程序"))
|
if (Directory.Exists(@"C:\采集程序"))
|
||||||
{
|
{
|
||||||
if (!PublicMethod.FindProcess("DataCollector2"))
|
if (!PublicMethod.FindProcess("DataCollector2") && !PublicMethod.FindProcess("DataCollector"))
|
||||||
{
|
{
|
||||||
Process myprocess = new Process();
|
Process myprocess = new Process();
|
||||||
ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\采集程序\DataCollector.exe");
|
ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\采集程序\DataCollector.exe");
|
||||||
|
|||||||
@ -29,11 +29,27 @@ namespace DocumentManagement
|
|||||||
eet = new ElementEventTemplate();
|
eet = new ElementEventTemplate();
|
||||||
eet.MouseClick += new ElementMouseEventHandler(eetChk_MouseClick);
|
eet.MouseClick += new ElementMouseEventHandler(eetChk_MouseClick);
|
||||||
eet.MouseDblClick += Eet_MouseDblClick;
|
eet.MouseDblClick += Eet_MouseDblClick;
|
||||||
|
eet.KeyUp += Eet_KeyUp;
|
||||||
eet.ContentChanged += new ContentChangedEventHandler(eet_ContentChanged);
|
eet.ContentChanged += new ContentChangedEventHandler(eet_ContentChanged);
|
||||||
myEditControl.GlobalEventTemplate_Element = eet;
|
myEditControl.GlobalEventTemplate_Element = eet;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Eet_KeyUp(object eventSender, ElementKeyEventArgs args)
|
||||||
|
{
|
||||||
|
if (args.KeyCode == Keys.V && args.Control == true)
|
||||||
|
{
|
||||||
|
if ((eventSender as XTextDocument).CurrentInputField != null)
|
||||||
|
{
|
||||||
|
var element = (eventSender as XTextDocument).CurrentInputField;
|
||||||
|
if (element != null)
|
||||||
|
{
|
||||||
|
element.Text = element.Text.Replace("\r", "").Replace("\n","");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public CompilerErrorCollection Errors { get { return cr.Errors; } }
|
public CompilerErrorCollection Errors { get { return cr.Errors; } }
|
||||||
|
|
||||||
void eet_ContentChanged(object eventSender, ContentChangedEventArgs args)
|
void eet_ContentChanged(object eventSender, ContentChangedEventArgs args)
|
||||||
@ -88,7 +104,7 @@ namespace DocumentManagement
|
|||||||
if (IsLoad)
|
if (IsLoad)
|
||||||
if (args.Element is XTextInputFieldElement)
|
if (args.Element is XTextInputFieldElement)
|
||||||
{
|
{
|
||||||
var element = args.Element as XTextInputFieldElement;
|
var element = args.Element as XTextInputFieldElement;
|
||||||
if (element != null && element.Name == "Pacs")
|
if (element != null && element.Name == "Pacs")
|
||||||
{
|
{
|
||||||
var patientId = element.WriterControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
|
var patientId = element.WriterControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user