Пример #1
0
 public Boolean updateAddOnVerificationRequests(String callerName, String changeRequestType, String testsAddOnVerify, String eMail, String labLocation, String specialInstructions, String UserID, String UserLab, String ReasonForReq, String PathologistRequested, String OriginalPathalogist, String CheckTubeType)
 {
     String[] arr = DL_Accession.updateAddOnVerificationRequests(this.AccessionNumber, callerName, changeRequestType, testsAddOnVerify, eMail, labLocation, specialInstructions, this.ClientMnemonic, UserID, UserLab, ReasonForReq, PathologistRequested, OriginalPathalogist, CheckTubeType).Split('^');
     if (arr.Length == 4)
     {
         DataRow dr = this.Requests.NewRow();
         dr["ConfirmationNumber"] = arr[0];
         dr["CallerName"]         = callerName;
         dr["RequestDate"]        = arr[1];
         dr["RequestTime"]        = arr[2];
         dr["RequestType"]        = changeRequestType;
         dr["Email"] = eMail;
         dr["SpecialInstructions"] = specialInstructions;
         dr["Tests"]                = testsAddOnVerify;
         dr["LabID"]                = labLocation;
         dr["LabLocation"]          = arr[3];
         dr["ReasonForReq"]         = ReasonForReq;
         dr["PathalogistRequested"] = PathologistRequested;
         dr["OriginalPathalogist"]  = OriginalPathalogist;
         dr["CheckTubeType"]        = CheckTubeType;
         this.Requests.Rows.InsertAt(dr, 0);
         this.Requests.AcceptChanges();
         return(true);
     }
     return(false);
 }
Пример #2
0
 public static Boolean updateTransitRequest(String confirmationNumber, String callerName, String changeRequestType, String testsAddOnVerify, String eMail, String labLocation, String specialInstructions, String userID)
 {
     if (DL_Accession.updateAddOnVerificationRequests(confirmationNumber, callerName, changeRequestType, eMail, labLocation, specialInstructions, testsAddOnVerify, userID, "", "", "", "", true) > 0)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Пример #3
0
 public Boolean updateAddOnVerificationRequests(String confirmationNumber, String callerName, String changeRequestType, String testsAddOnVerify, String eMail, String labLocation, String specialInstructions, String userID, String ReasonForReq, String PathologistRequested, String OriginalPathalogist, String CheckTubeType, bool isModify)
 {
     if (DL_Accession.updateAddOnVerificationRequests(confirmationNumber, callerName, changeRequestType, eMail, labLocation, specialInstructions, testsAddOnVerify, userID, ReasonForReq, PathologistRequested, OriginalPathalogist, CheckTubeType, isModify) > 0)
     {
         this.Requests = GetRequests(this.AccessionNumber);
         return(true);
     }
     else
     {
         return(false);
     }
 }
Пример #4
0
 public static string saveTransitRequest(String ClientMnemonic, String callerName, String changeRequestType, String testsAddOnVerify, String eMail, String labLocation, String specialInstructions, String UserID, String UserLab)
 {
     String[] arr = DL_Accession.updateAddOnVerificationRequests("", callerName, changeRequestType, testsAddOnVerify, eMail, labLocation, specialInstructions, ClientMnemonic, UserID, UserLab, "", "", "", "").Split('^');
     return(arr[0]);
 }