public EGFRToALKReflexAnalysisPDL1Result(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisResult egfrMutationAnalysisResult, YellowstonePathology.Business.Test.EGFRToALKReflexAnalysis.EGFRToALKReflexAnalysisTestOrder egfrToALKReflexAnalysisTestOrder) : base(accessionOrder, 215) { if (egfrToALKReflexAnalysisTestOrder.QNSForPDL1 == true) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.QNS; } else { if (egfrMutationAnalysisResult != null) { YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisDetectedResult egfrMutationAnalysisDetectedResult = new EGFRMutationAnalysis.EGFRMutationAnalysisDetectedResult(); if (egfrMutationAnalysisResult.ResultCode == egfrMutationAnalysisDetectedResult.ResultCode) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.NotIndicated; } else { if (this.m_Ordered == false) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.OrderRequired; } if (this.m_Final == true) { YellowstonePathology.Business.Test.PDL1.PDL1ResultCollection pdl1ResultCollection = new PDL1.PDL1ResultCollection(); YellowstonePathology.Business.Test.PDL1.PDL1TestOrder pdl1TestOrder = (YellowstonePathology.Business.Test.PDL1.PDL1TestOrder)this.m_PanelSetOrder; this.m_ResultAbbreviation = pdl1ResultCollection.GetByResultCode(pdl1TestOrder.ResultCode).ResultAbbreviation; } } } else { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.Pending; } } }
public EGFRToALKReflexAnalysisPDL1Result(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisResult egfrMutationAnalysisResult, YellowstonePathology.Business.Test.EGFRToALKReflexAnalysis.EGFRToALKReflexAnalysisTestOrder egfrToALKReflexAnalysisTestOrder) : base(accessionOrder, 215) { if (egfrToALKReflexAnalysisTestOrder.QNSForPDL1 == true) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.QNS; } else { if (egfrMutationAnalysisResult != null) { YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisDetectedResult egfrMutationAnalysisDetectedResult = new EGFRMutationAnalysis.EGFRMutationAnalysisDetectedResult(); if (egfrMutationAnalysisResult.ResultCode == egfrMutationAnalysisDetectedResult.ResultCode) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.NotIndicated; } else { if (this.m_Ordered == false) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.OrderRequired; } if (this.m_Final == true) { YellowstonePathology.Business.Test.PDL1.PDL1ResultCollection pdl1ResultCollection = new PDL1.PDL1ResultCollection(); YellowstonePathology.Business.Test.PDL1.PDL1TestOrder pdl1TestOrder = (YellowstonePathology.Business.Test.PDL1.PDL1TestOrder) this.m_PanelSetOrder; this.m_ResultAbbreviation = pdl1ResultCollection.GetByResultCode(pdl1TestOrder.ResultCode).ResultAbbreviation; } } } else { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.Pending; } } }