public MPNExtendedReflexCALRResult(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTest panelSetCalreticulinMutationAnalysis = new YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(panelSetCalreticulinMutationAnalysis.PanelSetId) == true)
            {
                YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTestOrder panelSetOrderCalreticulinMutationAnalysis = (YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetCalreticulinMutationAnalysis.PanelSetId);
                if (panelSetOrderCalreticulinMutationAnalysis.Final == true)
                {
                    string calrResult = panelSetOrderCalreticulinMutationAnalysis.Result;
                    if (panelSetOrderCalreticulinMutationAnalysis.Result == DetectedResult)
                    {
                        calrResult = calrResult + "(" + panelSetOrderCalreticulinMutationAnalysis.Mutations + ")";
                    }
                    this.m_Message = new StringBuilder(calrResult);
                }
                else
                {
                    this.m_Message = new StringBuilder(MPNExtendedReflexResult.PendingResult);
                }
            }
            else
            {
                YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest panelSetJAK2V617F = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest();
                if (accessionOrder.PanelSetOrderCollection.Exists(panelSetJAK2V617F.PanelSetId) == true)
                {
                    YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTestOrder panelSetOrderJAK2V617F = (YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetJAK2V617F.PanelSetId);
                    if (panelSetOrderJAK2V617F.Final == true)
                    {
                        YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult jak2V617NotDetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult();
                        YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FDetectedResult jak2V617DetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FDetectedResult();

                        if (panelSetOrderJAK2V617F.ResultCode == jak2V617NotDetectedResult.ResultCode)
                        {
                            this.m_ActionRequired = true;
                            this.m_Message = new StringBuilder(MPNExtendedReflexResult.PleaseOrder);
                        }
                        else if (panelSetOrderJAK2V617F.ResultCode == jak2V617DetectedResult.ResultCode)
                        {
                            this.m_Message = new StringBuilder(MPNExtendedReflexResult.NotClinicallyIndicated);
                        }
                    }
                    else
                    {
                        this.m_Message = new StringBuilder(MPNExtendedReflexResult.NotOrdered);
                    }
                }
                else
                {
                    this.m_Message = new StringBuilder(MPNExtendedReflexResult.UnknownState);
                }
            }
        }
Ejemplo n.º 2
0
        private bool AreAllNotDetected()
        {
            bool result = false;

            YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult jak2V617FNotDetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult();
            YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisResultNotDetected calreticulinMutationAnalysisResultNotDetected = new YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisResultNotDetected();
            YellowstonePathology.Business.Test.MPL.MPLResultNotDetected mplResultNotDetected = new MPL.MPLResultNotDetected();

            if (this.m_PanelSetOrderJAK2V617F.ResultCode == jak2V617FNotDetectedResult.ResultCode)
            {
                if (this.m_PanelSetOrderCalreticulinMutationAnalysis.ResultCode == calreticulinMutationAnalysisResultNotDetected.ResultCode)
                {
                    if (this.m_PanelSetOrderMPL.ResultCode == mplResultNotDetected.ResultCode)
                    {
                        result = true;
                    }
                }
            }

            return(result);
        }
        private void SetInterpretation()
        {
            if (this.m_HasJAK2Exon1214 == true)
            {
                YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult jak2V617FNotDetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult();
                if (this.m_PanelSetOrderJAK2V617F.Result == jak2V617FNotDetectedResult.Result)
                {
                    YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214NotDetectedResult jak2Exon1214NotDetectedResult = new YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214NotDetectedResult();
                    YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214DetectedResult jak2Exon1214DetectedResult = new YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214DetectedResult();

                    if (this.m_PanelSetOrderJAK2Exon1214.ResultCode == jak2Exon1214NotDetectedResult.ResultCode)
                    {
                        this.m_Interpretation = BothNotDetectedInterpretation;
                    }
                    else if (this.m_PanelSetOrderJAK2Exon1214.ResultCode == jak2Exon1214DetectedResult.ResultCode)
                    {
                        this.m_Interpretation = JAK2NotDetectedExon1214DetectedInterpretation;
                    }
                }
            }
            else
            {
                YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FDetectedResult jak2V617FDetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FDetectedResult();
                if (this.m_PanelSetOrderJAK2V617F.Result == jak2V617FDetectedResult.Result)
                {
                    this.m_Interpretation = JAK2DetectedInterpretation;
                }
            }
        }
