public KRASStandardReflexResultPage(YellowstonePathology.Business.Test.KRASStandardReflex.KRASStandardReflexTestOrder krasStandardReflexTestOrder,
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity,
			YellowstonePathology.UI.Navigation.PageNavigator pageNavigator,
			System.Windows.Visibility backButtonVisibility)
            : base(krasStandardReflexTestOrder, accessionOrder)
        {
            this.m_KRASStandardReflexTestOrder = krasStandardReflexTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_PageNavigator = pageNavigator;
            this.m_BackButtonVisibility = backButtonVisibility;

            this.m_IndicationCollection = YellowstonePathology.Business.Test.IndicationCollection.GetAll();
            this.m_KRASStandardReflexResult = YellowstonePathology.Business.Test.KRASStandardReflex.KRASStandardReflexResultFactory.GetResult(this.m_KRASStandardReflexTestOrder.ReportNo, this.m_AccessionOrder);

            this.m_PageHeaderText = "KRAS Standard Reflex Results For: " + this.m_AccessionOrder.PatientDisplayName + " (" + krasStandardReflexTestOrder.ReportNo + ")";
            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetByAliquotOrderId(this.m_KRASStandardReflexTestOrder.OrderedOnId);
            YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(this.m_KRASStandardReflexTestOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description + ": " + aliquotOrder.Label;

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack);
            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
        public LynchSyndromeEvaluationResultPage(YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeEvaluation panelSetOrderLynchSyndromeEvaluation,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity,
            System.Windows.Visibility backButtonVisibility)
            : base(panelSetOrderLynchSyndromeEvaluation, accessionOrder)
        {
            this.m_PanelSetOrderLynchSyndromeEvaluation = panelSetOrderLynchSyndromeEvaluation;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_BackButtonVisibility = backButtonVisibility;

            this.m_LSETypeCollection = new Business.Test.LynchSyndrome.LSETypeCollection();
            this.m_PageHeaderText = "Lynch Syndrome Evaluation Results For: " + this.m_AccessionOrder.PatientDisplayName + " (" + this.m_PanelSetOrderLynchSyndromeEvaluation.ReportNo + ")";

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

            InitializeComponent();
            DataContext = this;

            this.Loaded += new RoutedEventHandler(LynchSyndromeEvaluationResultPage_Loaded);

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack);
            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
 public TrichomonasResultPath(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
     YellowstonePathology.UI.Navigation.PageNavigator pageNavigator, System.Windows.Window window)
     : base(pageNavigator, window)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_TestOrder = (YellowstonePathology.Business.Test.Trichomonas.TrichomonasTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
 }
        public KRASStandardResultPage(YellowstonePathology.Business.Test.KRASStandard.KRASStandardTestOrder panelSetOrderKRASStandard,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity,
			YellowstonePathology.UI.Navigation.PageNavigator pageNavigator)
            : base(panelSetOrderKRASStandard, accessionOrder)
        {
            this.m_PanelSetOrder = panelSetOrderKRASStandard;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_PageNavigator = pageNavigator;

            this.m_PageHeaderText = "KRAS Standard Mutation Analysis Results For: " + this.m_AccessionOrder.PatientDisplayName + " (" + this.m_PanelSetOrder.ReportNo + ")";
            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetByAliquotOrderId(this.m_PanelSetOrder.OrderedOnId);
            YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description + ": " + aliquotOrder.Label;

            this.m_KRASStandardResultCollection = YellowstonePathology.Business.Test.KRASStandard.KRASStandardResultCollection.GetAll();
            this.m_IndicationCollection = YellowstonePathology.Business.Test.IndicationCollection.GetAll();
            this.m_KRASStandardMutationCollection = new YellowstonePathology.Business.Test.KRASStandard.KRASStandardMutationCollection();
            this.m_KRASStandardResultSelectionCollection = new YellowstonePathology.Business.Test.KRASStandard.KRASStandardResultSelectionCollection();

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
Exemple #5
0
        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);
        }
 public PSABillingDocument(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
     : base("Case")
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_ReportNo = reportNo;
     this.m_PanelSetOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);
 }
 public PeerReview(YellowstonePathology.Business.Test.AccessionOrder accessonOrderItem)
 {
     this.m_PanelOrderItems = new List<YellowstonePathology.Business.Test.PanelOrder>();
     this.m_AccessionOrder = accessonOrderItem;
     InitializeComponent();
     this.DataContext = this;
 }
        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);
        }
        public MPNStandardReflexResult(AccessionOrder accessionOrder)
        {
            this.m_AccessionOrder = accessionOrder;

            YellowstonePathology.Business.Test.MPNStandardReflex.MPNStandardReflexTest panelSetMPNStandardReflex = new YellowstonePathology.Business.Test.MPNStandardReflex.MPNStandardReflexTest();
            this.m_PanelSetOrderMPNStandardReflex = (YellowstonePathology.Business.Test.MPNStandardReflex.PanelSetOrderMPNStandardReflex)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetMPNStandardReflex.PanelSetId);
            YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest panelSetJAK2V617F = new YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTest();
            YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214Test panelSetExon1214 = new YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214Test();

            this.m_PanelSetOrderJAK2V617F = (YellowstonePathology.Business.Test.JAK2V617F.JAK2V617FTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetJAK2V617F.PanelSetId);
            this.m_PanelSetOrderJAK2Exon1214 = (YellowstonePathology.Business.Test.JAK2Exon1214.JAK2Exon1214TestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetExon1214.PanelSetId);

            this.m_SpecimenOrder =  this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrderMPNStandardReflex.OrderedOn, this.m_PanelSetOrderMPNStandardReflex.OrderedOnId);
            this.m_JAK2V617FResult = this.m_PanelSetOrderJAK2V617F.Result;

            this.m_Comment = this.m_PanelSetOrderJAK2V617F.Comment;

            if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(panelSetExon1214.PanelSetId) == true)
            {
                this.m_HasJAK2Exon1214 = true;
                this.m_JAK2Exon1214Result = this.m_PanelSetOrderJAK2Exon1214.Result;
            }
            else
            {
                this.m_HasJAK2Exon1214 = false;
                this.m_JAK2Exon1214Result = "Not Performed";
            }

            this.SetInterpretation();
            this.SetMethod();
            this.m_References = References;
        }
        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);
        }
        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);
        }
        public ALKForNSCLCByFISHResultPage(YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTestOrder alkForNSCLCByFISHTestOrder,
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            this.m_PanelSetOrder = alkForNSCLCByFISHTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_ResultCollection = new Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHResultCollection();
            this.m_PageHeaderText = "ALK 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;

            InitializeComponent();

            DataContext = this;

            this.m_ParentWindow = Window.GetWindow(this);

            Loaded += ALKForNSCLCByFISHResultPage_Loaded;
            Unloaded += ALKForNSCLCByFISHResultPage_Unloaded;
        }
        public AdditionalTestingEMailPage(YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder,
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_PanelSetOrder = panelSetOrder;
            this.m_AccessionOrder = accessionOrder;

            if (string.IsNullOrEmpty(this.m_PanelSetOrder.AdditionalTestingEmailAddress) == true)
            {
                YellowstonePathology.Business.Domain.Physician physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_AccessionOrder.PhysicianId);
                this.m_PanelSetOrder.AdditionalTestingEmailAddress = physician.PublishNotificationEmailAddress;
            }

            if(string.IsNullOrEmpty(this.m_PanelSetOrder.AdditionalTestingEmailMessage) == true)
            {
                this.m_PanelSetOrder.AdditionalTestingEmailMessage = "Additional Testing is being performed.  Use YPI Connect to see details." + Environment.NewLine +
                    Environment.NewLine + Environment.NewLine + "If you don't have access to YPI Connect please call us at (406)238-6360.";
            }

            InitializeComponent();

            DataContext = this;

            Loaded += AdditionalTestingEMailPage_Loaded;
            Unloaded += AdditionalTestingEMailPage_Unloaded;
        }
        //private bool m_Closing;
        public ProviderDistributionPage(string reportNo, 
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            YellowstonePathology.UI.Navigation.PageNavigator pageNavigator,
            Visibility nextButtonVisibility,
            Visibility closeButtonVisibility,
            Visibility backButtonVisibility)
        {
            this.m_PageNavigator = pageNavigator;

            this.m_AccessionOrder = accessionOrder;
            this.m_PanelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);

            this.m_NextButtonVisibility = nextButtonVisibility;
            this.m_CloseButtonVisibility = closeButtonVisibility;
            this.m_BackButtonVisibility = backButtonVisibility;

            this.m_SystemUserCollection = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection;

            this.m_ClientPhysicianNotSetAuditCollection = new Business.Audit.Model.AuditCollection();
            this.m_ClientPhysicianNotSetAuditCollection.Add(new YellowstonePathology.Business.Audit.Model.ClientNotSetAudit(this.m_AccessionOrder));
            this.m_ClientPhysicianNotSetAuditCollection.Add(new YellowstonePathology.Business.Audit.Model.PhysicianNotSetAudit(this.m_AccessionOrder));

            InitializeComponent();

            DataContext = this;

            this.Loaded += new RoutedEventHandler(ProviderDetailPage_Loaded);
            Close += ProviderDistributionPage_Close;
        }
        public BladderCancerFISHUrovysionResultPage(YellowstonePathology.Business.Test.BladderCancerFISHUrovysion.BladderCancerFISHUrovysionTestOrder 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 = "Bladder Cancer FISH (Urovysion) For: " + this.m_AccessionOrder.PatientDisplayName;
            this.m_ResultCollection = new YellowstonePathology.Business.Test.BladderCancerFISHUrovysion.BladderCancerFISHUrovysionResultCollection();

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description;

            InitializeComponent();

            DataContext = this;

            this.m_ParentWindow = Window.GetWindow(this);

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
        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 = "HER2 Amplification By ISH Results For: " + this.m_AccessionOrder.PatientDisplayName;
            this.m_ResultCollection = new YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHResultCollection();
            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();
            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
        public TaskOrderPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.Task.Model.TaskOrder taskOrder,
			PageNavigationModeEnum pageNavigationMode)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_TaskOrder = taskOrder;
            this.m_PageNavigationMode = pageNavigationMode;

            this.m_FacilityCollection = Business.Facility.Model.FacilityCollection.GetAllFacilities();
            this.m_TaskAssignmentList = YellowstonePathology.Business.Task.Model.TaskAssignment.GetTaskAssignmentList();
            this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance;

            this.m_PaymentTypeList = new List<string>();
            this.m_PaymentTypeList.Add("SENDER");
            this.m_PaymentTypeList.Add("THIRD_PARTY");
            this.m_PaymentTypeList.Add("RECIPIENT");

            InitializeComponent();

            this.SetButtonVisibility();
            DataContext = this;

            Loaded += TaskOrderPage_Loaded;
            Unloaded += TaskOrderPage_Unloaded;
        }
        public HPVResultPage(YellowstonePathology.Business.Test.HPV.HPVTestOrder hpvTestOrder,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,            
			YellowstonePathology.Business.User.SystemIdentity systemIdentity,
			YellowstonePathology.UI.Navigation.PageNavigator pageNavigator)
            : base(hpvTestOrder, accessionOrder)
        {
            this.m_HPVTestOrder = hpvTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_PageNavigator = pageNavigator;

            this.m_ResultCollection = Business.Test.HPV.HPVResultCollection.GetAllResults();
            this.m_PageHeaderText = "HPV Results For: " + this.m_AccessionOrder.PatientDisplayName + "  (" + this.m_HPVTestOrder.ReportNo + ")";

            bool hpv1618HasBeenOrdered = this.m_AccessionOrder.PanelSetOrderCollection.Exists(62);
            if (hpv1618HasBeenOrdered == true)
            {
                this.m_AdditionalTestingComment = YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapWordDocument.HPV1618HasBeenOrderedComment;
            }
            else
            {
                this.m_AdditionalTestingComment = YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapWordDocument.NoAdditionalTestingOrderedComment;
            }

            InitializeComponent();

            DataContext = this;
            Loaded += HPVResultPage_Loaded;
            Unloaded += HPVResultPage_Unloaded;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
 public PNHOnBoneMarrowSpecimenAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_KeyWords = new Surgical.KeyWordCollection { "anemia", "pancytopenia" };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection{ new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT85060(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT85097() };
 }
        public CysticFibrosisResultPage(YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisTestOrder panelSetOrder,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity,
			YellowstonePathology.UI.Navigation.PageNavigator pageNavigator)
            : base(panelSetOrder, accessionOrder)
        {
            this.m_PanelSetOrder = panelSetOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_PageNavigator = pageNavigator;

            this.m_PageHeaderText = "Cystic Fibrosis Results For: " + this.m_AccessionOrder.PatientDisplayName;
            this.m_ResultCollection = YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisResultCollection.GetAllResults();
            this.m_EthnicGroupCollection = new YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisEthnicGroupCollection();
            this.m_CysticFibrosisGeneNames = new YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisGeneNames();
            this.m_CysticFibrosisTemplateCollection = new YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisTemplateCollection();

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
 public AliquotOrderSelectionPage(YellowstonePathology.Business.Test.AliquotOrderCollection aliquotOrderCollection, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AliquotOrderCollection = aliquotOrderCollection;
     this.m_AccessionOrder = accessionOrder;
     InitializeComponent();
     DataContext = this;
 }
        public StandingOrderPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_AccessionOrder = accessionOrder;

            this.m_WomensHealthProfileTest = new YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTest();
            this.m_Physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_AccessionOrder.PhysicianId);
            this.m_StandingOrderCollection = this.m_Physician.GetStandingOrderCollection();

            this.m_HPVStandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders();
            this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders();

            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_WomensHealthProfileTest.PanelSetId) == true)
            {
                this.m_WomensHealthProfileTestOrder = (YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_WomensHealthProfileTest.PanelSetId);
                this.m_WomensHealthProfileVisibility = System.Windows.Visibility.Visible;
                this.UpdateWomensHealthProfile();
            }
            else
            {
                this.m_WomensHealthProfileVisibility = System.Windows.Visibility.Collapsed;
            }

            this.m_AccessionOrderList = new List<Business.Test.AccessionOrder>();
            this.m_AccessionOrderList.Add(this.m_AccessionOrder);

            InitializeComponent();

            DataContext = this;
        }
