当前位置: 首页>>代码示例>>C#>>正文


C# YellowstonePathology类代码示例

本文整理汇总了C#中YellowstonePathology的典型用法代码示例。如果您正苦于以下问题:C# YellowstonePathology类的具体用法?C# YellowstonePathology怎么用?C# YellowstonePathology使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


YellowstonePathology类属于命名空间,在下文中一共展示了YellowstonePathology类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OrderInitialTests

        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);
            }
        }
开发者ID:WilliamCopland,项目名称:YPILIS,代码行数:29,代码来源:InvasiveBreastPanel.cs

示例2: PanelSetOrderMultipleMyelomaIgHComplexByFish

        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)
        {
        }
开发者ID:ericramses,项目名称:YPILIS,代码行数:7,代码来源:PanelSetOrderMultipleMyelomaIgHComplexByFish.cs

示例3: MTDohResultView

        public MTDohResultView(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_PanelSetOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);

            this.m_OrderingPhysician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_AccessionOrder.PhysicianId);
        }
开发者ID:ericramses,项目名称:YPILIS,代码行数:7,代码来源:MTDohResultView.cs

示例4: AcceptResults

        public virtual void AcceptResults(YellowstonePathology.Business.Test.HPV1618.PanelSetOrderHPV1618 panelSetOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            YellowstonePathology.Business.Test.PanelOrder panelOrder = panelSetOrder.PanelOrderCollection.GetUnacceptedPanelOrder();
            panelOrder.AcceptResults();
            panelSetOrder.Accept();
        }
开发者ID:ericramses,项目名称:YPILIS,代码行数:7,代码来源:HPV1618ByPCRResult.cs

示例5: ErPrSemiQuantitativeTestOrder

        public ErPrSemiQuantitativeTestOrder(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)
        {
        }
开发者ID:WilliamCopland,项目名称:YPILIS,代码行数:7,代码来源:ErPrSemiQuantitativeTestOrder.cs

示例6: SetState

        public override void SetState(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            base.SetState(accessionOrder);

            YellowstonePathology.Business.Test.KRASStandardReflex.KRASStandardReflexTest krasStandardReflexTest = new YellowstonePathology.Business.Test.KRASStandardReflex.KRASStandardReflexTest();
            this.m_BRAFV600EKTest = new YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTest();

            if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(this.m_BRAFV600EKTest.PanelSetId) == true) // || this.m_AccessionOrder.PanelSetOrderCollection.Exists(krasStandardReflexTest.PanelSetId) == true)
            {
                this.m_HasPanelSetBeenOrdered = true;
                YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTestOrder panelSetOrderBraf = (YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetBrafPanelSetOrder();
                if (panelSetOrderBraf.Final == true)
                {
                    this.m_IsStepComplete = true;
                    if (panelSetOrderBraf.Result == YellowstonePathology.Business.Test.BRAFV600EK.BRAFResult.Detected)
                    {
                        this.m_Stop = true;
                        this.m_IsStepComplete = true;
                    }
                    else if (panelSetOrderBraf.Result == YellowstonePathology.Business.Test.BRAFV600EK.BRAFResult.NotDetected)
                    {
                        this.m_NextStep = new LynchMLH1ByPCRStep();
                    }
                }
            }
        }
开发者ID:WilliamCopland,项目名称:YPILIS,代码行数:26,代码来源:LynchBRAFStep.cs

