Beispiel #1
0
 public LSEResultStatus(LSEResult lseResult, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string orderedOnId)
 {
     this.m_LSEResult = lseResult;
     this.m_AccessionOrder = accessionOrder;
     this.m_OrderedOnId = orderedOnId;
     this.m_LSEResultList = new List<LSEResult>();
 }
Beispiel #2
0
        public void SetSummaryResult(YellowstonePathology.Business.Test.LynchSyndrome.LSEResult lSEResult)
        {
            if (string.IsNullOrEmpty(this.Result) == false)
            {
                YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKNotDetectedResult notDetectedResult = new BRAFV600EKNotDetectedResult();
                YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKDetectedResult    detectedResult    = new BRAFV600EKDetectedResult();

                if (this.ResultCode == notDetectedResult.ResultCode)
                {
                    lSEResult.BrafResult = YellowstonePathology.Business.Test.LynchSyndrome.LSEResultEnum.Negative;
                }
                else if (this.ResultCode == detectedResult.ResultCode)
                {
                    lSEResult.BrafResult = YellowstonePathology.Business.Test.LynchSyndrome.LSEResultEnum.Positive;
                }
            }
        }
        public LSEResultStatusCollection(YellowstonePathology.Business.Test.LynchSyndrome.LSEResult lseResult, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string lseType)
        {
            this.m_AccessionOrder = accessionOrder;

            if (lseType == YellowstonePathology.Business.Test.LynchSyndrome.LSEType.NOTSET)
            {
                this.Add(new LSEResultStatusNotSet(lseResult, this.m_AccessionOrder));
            }
            else if (lseType == YellowstonePathology.Business.Test.LynchSyndrome.LSEType.GYN)
            {
                this.Add(new LSEResultStatusMethylationAnalysisRequiredGYN(lseResult, this.m_AccessionOrder));
            }
            else
            {
                //The order of these entries is critical
                this.Add(new LSEResultStatusMethylationAnalysisRequired(lseResult, this.m_AccessionOrder));
                this.Add(new LSEResultStatusBRAFRequired(lseResult, this.m_AccessionOrder));
                this.Add(new LSEResultStatusCompleteAfterMSI(lseResult, this.m_AccessionOrder));
            }
        }
Beispiel #4
0
        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;
        }
Beispiel #6
0
 public void SetSummaryResult(YellowstonePathology.Business.Test.LynchSyndrome.LSEResult lSEResult)
 {
 }
Beispiel #7
0
 public LSEResultStatus(LSEResult lseResult, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_LSEResult      = lseResult;
     this.m_AccessionOrder = accessionOrder;
     this.m_LSEResultList  = new List <LSEResult>();
 }