Exemple #23
0
 public LSEResultStatus(LSEResult lseResult, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string orderedOnId)
 {
     this.m_LSEResult = lseResult;
     this.m_AccessionOrder = accessionOrder;
     this.m_OrderedOnId = orderedOnId;
     this.m_LSEResultList = new List<LSEResult>();
 }
        public BRAFV600EKResultPage(YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTestOrder panelSetOrderBraf,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity,
			YellowstonePathology.UI.Navigation.PageNavigator pageNavigator,
			System.Windows.Visibility backButtonVisibility)
            : base(panelSetOrderBraf, accessionOrder)
        {
            this.m_PanelSetOrder = panelSetOrderBraf;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_PageNavigator = pageNavigator;
            this.m_BackButtonVisibility = backButtonVisibility;

            this.m_PageHeaderText = "BRAF V600E/K Mutation Analysis Results For: " + this.m_AccessionOrder.PatientDisplayName + " (" + panelSetOrderBraf.ReportNo + ")";
            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetByAliquotOrderId(this.m_PanelSetOrder.OrderedOnId);
            YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description + ": " + aliquotOrder.Label;

            this.m_IndicationCollection = YellowstonePathology.Business.Test.IndicationCollection.GetAll();
            this.m_ResultCollection = YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKResultCollection.GetUniqueResultChoices();

            InitializeComponent();

            this.m_ParentWindow = Window.GetWindow(this);
            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack);
            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
        public RASRAFPanelResultPage(YellowstonePathology.Business.Test.RASRAFPanel.RASRAFPanelTestOrder rasRAFPanelTestOrder,
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            YellowstonePathology.Business.User.SystemIdentity systemIdentity)
            : base(rasRAFPanelTestOrder, accessionOrder)
        {
            this.m_RASRAFPanelTestOrder = rasRAFPanelTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_PageHeaderText = "RAS/RAF Panel Result For: " + this.m_AccessionOrder.PatientDisplayName;

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_RASRAFPanelTestOrder.OrderedOn, this.m_RASRAFPanelTestOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description;

            this.m_ResultList = new List<string>();
            this.m_ResultList.Add(YellowstonePathology.Business.Test.RASRAFPanel.RASRAFPanelResult.NotDetectedResult);
            this.m_ResultList.Add(YellowstonePathology.Business.Test.RASRAFPanel.RASRAFPanelResult.DetectedResult);
            this.m_ResultList.Add("");

            InitializeComponent();

            DataContext = this;
            Loaded += this.RASRAFPanelResultPage_Loaded;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
 public void Execute(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToSet, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_PanelOrderToSet = panelOrderToSet;
     this.m_AccessionOrder = accessionOrder;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
        public AccessionOrderPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,             
            YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder,        
            PageNavigationModeEnum pageNavigationMode)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_PageNavigationMode = pageNavigationMode;

            this.m_ClientOrder = clientOrder;

            if (YellowstonePathology.Business.User.SystemIdentity.Instance.User.IsUserInRole(Business.User.SystemUserRoleDescriptionEnum.Pathologist) == true)
            {
                this.m_PanelSetCollectionView = Business.PanelSet.Model.PanelSetCollection.GetPathologistPanelSets();
            }
            else
            {
                this.m_PanelSetCollectionView = Business.PanelSet.Model.PanelSetCollection.GetHistologyPanelSets();
            }

            this.m_FacilityCollection = Business.Facility.Model.FacilityCollection.GetAllFacilities();
            this.m_CaseTypeList = new OrderPageCaseTypeList();
            this.m_OrderAsResearchTesting = false;

            InitializeComponent();

            this.SetButtonVisibility();
            DataContext = this;

            this.Loaded += new RoutedEventHandler(AccessionOrderPage_Loaded);
        }
        public ROS1ResultPage(YellowstonePathology.Business.Test.ROS1ByFISH.ROS1ByFISHTestOrder ros1ByFISHTestOrder,
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity)
            : base(ros1ByFISHTestOrder, accessionOrder)
        {
            this.m_ROS1ByFISHTestOrder = ros1ByFISHTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_ResultCollection = new Business.Test.ROS1ByFISH.ROS1ByFISHResultCollection();
            this.m_PageHeaderText = "ROS1 Results For: " + this.m_AccessionOrder.PatientDisplayName;

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

            InitializeComponent();

            DataContext = this;

            Loaded += ROS1ResultPage_Loaded;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
        public HPV1618ResultPage(YellowstonePathology.Business.Test.HPV1618.PanelSetOrderHPV1618 panelSetOrderHPV1618,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity,
			YellowstonePathology.UI.Navigation.PageNavigator pageNavigator)
            : base(panelSetOrderHPV1618, accessionOrder)
        {
            this.m_PanelSetOrder = panelSetOrderHPV1618;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_PageNavigator = pageNavigator;

            this.m_Genotype16ResultCollection = YellowstonePathology.Business.Test.HPV1618.HPV1618ResultCollection.GetGenotype16Results();
            this.m_Genotype18ResultCollection = YellowstonePathology.Business.Test.HPV1618.HPV1618ResultCollection.GetGenotype18Results();

            this.m_PageHeaderText = "HPV Genotypes 16 and 18 Results For: " + this.m_AccessionOrder.PatientDisplayName;

            InitializeComponent();

            DataContext = this;

            this.Loaded += HPV1618ResultPage_Loaded;
            this.Unloaded += HPV1618ResultPage_Unloaded;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
        public ComprehensiveColonCancerProfilePage(YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile comprehensiveColonCancerProfile,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity,
            System.Windows.Visibility backButtonVisibility)
            : base(comprehensiveColonCancerProfile, accessionOrder)
        {
            this.m_ComprehensiveColonCancerProfile = comprehensiveColonCancerProfile;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;
            this.m_BackButtonVisibility = backButtonVisibility;

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

            this.m_ComprehensiveColonCancerProfileResult = new Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileResult(this.m_AccessionOrder, this.m_ComprehensiveColonCancerProfile);

            this.m_PageHeaderText = "Comprehensive Colon Cancer Profile: " + this.m_AccessionOrder.PatientDisplayName + " (" + this.m_ComprehensiveColonCancerProfile.ReportNo + ")";

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
Exemple #31
0
 public API2MALT1ByFISHEPICObxView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
 public MYD88MutationAnalysisEPICObxView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
Exemple #33
0
 public NPM1EpicObxView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
 public TestCancelledWPHOBXView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
Exemple #35
0
 public CEBPACMMCNTEView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_ReportNo       = reportNo;
 }
 public BillableObjectMountainViewNeo(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo) : base(accessionOrder, reportNo)
 {
 }
 public MPNExtendedReflexEPICObxView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
        public override bool SatisfiesCondition(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            bool result = false;

            return(result);
        }
 public AMLStandardByFishEPICObxView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
 public CaseHasUnfinaledProspectiveReviewAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
 }
Exemple #41
0
        public virtual string BuildResultText(YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            string result = this.ReplaceIdentifier(this.m_Text, specimenOrder, accessionOrder);

            result = this.AppendInitials(result, specimenOrder, accessionOrder, systemIdentity);
            return(result);
        }
Exemple #42
0
 public ChromosomeAnalysisForFetalAnomalyWPHOBXView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
Exemple #43
0
        protected string ReplaceRepresentativeSectionsAgeRestricted(string text, YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            string result = null;

            if (accessionOrder.PBirthdate.HasValue == true && YellowstonePathology.Business.Helper.PatientHelper.GetAge(accessionOrder.PBirthdate.Value) >= 13)
            {
                result = specimenOrder.GetRepresentativeSectionsSubmittedIn();
            }
            else
            {
                result = "No sections are submitted for microscopic examination";
            }
            result = text.Replace("[representativesectionsagerestricted]", result);
            return(result);
        }
Exemple #44
0
        protected string ReplaceIdentifier(string text, YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            string identifier = "Specimen " + specimenOrder.SpecimenNumber + " ";

            if (string.IsNullOrEmpty(specimenOrder.ClientFixation) == false && specimenOrder.ClientFixation != YellowstonePathology.Business.Specimen.Model.FixationType.Fresh)
            {
                identifier += "is received in a " + specimenOrder.ClientFixation + " filled container labeled \"" + accessionOrder.PatientDisplayName + " - [description]\"";
            }
            else if (specimenOrder.ClientFixation == YellowstonePathology.Business.Specimen.Model.FixationType.Fresh)
            {
                identifier += "is received fresh in a container labeled \"" + accessionOrder.PatientDisplayName + " - [description]\"";
            }

            identifier = identifier.Replace("Formalin", "formalin");
            identifier = identifier.Replace("B+ Fixative", "B+ fixative");
            return(text.Replace("[identifier]", identifier));
        }
Exemple #45
0
 public ChromosomeAnalysisForFetalAnomalCMMCNteView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_ReportNo       = reportNo;
 }