示例7: KRASStandardReflexKRASWithBRAFResult

        public KRASStandardReflexKRASWithBRAFResult(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
            : base(reportNo, accessionOrder)
        {
            this.m_Method = "DNA was isolated from cells or microdissection-enriched FFPE tissue. Tumor in FFPE must be present in at least 20% of the tissue. " +
                "Mutations were evaluated for entire KRAS exons 2 and 3 high-sensitivity Sanger sequencing which improves the lower detection limit in mutation hotspot " +
                "regions to approximately 1% abnormal DNA. This includes codons 12, 13, 14, and 61. Mutation detection outside these hotspot regions has a typical lower " +
                "detection limit of 10-15% mutated KRAS in a wild-type background. The patient’s sequence is compared to the GenBank database: AF493917. The DNA was also " +
                "evaluated for the presence of BRAF V600E/K by PCR and fragment size anaylsis. Various factors including quantity and quality of nucleic acid, sample " +
                "preparation and sample age can affect assay performance.";

            YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTest brafV600EKTest = new BRAFV600EK.BRAFV600EKTest();
            this.m_BRAFV600EKTestOrder = (YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(brafV600EKTest.PanelSetId, this.m_KRASStandardReflexTestOrder.OrderedOnId, true);

            if (this.KRASStandardTestOrder.Final == true)
            {
                this.m_KRASStandardResult = this.m_KRASStandardTestOrder.Result;
            }
            else
            {
                this.m_KRASStandardResult = KRASStandardReflexResult.PendingResult;
            }

            if (this.m_BRAFV600EKTestOrder.Final == true)
            {
                this.m_BRAFV600EKResult = this.m_BRAFV600EKTestOrder.Result;
            }
            else
            {
                this.m_BRAFV600EKResult = KRASStandardReflexResult.PendingResult;
            }
        }
开发者ID:WilliamCopland,项目名称:YPILIS,代码行数:31,代码来源:KRASStandardReflexKRASWithBRAFResult.cs

示例8: NeoARRAYSNPCytogeneticProfileTestOrder

        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)
        {
        }
开发者ID:ericramses,项目名称:YPILIS,代码行数:7,代码来源:NeoARRAYSNPCytogeneticProfileTestOrder.cs

示例9: AcceptResults

        public override void AcceptResults(YellowstonePathology.Business.Rules.RuleExecutionStatus ruleExecutionStatus, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, Business.User.SystemUser acceptingUser)
        {
            YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus();
            YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.ReportNo);
            if (panelSetOrder.Final == true)
            {
                executionStatus.AddMessage(this.ReportNo + " is already finaled.", true);
                ruleExecutionStatus.PopulateFromLinqExecutionStatus(executionStatus);
                return;
            }

            if (this.Accepted == true)
            {
                executionStatus.AddMessage(this.ReportNo + " Acid Wash result has already been accepted.", true);
                ruleExecutionStatus.PopulateFromLinqExecutionStatus(executionStatus);
                return;
            }

            this.Accepted = true;
            this.AcceptedById = acceptingUser.UserId;
            this.AcceptedDate = DateTime.Today;
            this.AcceptedTime = DateTime.Now;

            this.Acknowledged = true;
            this.AcknowledgedById = acceptingUser.UserId;
            this.AcknowledgedDate = DateTime.Today;
            this.AcknowledgedTime = DateTime.Now;
        }
开发者ID:WilliamCopland,项目名称:YPILIS,代码行数:28,代码来源:PanelOrderAcidWash.cs

示例10: RUNX1RUNX1T1AML1ETOTranslocationTestOrder

 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)
 {
 }
开发者ID:ericramses,项目名称:YPILIS,代码行数:7,代码来源:RUNX1RUNX1T1AML1ETOTranslocationTestOrder.cs

示例11: CalreticulinMutationAnalysisResultPage

        public CalreticulinMutationAnalysisResultPage(YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisTestOrder 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 = "Calreticulin Mutation Analysis Results For: " + this.m_AccessionOrder.PatientDisplayName;

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(this.m_PanelSetOrder.OrderedOnId);
            YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description;
            if(aliquotOrder != null) this.m_OrderedOnDescription += ": " + aliquotOrder.Label;

            this.m_CalreticulinMutationAnalysisResultCollection = new YellowstonePathology.Business.Test.CalreticulinMutationAnalysis.CalreticulinMutationAnalysisResultCollection();

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
开发者ID:ericramses,项目名称:YPILIS,代码行数:26,代码来源:CalreticulinMutationAnalysisResultPage.xaml.cs

示例12: MPNStandardReflexPage

        public MPNStandardReflexPage(YellowstonePathology.Business.Test.MPNStandardReflex.PanelSetOrderMPNStandardReflex testOrder,
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity)
            : base(testOrder, accessionOrder)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            YellowstonePathology.Business.Test.MPNStandardReflex.MPNStandardReflexTest panelSetMPNStandardReflex = new YellowstonePathology.Business.Test.MPNStandardReflex.MPNStandardReflexTest();
            YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest panelSetJAK2V617F = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest();
            YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214Test panelSetJAK2Exon1214 = new YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214Test();

            this.m_PanelSetOrderMPNStandardReflex = (YellowstonePathology.Business.Test.MPNStandardReflex.PanelSetOrderMPNStandardReflex)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetMPNStandardReflex.PanelSetId);
            this.m_PanelSetOrderJAK2V617F = (YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetJAK2V617F.PanelSetId);
            this.m_JAK2V617FResult = this.m_PanelSetOrderJAK2V617F.Result;

            this.m_PanelSetOrderJAK2Exon1214 = (YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214TestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetJAK2Exon1214.PanelSetId);
            this.m_SpecimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(this.m_PanelSetOrderMPNStandardReflex.OrderedOnId);

            this.m_PageHeaderText =  this.m_PanelSetOrderMPNStandardReflex.PanelSetName + " for: " + this.m_AccessionOrder.PatientDisplayName;

            InitializeComponent();

            this.DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack);
            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonFinish);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