Ejemplo n.º 4
0
        public MPNExtendedReflexCALRResult(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTest panelSetCalreticulinMutationAnalysis = new YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(panelSetCalreticulinMutationAnalysis.PanelSetId) == true)
            {
                YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTestOrder panelSetOrderCalreticulinMutationAnalysis = (YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetCalreticulinMutationAnalysis.PanelSetId);
                if (panelSetOrderCalreticulinMutationAnalysis.Final == true)
                {
                    string calrResult = panelSetOrderCalreticulinMutationAnalysis.Result;
                    if (panelSetOrderCalreticulinMutationAnalysis.Result == DetectedResult)
                    {
                        calrResult = calrResult + "(" + panelSetOrderCalreticulinMutationAnalysis.Mutations + ")";
                    }
                    this.m_Message = new StringBuilder(calrResult);
                }
                else
                {
                    this.m_Message = new StringBuilder(MPNExtendedReflexResult.PendingResult);
                }
            }
            else
            {
                YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest panelSetJAK2V617F = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest();
                if (accessionOrder.PanelSetOrderCollection.Exists(panelSetJAK2V617F.PanelSetId) == true)
                {
                    YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTestOrder panelSetOrderJAK2V617F = (YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetJAK2V617F.PanelSetId);
                    if (panelSetOrderJAK2V617F.Final == true)
                    {
                        YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult jak2V617NotDetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult();
                        YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FDetectedResult    jak2V617DetectedResult    = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FDetectedResult();

                        if (panelSetOrderJAK2V617F.ResultCode == jak2V617NotDetectedResult.ResultCode)
                        {
                            this.m_ActionRequired = true;
                            this.m_Message        = new StringBuilder(MPNExtendedReflexResult.PleaseOrder);
                        }
                        else if (panelSetOrderJAK2V617F.ResultCode == jak2V617DetectedResult.ResultCode)
                        {
                            this.m_Message = new StringBuilder(MPNExtendedReflexResult.NotClinicallyIndicated);
                        }
                    }
                    else
                    {
                        this.m_Message = new StringBuilder(MPNExtendedReflexResult.NotOrdered);
                    }
                }
                else
                {
                    this.m_Message = new StringBuilder(MPNExtendedReflexResult.UnknownState);
                }
            }
        }
        private bool AreAllNotDetected()
        {
            bool result = false;

            YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult jak2V617FNotDetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult();
            YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisResultNotDetected calreticulinMutationAnalysisResultNotDetected = new YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisResultNotDetected();
            YellowstonePathology.Business.Test.MPL.MPLResultNotDetected mplResultNotDetected = new MPL.MPLResultNotDetected();

            if (this.m_PanelSetOrderJAK2V617F.ResultCode == jak2V617FNotDetectedResult.ResultCode)
            {
                if (this.m_PanelSetOrderCalreticulinMutationAnalysis.ResultCode == calreticulinMutationAnalysisResultNotDetected.ResultCode)
                {
                    if (this.m_PanelSetOrderMPL.ResultCode == mplResultNotDetected.ResultCode)
                    {
                        result = true;
                    }
                }
            }

            return result;
        }
Ejemplo n.º 6
0
        private void SetInterpretation()
        {
            if (this.m_HasJAK2Exon1214 == true)
            {
                YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult jak2V617FNotDetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FNotDetectedResult();
                if (this.m_PanelSetOrderJAK2V617F.Result == jak2V617FNotDetectedResult.Result)
                {
                    YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214NotDetectedResult jak2Exon1214NotDetectedResult = new YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214NotDetectedResult();
                    YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214DetectedResult    jak2Exon1214DetectedResult    = new YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214DetectedResult();

                    if (this.m_PanelSetOrderJAK2Exon1214.ResultCode == jak2Exon1214NotDetectedResult.ResultCode)
                    {
                        this.m_Interpretation = BothNotDetectedInterpretation;
                    }
                    else if (this.m_PanelSetOrderJAK2Exon1214.ResultCode == jak2Exon1214DetectedResult.ResultCode)
                    {
                        this.m_Interpretation = JAK2NotDetectedExon1214DetectedInterpretation;
                    }
                }
            }
            else
            {
                YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FDetectedResult jak2V617FDetectedResult = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FDetectedResult();
                if (this.m_PanelSetOrderJAK2V617F.Result == jak2V617FDetectedResult.Result)
                {
                    this.m_Interpretation = JAK2DetectedInterpretation;
                }
            }
        }