Exemple #46
0
        protected string AppendInitials(string text, YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            string result   = text;
            string initials = null;


            if (specimenOrder.AliquotOrderCollection.Count != 0)
            {
                if (accessionOrder.SpecimenOrderCollection.IsLastNonPAPSpecimen(specimenOrder.SpecimenOrderId) == true)
                {
                    int    grossVerifiedById = specimenOrder.AliquotOrderCollection[0].GrossVerifiedById;
                    string grossedByInitials = "[??]";

                    if (grossVerifiedById != 0)
                    {
                        YellowstonePathology.Business.User.SystemUser grossedBy = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetSystemUserById(grossVerifiedById);
                        grossedByInitials = grossedBy.Initials.ToUpper();
                    }

                    string supervisedByInitials = "[??]";

                    YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteCody ypiCody = new Business.Facility.Model.YellowstonePathologyInstituteCody();
                    if (accessionOrder.AccessioningFacilityId == ypiCody.FacilityId)
                    {
                        supervisedByInitials = "PPC";
                    }
                    else if (YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.GPathologistId.HasValue == true)
                    {
                        YellowstonePathology.Business.User.SystemUser supervisedBy = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetSystemUserById(YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.GPathologistId.Value);
                        supervisedByInitials = supervisedBy.Initials.ToUpper();
                    }

                    string typedByInitials = systemIdentity.User.Initials.ToLower();

                    initials = grossedByInitials + "/" + supervisedByInitials + "/" + typedByInitials;
                    result   = result + initials;
                }
            }

            return(result);
        }
 public void Refresh(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_MediumCollection.Refresh(accessionOrder);
 }
