public void SaveNewReport(Report report, String source = "") { // RecordLog("Inside save report. Connction string : " + DatabaseHelper.GetConnection().ConnectionString); FieldName fieldName = new FieldName(); List <SqlParameter> prms = new List <SqlParameter>(); prms.Add(new SqlParameter("@XML", Common.CommonFunctions.ConvertEntityToXML(report))); DatabaseHelper.ExecuteNonQuery("SaveReport", prms); PerformanceLog.WriteFilelog(source, "HL7", report.AccessionNumber + ", " + report.PatientID + ", " + report.Patientname + ", " + report.ReportDateTime + ", " + report.ReportText); }
private void RecordLog(string logMessage) { L.WriteFilelog("HL7ReportsDataAndBusiness", "DataAccess", logMessage); }
private void RecordLog(string logMessage) { Common.Log L = new Common.Log("", Properties.Settings.Default.EnableDebugLogging); L.WriteFilelog("HL7ReportsService", "HL7 Reports windows service", logMessage); }
private static void RecordLog(string logMessage) { Common.Log performanceLog = new Common.Log("Sender", Properties.Settings.Default.EnablePerformanceLogging); performanceLog.WriteFilelog("ReportWCF", "GetReports", logMessage); }
private void WriteToHL7LogFile(string v) { Common.Log L = new Common.Log("", Properties.Settings.Default.EnableDebugLogging); L.WriteFilelog(ReportsDataAndBusiness.Constant.APP_NAME, "ClNo " + clNo + "-" + ReportsDataAndBusiness.Constant.HL7_Listener_ModuleName, v); }
private void RecordLog(String log) { Common.Log L = new Common.Log("", Properties.Settings.Default.EnableDebugLogging); L.WriteFilelog("PCCI Reports", "Reports pull", log); }