public MPNExtendedReflexResult(AccessionOrder accessionOrder) { this.m_AccessionOrder = accessionOrder; YellowstonePathology.Business.Test.MPNExtendedReflex.MPNExtendedReflexTest panelSetMPNExtendedReflex = new YellowstonePathology.Business.Test.MPNExtendedReflex.MPNExtendedReflexTest(); this.m_PanelSetOrderMPNExtendedReflex = (YellowstonePathology.Business.Test.MPNExtendedReflex.PanelSetOrderMPNExtendedReflex) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetMPNExtendedReflex.PanelSetId); this.m_SpecimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrderMPNExtendedReflex.OrderedOn, this.m_PanelSetOrderMPNExtendedReflex.OrderedOnId); this.m_PanelSetJAK2V617F = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest(); this.m_PanelSetCalreticulinMutationAnalysis = new YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTest(); this.m_PanelSetMPL = new YellowstonePathology.Business.Test.MPL.MPLTest(); this.m_PanelSetOrderJAK2V617F = (YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelSetJAK2V617F.PanelSetId); this.m_HasCALR = this.m_AccessionOrder.PanelSetOrderCollection.Exists(this.m_PanelSetCalreticulinMutationAnalysis.PanelSetId); if (this.m_HasCALR == true) { this.m_PanelSetOrderCalreticulinMutationAnalysis = (YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelSetCalreticulinMutationAnalysis.PanelSetId); } this.m_HasMPL = this.m_AccessionOrder.PanelSetOrderCollection.Exists(this.m_PanelSetMPL.PanelSetId); if (this.m_HasMPL == true) { this.m_PanelSetOrderMPL = (YellowstonePathology.Business.Test.MPL.PanelSetOrderMPL) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelSetMPL.PanelSetId); } this.m_AuditCollection = new Audit.Model.AuditCollection(); this.m_JAK2V617FResult = new MPNExtendedReflexJAK2Result(this.m_PanelSetOrderJAK2V617F); this.m_AuditCollection.Add(this.m_JAK2V617FResult); this.m_CALRResult = new MPNExtendedReflexCALRResult(this.m_AccessionOrder); this.m_AuditCollection.Add(this.m_CALRResult); this.m_MPLResult = new MPNExtendedReflexMPLResult(this.m_AccessionOrder); this.m_AuditCollection.Add(this.m_MPLResult); this.SetInterpretation(); this.SetMethod(); this.SetComment(); this.m_References = References; }
public MPNExtendedReflexResult(AccessionOrder accessionOrder) { this.m_AccessionOrder = accessionOrder; YellowstonePathology.Business.Test.MPNExtendedReflex.MPNExtendedReflexTest panelSetMPNExtendedReflex = new YellowstonePathology.Business.Test.MPNExtendedReflex.MPNExtendedReflexTest(); this.m_PanelSetOrderMPNExtendedReflex = (YellowstonePathology.Business.Test.MPNExtendedReflex.PanelSetOrderMPNExtendedReflex)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetMPNExtendedReflex.PanelSetId); this.m_SpecimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrderMPNExtendedReflex.OrderedOn, this.m_PanelSetOrderMPNExtendedReflex.OrderedOnId); this.m_PanelSetJAK2V617F = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest(); this.m_PanelSetCalreticulinMutationAnalysis = new YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTest(); this.m_PanelSetMPL = new YellowstonePathology.Business.Test.MPL.MPLTest(); this.m_PanelSetOrderJAK2V617F = (YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelSetJAK2V617F.PanelSetId); this.m_HasCALR = this.m_AccessionOrder.PanelSetOrderCollection.Exists(this.m_PanelSetCalreticulinMutationAnalysis.PanelSetId); if (this.m_HasCALR == true) { this.m_PanelSetOrderCalreticulinMutationAnalysis = (YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelSetCalreticulinMutationAnalysis.PanelSetId); } this.m_HasMPL = this.m_AccessionOrder.PanelSetOrderCollection.Exists(this.m_PanelSetMPL.PanelSetId); if (this.m_HasMPL == true) { this.m_PanelSetOrderMPL = (YellowstonePathology.Business.Test.MPL.PanelSetOrderMPL)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelSetMPL.PanelSetId); } this.m_AuditCollection = new Audit.Model.AuditCollection(); this.m_JAK2V617FResult = new MPNExtendedReflexJAK2Result(this.m_PanelSetOrderJAK2V617F); this.m_AuditCollection.Add(this.m_JAK2V617FResult); this.m_CALRResult = new MPNExtendedReflexCALRResult(this.m_AccessionOrder); this.m_AuditCollection.Add(this.m_CALRResult); this.m_MPLResult = new MPNExtendedReflexMPLResult(this.m_AccessionOrder); this.m_AuditCollection.Add(this.m_MPLResult); this.SetInterpretation(); this.SetMethod(); this.SetComment(); this.m_References = References; }