Exemple #48
0
 public LynchSyndromeIHCPanelEPICObxView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
 public void UseThisMasterAccessionNoToGetTheAccessionOrder(string masterAccessionNo)
 {
     this.m_AccessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(masterAccessionNo, this.m_Writer);
     this.m_AnAccessionOrderHasBeenAquired = true;
 }
        public SpecimenOrderView(YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_SpecimenOrder = specimenOrder;
            this.m_IsSelected    = true;

            //this.m_NumberOfAliquots = 1;
            //this.m_NumberOfBlocks = 1;
            //this.m_NumberOfSlides = 1;

            this.m_MediumCollection = new Business.Specimen.Model.MediumCollection(this.m_SpecimenOrder, accessionOrder);
        }
 public CaseHasNotFoundProviderAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
 }
 public ThrombocytopeniaProfileV2CMMCNTEView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_ReportNo       = reportNo;
 }
Exemple #53
0
        public AmendmentV2(YellowstonePathology.Business.Amendment.Model.Amendment amendment, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_Amendment      = amendment;
            this.m_AccessionOrder = accessionOrder;

            this.m_Users = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.AmendmentSigner, true);
            InitializeComponent();

            this.DataContext = this.m_Amendment;
            this.comboBoxAmendmentUsers.ItemsSource = this.m_Users;

            Loaded   += AmendmentV2_Loaded;
            Unloaded += AmendmentV2_Unloaded;
        }
 public MultipleMyelomaIgHByFishEPICObxView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo, int obxCount)
     : base(accessionOrder, reportNo, obxCount)
 {
 }
