Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 private void RecordLog(string logMessage)
 {
     L.WriteFilelog("HL7ReportsDataAndBusiness", "DataAccess", logMessage);
 }
Exemplo n.º 3
0
 private void RecordLog(string logMessage)
 {
     Common.Log L = new Common.Log("", Properties.Settings.Default.EnableDebugLogging);
     L.WriteFilelog("HL7ReportsService", "HL7 Reports windows service", logMessage);
 }
Exemplo n.º 4
0
 private static void RecordLog(string logMessage)
 {
     Common.Log performanceLog = new Common.Log("Sender", Properties.Settings.Default.EnablePerformanceLogging);
     performanceLog.WriteFilelog("ReportWCF", "GetReports", logMessage);
 }
Exemplo n.º 5
0
 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);
 }
Exemplo n.º 6
0
 private void RecordLog(String log)
 {
     Common.Log L = new Common.Log("", Properties.Settings.Default.EnableDebugLogging);
     L.WriteFilelog("PCCI Reports", "Reports pull", log);
 }