Exemplo n.º 1
0
 public static YellowstonePathology.Business.Rules.MethodResult IsOkToAccept(BRAFV600EKTestOrder testOrder)
 {
     YellowstonePathology.Business.Rules.MethodResult result = testOrder.IsOkToAccept();
     if (result.Success == true)
     {
         if (string.IsNullOrEmpty(testOrder.ResultCode) == true)
         {
             result.Success = false;
             result.Message = "The results cannot be accepted because the Result is not set.";
         }
         else if (string.IsNullOrEmpty(testOrder.Indication) == true)
         {
             result.Success = false;
             result.Message = "The results cannot be accepted because the BRAF indicator is not set.";
         }
     }
     return(result);
 }
Exemplo n.º 2
0
 public static YellowstonePathology.Business.Rules.MethodResult IsOkToAccept(BRAFV600EKTestOrder testOrder)
 {
     YellowstonePathology.Business.Rules.MethodResult result = testOrder.IsOkToAccept();
     if (result.Success == true)
     {
         if (string.IsNullOrEmpty(testOrder.ResultCode) == true)
         {
             result.Success = false;
             result.Message = "The results cannot be accepted because the Result is not set.";
         }
         else if (string.IsNullOrEmpty(testOrder.Indication) == true)
         {
             result.Success = false;
             result.Message = "The results cannot be accepted because the BRAF indicator is not set.";
         }
     }
     return result;
 }