public override void Run() { this.m_Status = AuditStatusEnum.OK; this.m_Message.Clear(); switch (this.m_PanelOrderToFinal.ScreeningType.ToUpper()) { case "DOT REVIEW": YellowstonePathology.Business.Rules.Cytology.DotReviewFinal dotReviewFinal = new YellowstonePathology.Business.Rules.Cytology.DotReviewFinal(); dotReviewFinal.Execute(this.m_SystemIdentity.User, this.m_PanelOrderToFinal, this.m_ExecutionStatus); break; case "PATHOLOGIST REVIEW": this.m_PanelSetOrderCytology.UpdateFromScreening(this.m_PanelOrderToFinal); YellowstonePathology.Business.Rules.Cytology.ScreeningFinal screeningFinal1 = new YellowstonePathology.Business.Rules.Cytology.ScreeningFinal(YellowstonePathology.Business.ProcessingModeEnum.Production); screeningFinal1.Execute(this.m_SystemIdentity.User, this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ExecutionStatus); break; default: this.m_PanelSetOrderCytology.UpdateFromScreening(this.m_PanelOrderToFinal); YellowstonePathology.Business.Rules.Cytology.ScreeningFinal screeningFinal2 = new YellowstonePathology.Business.Rules.Cytology.ScreeningFinal(YellowstonePathology.Business.ProcessingModeEnum.Production); screeningFinal2.Execute(this.m_SystemIdentity.User, this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ExecutionStatus); break; } if(this.m_ExecutionStatus.Halted == true) { this.m_Status = AuditStatusEnum.Failure; if(this.m_ExecutionStatus.ShowMessage == true) { this.m_Message.Append(this.m_ExecutionStatus.ExecutionMessagesString); } } }
public override void Run() { this.m_Status = AuditStatusEnum.OK; this.m_Message.Clear(); switch (this.m_PanelOrderToFinal.ScreeningType.ToUpper()) { case "DOT REVIEW": YellowstonePathology.Business.Rules.Cytology.DotReviewFinal dotReviewFinal = new YellowstonePathology.Business.Rules.Cytology.DotReviewFinal(); dotReviewFinal.Execute(this.m_SystemIdentity.User, this.m_PanelOrderToFinal, this.m_ExecutionStatus); break; case "PATHOLOGIST REVIEW": this.m_PanelSetOrderCytology.UpdateFromScreening(this.m_PanelOrderToFinal); YellowstonePathology.Business.Rules.Cytology.ScreeningFinal screeningFinal1 = new YellowstonePathology.Business.Rules.Cytology.ScreeningFinal(YellowstonePathology.Business.ProcessingModeEnum.Production); screeningFinal1.Execute(this.m_SystemIdentity.User, this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ExecutionStatus); break; default: this.m_PanelSetOrderCytology.UpdateFromScreening(this.m_PanelOrderToFinal); YellowstonePathology.Business.Rules.Cytology.ScreeningFinal screeningFinal2 = new YellowstonePathology.Business.Rules.Cytology.ScreeningFinal(YellowstonePathology.Business.ProcessingModeEnum.Production); screeningFinal2.Execute(this.m_SystemIdentity.User, this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ExecutionStatus); break; } if (this.m_ExecutionStatus.Halted == true) { this.m_Status = AuditStatusEnum.Failure; if (this.m_ExecutionStatus.ShowMessage == true) { this.m_Message.Append(this.m_ExecutionStatus.ExecutionMessagesString); } } }