Exemple #55
0
 public BillableObjectSurgicalPathology(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
     : base(accessionOrder, reportNo)
 {
 }
Exemple #56
0
 public virtual bool IsRequired(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     throw new Exception("Not implemented here.");
 }
Exemple #57
0
 private YellowstonePathology.Business.Test.AccessionOrder BuildFromMongo(string masterAccessionNo, bool aquireLock)
 {
     YellowstonePathology.Business.Test.AccessionOrder result = null;
     return(result);
 }
Exemple #58
0
 public ThinPrepPapCMMCNteView(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_ReportNo       = reportNo;
 }
Exemple #59
0
        public YellowstonePathology.Business.Persistence.SubmissionResult SubmitChanges(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, bool releaseLock)
        {
            YellowstonePathology.Business.Persistence.SubmissionResult result = new YellowstonePathology.Business.Persistence.SubmissionResult();
            if (releaseLock == true)
            {
                accessionOrder.LockAquiredByHostName = null;
                accessionOrder.LockAquiredById       = null;
                accessionOrder.LockAquiredByUserName = null;
                accessionOrder.TimeLockAquired       = null;
            }

            //YellowstonePathology.Business.Persistence.SqlCommandSubmitter sqlCommandSubmitter = this.GetSqlCommands(accessionOrder);
            //sqlCommandSubmitter.SubmitChanges();

            return(result);
        }
 public ComprehensiveColonCancerProfileFinalAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
 }