public YellowstonePathology.Business.Test.LynchSyndrome.LSEResultStatus GetMatch() { YellowstonePathology.Business.Test.LynchSyndrome.LSEResultStatus result = null; foreach (YellowstonePathology.Business.Test.LynchSyndrome.LSEResultStatus lseResultStatus in this) { if (lseResultStatus.IsMatch() == true) { result = lseResultStatus; break; } } return(result); }
private bool SetLSEResults() { bool result = false; YellowstonePathology.Business.Test.LynchSyndrome.LSEResult lseResult = YellowstonePathology.Business.Test.LynchSyndrome.LSEResult.GetResult(this.m_AccessionOrder, this.m_PanelSetOrderLynchSyndromeEvaluation); YellowstonePathology.Business.Test.LynchSyndrome.LSEResult accessionLSEResult = YellowstonePathology.Business.Test.LynchSyndrome.LSEResultCollection.GetResult(lseResult, this.m_PanelSetOrderLynchSyndromeEvaluation.LynchSyndromeEvaluationType); if (accessionLSEResult == null) { this.m_LSEResult = lseResult; } else { this.m_LSEResult = accessionLSEResult; result = true; } YellowstonePathology.Business.Test.LynchSyndrome.LSEResultStatusCollection lseResultStatusCollection = new Business.Test.LynchSyndrome.LSEResultStatusCollection(this.m_LSEResult, this.m_AccessionOrder, this.m_PanelSetOrderLynchSyndromeEvaluation.LynchSyndromeEvaluationType); this.m_LSEResultStatus = lseResultStatusCollection.GetMatch(); this.NotifyPropertyChanged(""); return(result); }
private bool SetLSEResults() { bool result = false; YellowstonePathology.Business.Test.LynchSyndrome.LSEResult lseResult = YellowstonePathology.Business.Test.LynchSyndrome.LSEResult.GetResult(this.m_AccessionOrder, this.m_PanelSetOrderLynchSyndromeEvaluation); YellowstonePathology.Business.Test.LynchSyndrome.LSEResult accessionLSEResult = YellowstonePathology.Business.Test.LynchSyndrome.LSEResultCollection.GetResult(lseResult, this.m_PanelSetOrderLynchSyndromeEvaluation.LynchSyndromeEvaluationType); if (accessionLSEResult == null) { this.m_LSEResult = lseResult; } else { this.m_LSEResult = accessionLSEResult; result = true; } YellowstonePathology.Business.Test.LynchSyndrome.LSEResultStatusCollection lseResultStatusCollection = new Business.Test.LynchSyndrome.LSEResultStatusCollection(this.m_LSEResult, this.m_AccessionOrder, this.m_PanelSetOrderLynchSyndromeEvaluation.LynchSyndromeEvaluationType, this.m_PanelSetOrderLynchSyndromeEvaluation.OrderedOnId); this.m_LSEResultStatus = lseResultStatusCollection.GetMatch(); this.NotifyPropertyChanged(""); return result; }