示例#1
0
 public virtual Audit.Model.AuditResult IsOkToSetResults(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeEvaluation panelSetOrderLynchSyndromeEvaluation)
 {
     Audit.Model.AuditResult result = panelSetOrderLynchSyndromeEvaluation.IsOkToSetResults();
     if (result.Status == Audit.Model.AuditStatusEnum.OK)
     {
         Rules.MethodResult hasIHCResult = this.HasFinalIHCResult(accessionOrder, panelSetOrderLynchSyndromeEvaluation);
         if (hasIHCResult.Success == false)
         {
             result.Status  = Audit.Model.AuditStatusEnum.Failure;
             result.Message = hasIHCResult.Message;
         }
     }
     return(result);
 }