81 lines
3.2 KiB
C#
81 lines
3.2 KiB
C#
using AIMS.OperationAanesthesia;
|
|
using AIMS.PublicUI.UI;
|
|
using AIMSBLL;
|
|
using AIMSExtension;
|
|
using AIMSModel;
|
|
using DrawGraph;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AIMS
|
|
{
|
|
public class EMRExtension
|
|
{
|
|
public static void OpenFeesRecord(OperationRecord _record, string type)
|
|
{
|
|
if (PublicMethod.HospitalName.Contains("漳浦"))
|
|
{
|
|
string Path = string.Format("http://10.129.130.60:5050/centerweb/");
|
|
System.Diagnostics.Process.Start(Path);
|
|
}
|
|
else
|
|
{
|
|
frmFeesRecord frmchargRecord = new frmFeesRecord(_record, "麻醉");
|
|
frmchargRecord.Show();
|
|
}
|
|
}
|
|
public static void OpenEMRS(int patientid, int applyid)
|
|
{
|
|
OperationApply opeapply = new OperationApply();
|
|
if (applyid > 0) opeapply = BOperationApply.SelectSingle(applyid, RecursiveType.None, 0);
|
|
OrisPatient pat = BOrisPatient.SelectSingle(patientid == 0 ? opeapply.OrisPatientId.Value : patientid, RecursiveType.None, 0);
|
|
if (PublicMethod.HospitalName.Contains("秦皇岛"))
|
|
{
|
|
try
|
|
{
|
|
string patientId = "orcl:LDQ:5:1:0:" + pat.HisPatientId + ":" + pat.VisitTimes + "";
|
|
Process myprocess = new Process();
|
|
ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\APPSOFT\zlSoftCISInterface.exe", patientId);
|
|
PublicMethod.WriteLog(new Exception(@"C:\APPSOFT\zlSoftCISInterface.exe" + patientId));
|
|
myprocess.StartInfo = startInfo;
|
|
myprocess.StartInfo.UseShellExecute = false;
|
|
myprocess.Start();
|
|
}
|
|
catch (Exception)
|
|
{
|
|
MessageBox.Show(@"在C:\APPSOFT\zlSoftCISInterface.exe路径下找不到“zlSoftCISInterface.exe”");
|
|
}
|
|
}
|
|
else if (PublicMethod.HospitalName.Contains("金州"))
|
|
{
|
|
string HisPatientId = pat.HisPatientId;
|
|
string VisitTimes = pat.VisitTimes;
|
|
|
|
string Path = string.Format("http://172.16.10.175:5001/?inoutType=2&patiId={0}&visitId={1}&userName=系统管理员", HisPatientId, VisitTimes);
|
|
System.Diagnostics.Process.Start(Path);
|
|
//BrowserHelper.OpenBrowserUrlChrome(Path);
|
|
}
|
|
else if (PublicMethod.HospitalName.Contains("天福"))
|
|
{
|
|
string HisPatientId = pat.HisPatientId;
|
|
string HisPatientId2 = pat.Extend5;
|
|
|
|
string Path = string.Format("http://10.129.130.60:5050/osworksweb/operating_externalinformation.jsp?vaa07={0}&vaa01={1}&acf01=2&dbstyle=db2", HisPatientId, HisPatientId2);
|
|
System.Diagnostics.Process.Start(Path);
|
|
}
|
|
else if (PublicMethod.HospitalName.Contains("鄂托克前旗"))
|
|
{
|
|
frmLISResult lISResult = new frmLISResult();
|
|
lISResult.PatientNo = pat.HisPatientId;
|
|
lISResult.ShowDialog();
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|