Example #1
0
 public void AddPeerReview(string screeningType, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology initiatingPanelOrder)
 {
     YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
     YellowstonePathology.Business.Rules.ExecutionStatus             executionStatus    = new YellowstonePathology.Business.Rules.ExecutionStatus();
     addScreeningReview.Execute(screeningType, this.m_AccessionOrder, initiatingPanelOrder, YellowstonePathology.Business.ProcessingModeEnum.Production, executionStatus);
     this.NotifyPropertyChanged("");
 }
Example #2
0
 private void HandleImagerError()
 {
     if (this.m_PanelOrderToFinal.ImagerError == true)
     {
         if (this.m_PanelSetOrderCytology.DoesScreeningReviewExist() == false)
         {
             YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
             YellowstonePathology.Business.Rules.ExecutionStatus             executionStatus    = new YellowstonePathology.Business.Rules.ExecutionStatus();
             addScreeningReview.Execute("Cytotech Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus);
         }
     }
 }
Example #3
0
        private void HandleUnsatPrimaryScreeningResult()
        {
            bool resultIsUnsat = YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsResultCodeUnsat(this.m_PanelOrderToFinal.ResultCode);

            if (resultIsUnsat == true)
            {
                if (this.m_PanelSetOrderCytology.DoesPathologistReviewExist() == false)
                {
                    YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
                    YellowstonePathology.Business.Rules.ExecutionStatus             executionStatus    = new YellowstonePathology.Business.Rules.ExecutionStatus();
                    addScreeningReview.Execute("Pathologist Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus);
                }
            }
        }
Example #4
0
        private void AddPathologistReviewIfDiagnosisIsTwoOrBetter()
        {
            bool isTwoOrBetter = YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisTwoOrBetter(this.m_PanelOrderToFinal.ResultCode);

            if (isTwoOrBetter == true)
            {
                if (this.m_PanelSetOrderCytology.DoesPathologistReviewExist() == false)
                {
                    YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
                    YellowstonePathology.Business.Rules.ExecutionStatus             executionStatus    = new YellowstonePathology.Business.Rules.ExecutionStatus();
                    addScreeningReview.Execute("Pathologist Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus);
                }
            }
        }
Example #5
0
        private void AddNoChargePeerReviewForEndoGreaterThan40Comment()
        {
            string endoComment = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetCytologyReportCommentById("44").Comment;

            if (string.IsNullOrEmpty(this.m_PanelOrderToFinal.ReportComment) == false && this.m_PanelOrderToFinal.ReportComment.Contains(endoComment) == true)
            {
                if (this.m_PanelSetOrderCytology.DoesPathologistReviewExist() == false)
                {
                    YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addPeerReview   = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
                    YellowstonePathology.Business.Rules.ExecutionStatus             executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus();
                    addPeerReview.Execute("Pathologist Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus);
                }
            }
        }
Example #6
0
 private void HandleUnsatPrimaryScreeningResult()
 {
     bool resultIsUnsat = YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsResultCodeUnsat(this.m_PanelOrderToFinal.ResultCode);
     if (resultIsUnsat == true)
     {
         if (this.m_PanelSetOrderCytology.DoesPathologistReviewExist() == false)
         {
             YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
             YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus();
             addScreeningReview.Execute("Pathologist Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus);
         }
     }
 }
Example #7
0
 private void HandleImagerError()
 {
     if (this.m_PanelOrderToFinal.ImagerError == true)
     {
         if (this.m_PanelSetOrderCytology.DoesScreeningReviewExist() == false)
         {
             YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
             YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus();
             addScreeningReview.Execute("Cytotech Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus);
         }
     }
 }
Example #8
0
 private void AddPathologistReviewIfDiagnosisIsTwoOrBetter()
 {
     bool isTwoOrBetter = YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisTwoOrBetter(this.m_PanelOrderToFinal.ResultCode);
     if (isTwoOrBetter == true)
     {
         if (this.m_PanelSetOrderCytology.DoesPathologistReviewExist() == false)
         {
             YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
             YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus();
             addScreeningReview.Execute("Pathologist Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus);
         }
     }
 }
Example #9
0
 private void AddNoChargePeerReviewForEndoGreaterThan40Comment()
 {
     string endoComment = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetCytologyReportCommentById(44).Comment;
     if (string.IsNullOrEmpty(this.m_PanelOrderToFinal.ReportComment) == false && this.m_PanelOrderToFinal.ReportComment.Contains(endoComment) == true)
     {
         if (this.m_PanelSetOrderCytology.DoesPathologistReviewExist() == false)
         {
             YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addPeerReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
             YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus();
             addPeerReview.Execute("Pathologist Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus);
         }
     }
 }
Example #10
0
 public void AddPeerReview(string screeningType, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology initiatingPanelOrder)
 {
     YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview();
     YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus();
     addScreeningReview.Execute(screeningType, this.m_AccessionOrder, initiatingPanelOrder, YellowstonePathology.Business.ProcessingModeEnum.Production, executionStatus);
     this.NotifyPropertyChanged("");
 }