开发者ID:ericramses,项目名称:YPILIS,代码行数:30,代码来源:MPNStandardReflexPage.xaml.cs

示例13: BlockLabelPrinter

 public BlockLabelPrinter(YellowstonePathology.Business.Test.AliquotOrderCollection aliquotOrderCollection, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_BlockLabelQueue = new Queue<Business.Label.Model.HistologyBlockPaperZPLLabel>();
     foreach (YellowstonePathology.Business.Test.AliquotOrder aliquotOrder in aliquotOrderCollection)
     {
         if (aliquotOrder.IsBlock() == true)
         {
             if (aliquotOrder.LabelType == YellowstonePathology.Business.Specimen.Model.AliquotLabelType.PaperLabel == true)
             {
                 YellowstonePathology.Business.OrderIdParser orderIdParser = new OrderIdParser(accessionOrder.MasterAccessionNo);
                 if (orderIdParser.IsLegacyMasterAccessionNo == false)
                 {
                     string initials = Business.Helper.PatientHelper.GetPatientInitials(accessionOrder.PFirstName, accessionOrder.PLastName);
                     Business.Label.Model.HistologyBlockPaperZPLLabel blockLabel = new Business.Label.Model.HistologyBlockPaperZPLLabel(aliquotOrder.AliquotOrderId, accessionOrder.PLastName, accessionOrder.PFirstName, aliquotOrder.Label, accessionOrder.MasterAccessionNo);
                     this.m_BlockLabelQueue.Enqueue(blockLabel);
                     aliquotOrder.Printed = true;
                 }
                 else
                 {
                     string reportNo = accessionOrder.PanelSetOrderCollection[0].ReportNo;
                     string initials = Business.Helper.PatientHelper.GetPatientInitials(accessionOrder.PFirstName, accessionOrder.PLastName);
                     Business.Label.Model.HistologyBlockPaperZPLLabel blockLabel = new Business.Label.Model.HistologyBlockPaperZPLLabel(aliquotOrder.AliquotOrderId, accessionOrder.PFirstName, accessionOrder.PLastName, aliquotOrder.Label, reportNo);
                     this.m_BlockLabelQueue.Enqueue(blockLabel);
                     aliquotOrder.Printed = true;
                 }
             }
         }
     }
 }
开发者ID:ericramses,项目名称:YPILIS,代码行数:29,代码来源:BlockLabelPrinter.cs

示例14: CuttingPage

        public CuttingPage(YellowstonePathology.Business.Test.AliquotOrder aliquotOrder,
            YellowstonePathology.Business.Test.Model.TestOrder testOrder,
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            YellowstonePathology.Business.Label.Model.HistologySlidePaperLabelPrinter histologySlidePaperLabelPrinter,
            YellowstonePathology.UI.Navigation.PageNavigator pageNavigator)
        {
            this.m_AliquotOrder = aliquotOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_TestOrder = testOrder;
            this.m_PageNavigator = pageNavigator;
            this.m_HistologySlidePaperLabelPrinter = histologySlidePaperLabelPrinter;

            this.m_SpecimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByAliquotOrderId(this.m_AliquotOrder.AliquotOrderId);
            this.m_PanelSetOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrderByTestOrderId(this.m_TestOrder.TestOrderId);
            this.m_PanelOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelOrderByTestOrderId(this.m_TestOrder.TestOrderId);

            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_ListBoxSlidesMouseDownTimer = new System.Windows.Threading.DispatcherTimer();
            this.m_ListBoxSlidesMouseDownTimer.Interval = new TimeSpan(0, 0, 0, 0, 750);
            this.m_ListBoxSlidesMouseDownTimer.Tick += new EventHandler(ListBoxSlidesMouseDownTimer_Tick);

            this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance;

            InitializeComponent();
            DataContext = this;

            this.m_PageTimeoutTimer = new System.Windows.Threading.DispatcherTimer();
            this.m_PageTimeoutTimer.Interval = TimeSpan.FromMinutes(15);
            this.m_PageTimeoutTimer.Tick += new EventHandler(PageTimeoutTimer_Tick);
            this.m_PageTimeoutTimer.Start();

            this.Loaded += new RoutedEventHandler(CuttingPage_Loaded);
            this.Unloaded += new RoutedEventHandler(CuttingPage_Unloaded);
        }
开发者ID:WilliamCopland,项目名称:YPILIS,代码行数:35,代码来源:CuttingPage.xaml.cs

示例15: KRASStandardReflexTestOrder

        public KRASStandardReflexTestOrder(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)
        {
        }
开发者ID:ericramses,项目名称:YPILIS,代码行数:7,代码来源:KRASStandardReflexTestOrder.cs


注:本文中的YellowstonePathology类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。