public PanelSetOrderMLH1MethylationAnalysis(string masterAccessionNo, string reportNo, string objectId,
                                             YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                             YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                             bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #2
0
 public ReviewForAdditionalTestingTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                            YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                            YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                            bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
 public NeoARRAYSNPCytogeneticProfileTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                               YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                               YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                               bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
 public PanelSetOrderMultipleMyelomaIgHComplexByFish(string masterAccessionNo, string reportNo, string objectId,
                                                     YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                                     YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                                     bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #5
0
        public HER2AmplificationByISHResultPage(YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTestOrder testOrder,
                                                YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                                YellowstonePathology.Business.User.SystemIdentity systemIdentity,
                                                YellowstonePathology.UI.Navigation.PageNavigator pageNavigator) : base(testOrder, accessionOrder)
        {
            this.m_PanelSetOrder  = testOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_PageNavigator  = pageNavigator;

            this.m_PageHeaderText                 = this.m_PanelSetOrder.PanelSetName + " Results For: " + this.m_AccessionOrder.PatientDisplayName;
            this.m_IndicatorCollection            = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHIndicatorCollection();
            this.m_SampleAdequacyCollection       = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHSampleAdequacyCollection();
            this.m_ProbeSignalIntensityCollection = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHProbeSignalIntensityCollection();
            this.m_GeneticHeterogeneityCollection = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHGeneticHeterogeneityCollection();
            YellowstonePathology.Business.Interface.IOrderTarget orderTarget = this.m_AccessionOrder.SpecimenOrderCollection.GetOrderTarget(this.m_PanelSetOrder.OrderedOnId);
            this.m_SpecimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId);

            this.m_OrderedOnDescription = orderTarget.GetDescription();
            InitializeComponent();

            DataContext = this;


            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
 public TCellRecepterBetaGeneRearrangementTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                                    YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                                    YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                                    bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #7
0
 public RUNX1RUNX1T1AML1ETOTranslocationTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                                  YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                                  YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                                  bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #8
0
 public ComprehensiveColonCancerProfile(string masterAccessionNo, string reportNo, string objectId,
                                        YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                        YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                        bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #9
0
 public ExtractAndHoldForPreauthorizationTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                                   YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                                   YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                                   bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #10
0
 public TestOrderInfo(YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet, YellowstonePathology.Business.Interface.IOrderTarget orderTarget, bool distribute)
 {
     this.m_PanelSet           = panelSet;
     this.m_OrderTarget        = orderTarget;
     this.m_Distribute         = distribute;
     this.m_OrderTargetIsKnown = true;
 }
Пример #11
0
 public InvasiveBreastPanel(string masterAccessionNo, string reportNo, string objectId,
                            YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                            YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                            bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #12
0
        public HER2AmplificationSummaryResultPage(YellowstonePathology.Business.Test.HER2AnalysisSummary.HER2AnalysisSummaryTestOrder testOrder,
                                                  YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                                  YellowstonePathology.Business.User.SystemIdentity systemIdentity) : base(testOrder, accessionOrder)
        {
            this.m_PanelSetOrder  = testOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_PageHeaderText = this.m_PanelSetOrder.PanelSetName + " Results For: " + this.m_AccessionOrder.PatientDisplayName;

            this.m_IndicatorCollection            = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHIndicatorCollection();
            this.m_SampleAdequacyCollection       = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHSampleAdequacyCollection();
            this.m_ProbeSignalIntensityCollection = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHProbeSignalIntensityCollection();
            this.m_GeneticHeterogeneityCollection = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHGeneticHeterogeneityCollection();
            YellowstonePathology.Business.Interface.IOrderTarget orderTarget = this.m_AccessionOrder.SpecimenOrderCollection.GetOrderTarget(this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = orderTarget.GetDescription();

            YellowstonePathology.Business.Test.HER2AmplificationRecount.HER2AmplificationRecountTest test = new Business.Test.HER2AmplificationRecount.HER2AmplificationRecountTest();
            this.m_RecountVisibility = this.m_AccessionOrder.PanelSetOrderCollection.Exists(test.PanelSetId, this.m_PanelSetOrder.OrderedOnId, true) ? Visibility.Visible : Visibility.Collapsed;

            InitializeComponent();

            DataContext = this;


            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
Пример #13
0
        public override void OrderInitialTests(AccessionOrder accessionOrder, YellowstonePathology.Business.Interface.IOrderTarget orderTarget)
        {
            YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTest her2AmplificationByISHTest = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTest();
            YellowstonePathology.Business.Test.TestOrderInfo            testOrderInfo         = new TestOrderInfo(her2AmplificationByISHTest, orderTarget, true);
            YellowstonePathology.Business.Visitor.OrderTestOrderVisitor orderTestOrderVisitor = new Visitor.OrderTestOrderVisitor(testOrderInfo);
            accessionOrder.TakeATrip(orderTestOrderVisitor);

            bool hasSurgical = accessionOrder.PanelSetOrderCollection.Exists(13);

            if (hasSurgical == true)
            {
                string surgicalReportNo = accessionOrder.PanelSetOrderCollection.GetSurgical().ReportNo;
                YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = (YellowstonePathology.Business.Test.AliquotOrder)orderTarget;

                YellowstonePathology.Business.Test.Model.EstrogenReceptorSemiquant er = new YellowstonePathology.Business.Test.Model.EstrogenReceptorSemiquant();
                YellowstonePathology.Business.Visitor.OrderTestVisitor             orderERTestVisitor = new Visitor.OrderTestVisitor(surgicalReportNo, er, er.OrderComment, null, false, aliquotOrder, false, false, accessionOrder.TaskOrderCollection);
                accessionOrder.TakeATrip(orderERTestVisitor);

                YellowstonePathology.Business.Test.Model.ProgesteroneReceptorSemiquant pr = new YellowstonePathology.Business.Test.Model.ProgesteroneReceptorSemiquant();
                YellowstonePathology.Business.Visitor.OrderTestVisitor orderPRTestVisitor = new Visitor.OrderTestVisitor(surgicalReportNo, pr, pr.OrderComment, null, false, aliquotOrder, false, false, accessionOrder.TaskOrderCollection);
                accessionOrder.TakeATrip(orderPRTestVisitor);
            }
            else
            {
                YellowstonePathology.Business.Test.ErPrSemiQuantitative.ErPrSemiQuantitativeTest erPrSemiQuantitativeTest = new YellowstonePathology.Business.Test.ErPrSemiQuantitative.ErPrSemiQuantitativeTest();
                YellowstonePathology.Business.Test.TestOrderInfo            testOrderInfoERPR         = new TestOrderInfo(erPrSemiQuantitativeTest, orderTarget, true);
                YellowstonePathology.Business.Visitor.OrderTestOrderVisitor orderTestOrderVisitorERPR = new Visitor.OrderTestOrderVisitor(testOrderInfoERPR);
                accessionOrder.TakeATrip(orderTestOrderVisitorERPR);
            }
        }
 public ThrombocytopeniaProfileV2TestOrder(string masterAccessionNo, string reportNo, string objectId,
                                           YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                           YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                           bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
     this.m_AntiPlateletAntibodyIgGReference     = "Negative";
     this.m_AntiPlateletAntibodyIgMReference     = "Negative";
     this.m_ReticulatedPlateletAnalysisReference = "0-0.37%";
     this.m_Interpretation = "* Negative:  IgG and/or IgM values are not elevated.  There is no indication that immune mechanisms " +
                             "are involved in the thrombocytopenia.  Other etiologies should be considered." + Environment.NewLine + Environment.NewLine +
                             "* Weakly Positive: The moderately elevated IgG and / or IgM value suggests that immune mechanisms could be involved in the " +
                             "thrombocytopenia.  Other etiologies should also be considered." + Environment.NewLine + Environment.NewLine +
                             "*Positive: The elevated IgG and/ or IgM value suggests that immune mechanisms are involved in the thrombocytopenia." +
                             Environment.NewLine + Environment.NewLine +
                             "*Strongly Positive: The IgG and / or IgM value is greatly elevated and indicates that immune mechanisms are involved in " +
                             "the thrombocytopenia.";
     this.m_Method = "Reticulated Platelets: Quantitative Flow Cytometry" + Environment.NewLine +
                     "Platelet Associated Antibodies: Qualitative Flow Cytometry";
     this.m_ASRComment = "Tests utilizing Analytic Specific Reagents (ASR’s) were developed and performance characteristics " +
                         "determined by Yellowstone Pathology Institute, Inc.  They have not been cleared or approved by the U.S. Food and Drug " +
                         "Administration.  The FDA has determined that such clearance or approval is not necessary.  ASR’s may be used for clinical " +
                         "purposes and should not be regarded as investigational or for research.  This laboratory is certified under the Clinical " +
                         "Laboratory Improvement Amendments of 1988 (CLIA-88) as qualified to perform high complexity clinical laboratory testing.";
 }
Пример #15
0
 public MicrosatelliteInstabilityAnalysisTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                                   YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                                   YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                                   bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
 public PanelSetOrderHighGradeLargeBCellLymphoma(string masterAccessionNo, string reportNo, string objectId,
                                                 YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                                 YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                                 bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
 public PlasmaCellMyelomaRiskStratificationTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                                     YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                                     YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                                     bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
 public PanelSetOrderHer2AmplificationByIHC(string masterAccessionNo, string reportNo, string objectId,
                                            YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                            YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                            bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #19
0
 public EGFRToALKReflexAnalysisTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                         YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                         YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                         bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #20
0
 private void ButtonNext_Click(object sender, RoutedEventArgs e)
 {
     if (this.TreeViewAccession.SelectedItem != null)
     {
         YellowstonePathology.Business.Interface.IOrderTarget orderTarget = (YellowstonePathology.Business.Interface.IOrderTarget) this.TreeViewAccession.SelectedItem;
         if (this.m_TestOrderInfo.PanelSet.EnforceOrderTarget == true)
         {
             YellowstonePathology.Business.Rules.MethodResult methodResult = this.m_TestOrderInfo.PanelSet.OrderTargetIsOk(orderTarget);
             if (methodResult.Success == true)
             {
                 this.m_TestOrderInfo.OrderTarget        = orderTarget;
                 this.m_TestOrderInfo.OrderTargetIsKnown = true;
                 YellowstonePathology.UI.CustomEventArgs.TestOrderInfoEventArgs testOrderInfoEventArgs = new CustomEventArgs.TestOrderInfoEventArgs(this.m_TestOrderInfo);
                 this.TargetSelected(this, testOrderInfoEventArgs);
             }
             else
             {
                 MessageBox.Show(methodResult.Message);
             }
         }
         else
         {
             this.m_TestOrderInfo.OrderTarget        = orderTarget;
             this.m_TestOrderInfo.OrderTargetIsKnown = true;
             YellowstonePathology.UI.CustomEventArgs.TestOrderInfoEventArgs testOrderInfoEventArgs = new CustomEventArgs.TestOrderInfoEventArgs(this.m_TestOrderInfo);
             this.TargetSelected(this, testOrderInfoEventArgs);
         }
     }
     else
     {
         MessageBox.Show("You must selected an item from the tree before continuing.");
     }
 }
Пример #21
0
 public PanelSetOrderMPNStandardReflex(string masterAccessionNo, string reportNo, string objectId,
                                       YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                       YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                       bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
 public NonHodgkinsLymphomaFISHPanelTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                              YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                              YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                              bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #23
0
 public AndrogenReceptorTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                  YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                  YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                  bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #24
0
 public DeletionsForGlioma1p19qTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                         YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                         YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                         bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #25
0
        private void EGFRToALKReflexPage_OrderALKROS1AndPDL1(object sender, EventArgs e)
        {
            YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTest alkForNSCLCByFISHTest = new YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTest();
            YellowstonePathology.Business.Interface.IOrderTarget        orderTarget      = this.m_AccessionOrder.SpecimenOrderCollection.GetOrderTarget(this.m_EGFRToALKReflexAnalysisTestOrder.OrderedOnId);
            YellowstonePathology.Business.Test.TestOrderInfo            testOrderInfoALK = new YellowstonePathology.Business.Test.TestOrderInfo(alkForNSCLCByFISHTest, orderTarget, false);
            YellowstonePathology.Business.Visitor.OrderTestOrderVisitor orderALKVisitor  = new Business.Visitor.OrderTestOrderVisitor(testOrderInfoALK);
            this.m_AccessionOrder.TakeATrip(orderALKVisitor);
            orderALKVisitor.PanelSetOrder.Distribute = false;

            YellowstonePathology.Business.Task.Model.TaskOrder taskOrderALK = this.m_AccessionOrder.CreateTask(testOrderInfoALK);
            this.m_AccessionOrder.TaskOrderCollection.Add(taskOrderALK);

            YellowstonePathology.Business.Test.ROS1ByFISH.ROS1ByFISHTest ros1ByFISHTest    = new Business.Test.ROS1ByFISH.ROS1ByFISHTest();
            YellowstonePathology.Business.Test.TestOrderInfo             testOrderInfoROS1 = new YellowstonePathology.Business.Test.TestOrderInfo(ros1ByFISHTest, orderTarget, false);
            YellowstonePathology.Business.Visitor.OrderTestOrderVisitor  orderROS1Visitor  = new Business.Visitor.OrderTestOrderVisitor(testOrderInfoROS1);
            this.m_AccessionOrder.TakeATrip(orderROS1Visitor);
            orderROS1Visitor.PanelSetOrder.Distribute = false;

            YellowstonePathology.Business.Task.Model.TaskOrder taskOrderROS1 = this.m_AccessionOrder.CreateTask(testOrderInfoROS1);
            this.m_AccessionOrder.TaskOrderCollection.Add(taskOrderROS1);

            YellowstonePathology.Business.Test.PDL1.PDL1Test            pdl1Test          = new Business.Test.PDL1.PDL1Test();
            YellowstonePathology.Business.Test.TestOrderInfo            testOrderInfoPDL1 = new YellowstonePathology.Business.Test.TestOrderInfo(pdl1Test, orderTarget, false);
            YellowstonePathology.Business.Visitor.OrderTestOrderVisitor orderPDL1Visitor  = new Business.Visitor.OrderTestOrderVisitor(testOrderInfoPDL1);
            this.m_AccessionOrder.TakeATrip(orderPDL1Visitor);
            orderROS1Visitor.PanelSetOrder.Distribute = false;

            YellowstonePathology.Business.Task.Model.TaskOrder taskOrderPDL1 = this.m_AccessionOrder.CreateTask(testOrderInfoPDL1);
            this.m_AccessionOrder.TaskOrderCollection.Add(taskOrderPDL1);

            this.m_AccessionOrder.PanelSetOrderCollection.UpdateTumorNucleiPercentage(this.m_EGFRToALKReflexAnalysisTestOrder);
        }
Пример #26
0
 public ChromosomeAnalysisForFetalAnomalyTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                                   YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                                   YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                                   bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #27
0
 public BladderCancerFISHUrovysionTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                            YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                            YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                            bool distribute)
     : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
 {
 }
Пример #28
0
        private void HandlePanelSetOrder()
        {
            this.m_ReportNo = this.m_AccessionOrder.GetNextReportNo(this.m_PanelSet);
            string objectId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();

            bool distribute = this.m_TestOrderInfo.Distribute;

            if (this.m_PanelSet.NeverDistribute == true)
            {
                distribute = false;
            }

            this.m_PanelSetOrder = null;
            if (this.m_PanelSet.HasNoOrderTarget == true)
            {
                this.m_PanelSetOrder = YellowstonePathology.Business.Test.PanelSetOrderFactory.CreatePanelSetOrder(this.m_AccessionOrder.MasterAccessionNo, this.m_ReportNo, objectId, this.m_PanelSet, distribute);
            }
            else
            {
                if (this.m_OrderTargetIsKnow == false)
                {
                    this.m_OrderTarget = this.m_AccessionOrder.SpecimenOrderCollection.GetOrderTarget(this.m_PanelSet.OrderTargetTypeCollectionRestrictions);
                }
                this.m_PanelSetOrder = YellowstonePathology.Business.Test.PanelSetOrderFactory.CreatePanelSetOrder(this.m_AccessionOrder.MasterAccessionNo, this.m_ReportNo, objectId, this.m_PanelSet, this.m_OrderTarget, distribute);
            }

            this.m_AccessionOrder.PanelSetOrderCollection.Add(this.m_PanelSetOrder);
            this.m_AccessionOrder.UpdateCaseAssignment(this.m_PanelSetOrder);
            this.m_TestOrderInfo.PanelSetOrder = this.m_PanelSetOrder;
        }
Пример #29
0
 public override void OrderInitialTests(AccessionOrder accessionOrder, YellowstonePathology.Business.Interface.IOrderTarget orderTarget)
 {
     YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeIHCPanelTest lynchSyndromeIHCPanelTest = new YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeIHCPanelTest();
     YellowstonePathology.Business.Test.TestOrderInfo            testOrderInfo         = new TestOrderInfo(lynchSyndromeIHCPanelTest, orderTarget, false);
     YellowstonePathology.Business.Visitor.OrderTestOrderVisitor orderTestOrderVisitor = new Visitor.OrderTestOrderVisitor(testOrderInfo);
     accessionOrder.TakeATrip(orderTestOrderVisitor);
 }
Пример #30
0
 public OrderTestOrderVisitor(YellowstonePathology.Business.Test.TestOrderInfo testOrderInfo)
     : base(true, true)
 {
     this.m_OrderTargetIsKnow = testOrderInfo.OrderTargetIsKnown;
     this.m_PanelSet          = testOrderInfo.PanelSet;
     this.m_OrderTarget       = testOrderInfo.OrderTarget;
     this.m_TestOrderInfo     = testOrderInfo;
 }
Пример #31
0
 public OrderTestOrderVisitor(YellowstonePathology.Business.Test.TestOrderInfo testOrderInfo)
     : base(true, true)
 {
     this.m_OrderTargetIsKnow = testOrderInfo.OrderTargetIsKnown;
     this.m_PanelSet = testOrderInfo.PanelSet;
     this.m_OrderTarget = testOrderInfo.OrderTarget;
     this.m_TestOrderInfo = testOrderInfo;
 }
Пример #32
0
        private void HandlePanelSetOrder()
        {
            this.m_ReportNo = this.m_AccessionOrder.GetNextReportNo(this.m_PanelSet);
            string objectId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();

            bool distribute = this.m_TestOrderInfo.Distribute;
            if (this.m_PanelSet.NeverDistribute == true)
            {
                distribute = false;
            }

            this.m_PanelSetOrder = null;
            if (this.m_PanelSet.HasNoOrderTarget == true)
            {
                this.m_PanelSetOrder = YellowstonePathology.Business.Test.PanelSetOrderFactory.CreatePanelSetOrder(this.m_AccessionOrder.MasterAccessionNo, this.m_ReportNo, objectId, this.m_PanelSet, distribute);
            }
            else
            {
                if (this.m_OrderTargetIsKnow == false)
                {
                    this.m_OrderTarget = this.m_AccessionOrder.SpecimenOrderCollection.GetOrderTarget(this.m_PanelSet.OrderTargetTypeCollectionRestrictions);
                }
                this.m_PanelSetOrder = YellowstonePathology.Business.Test.PanelSetOrderFactory.CreatePanelSetOrder(this.m_AccessionOrder.MasterAccessionNo, this.m_ReportNo, objectId, this.m_PanelSet, this.m_OrderTarget, distribute);
            }

            this.m_AccessionOrder.PanelSetOrderCollection.Add(this.m_PanelSetOrder);
            this.m_AccessionOrder.UpdateCaseAssignment(this.m_PanelSetOrder);
            this.m_TestOrderInfo.PanelSetOrder = this.m_PanelSetOrder;
        }