Пример #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("");
 }
Пример #2
0
 public void SetScreeningImpression(YellowstonePathology.Business.Cytology.Model.ScreeningImpression screeningImpression,
                                    YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology selectedPanelOrder,
                                    YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     YellowstonePathology.Business.Rules.Cytology.SetScreeningImpression setScreeningImpression = new YellowstonePathology.Business.Rules.Cytology.SetScreeningImpression();
     setScreeningImpression.Execute(screeningImpression, selectedPanelOrder, this.m_AccessionOrder, executionStatus);
 }
Пример #3
0
        private void SetPrimaryScreeningCode()
        {
            if (this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Exists("88175", 1) == false &&
                this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Exists("88142", 1) == false)
            {
                YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology panelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology) this.m_PanelSetOrder;
                YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology    panelOrderCytology    = panelSetOrderCytology.GetPrimaryScreening();
                YellowstonePathology.Business.Specimen.Model.SpecimenOrder           specimenOrder         = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(this.m_PanelSetOrder.OrderedOnId);

                YellowstonePathology.Business.Billing.Model.CptCode cptCode = null;

                if (panelOrderCytology.ImagerError == false)
                {
                    cptCode = new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88175();
                }
                else
                {
                    cptCode          = new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88142();
                    cptCode.Modifier = "52";
                }

                YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                panelSetOrderCPTCode.Quantity            = 1;
                panelSetOrderCPTCode.CPTCode             = cptCode.Code;
                panelSetOrderCPTCode.CodeType            = cptCode.CodeType.ToString();
                panelSetOrderCPTCode.Modifier            = cptCode.Modifier;
                panelSetOrderCPTCode.CodeableDescription = "Primary Screening (" + panelOrderCytology.ScreenedByName + ")";
                panelSetOrderCPTCode.CodeableType        = "CytologyPrimaryScreening";
                panelSetOrderCPTCode.EntryType           = YellowstonePathology.Business.Billing.Model.PanelSetOrderCPTCodeEntryType.SystemGenerated;
                panelSetOrderCPTCode.SpecimenOrderId     = specimenOrder.SpecimenOrderId;
                panelSetOrderCPTCode.ClientId            = this.m_AccessionOrder.ClientId;
                this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Add(panelSetOrderCPTCode);
            }
        }
Пример #4
0
 public void SetSpecimenAdequacy(YellowstonePathology.Business.Cytology.Model.SpecimenAdequacy specimenAdequacy, List <YellowstonePathology.Business.Cytology.Model.SpecimenAdequacyComment> specimenAdequacyComments,
                                 YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology selectedPanelOrder,
                                 YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     YellowstonePathology.Business.Rules.Cytology.SetSpecimenAdequacy setSpecimenAdequacy = new YellowstonePathology.Business.Rules.Cytology.SetSpecimenAdequacy();
     setSpecimenAdequacy.Execute(specimenAdequacy, specimenAdequacyComments, selectedPanelOrder, this.m_AccessionOrder, executionStatus);
 }
        private void SetPhysicianInterpretationCode()
        {
            YellowstonePathology.Business.Billing.Model.CptCode cptCode = Store.AppDataStore.Instance.CPTCodeCollection.GetClone("88141", null);
            if (this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Exists(cptCode.Code, 1) == false)
            {
                YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology = ((YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology) this.m_PanelSetOrder).GetPhysicianInterp();
                YellowstonePathology.Business.Specimen.Model.SpecimenOrder        specimenOrder      = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(this.m_PanelSetOrder.OrderedOnId);

                if (panelOrderCytology != null)
                {
                    YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                    panelSetOrderCPTCode.Quantity            = 1;
                    panelSetOrderCPTCode.CPTCode             = cptCode.Code;
                    panelSetOrderCPTCode.CodeType            = cptCode.CodeType.ToString();
                    panelSetOrderCPTCode.Modifier            = null;
                    panelSetOrderCPTCode.CodeableDescription = "Physician Interpretation (" + panelOrderCytology.ScreenedByName + ")";
                    panelSetOrderCPTCode.CodeableType        = "CytologyPrimaryScreening";
                    panelSetOrderCPTCode.EntryType           = YellowstonePathology.Business.Billing.Model.PanelSetOrderCPTCodeEntryType.SystemGenerated;
                    panelSetOrderCPTCode.SpecimenOrderId     = specimenOrder.SpecimenOrderId;
                    panelSetOrderCPTCode.ClientId            = this.m_AccessionOrder.ClientId;
                    panelSetOrderCPTCode.MedicalRecord       = this.m_AccessionOrder.SvhMedicalRecord;
                    panelSetOrderCPTCode.Account             = this.m_AccessionOrder.SvhAccount;
                    this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Add(panelSetOrderCPTCode);
                }
            }
        }
Пример #6
0
 public void Execute(YellowstonePathology.Business.User.SystemUser userPerformingFinal, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_UserPerformingFinal = userPerformingFinal;
     this.m_PanelOrder = panelOrder;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
Пример #7
0
 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);
 }
Пример #8
0
 public void Execute(YellowstonePathology.Business.User.SystemUser userPerformingFinal, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_UserPerformingFinal = userPerformingFinal;
     this.m_PanelOrder          = panelOrder;
     this.m_ExecutionStatus     = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
Пример #9
0
 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);
 }
Пример #10
0
 public void Execute(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology, YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology panelSetOrderCytology, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_PanelSetOrderCytology = panelSetOrderCytology;
     this.m_PanelOrderCytology    = panelOrderCytology;
     this.m_ExecutionStatus       = executionStatus;
     this.m_Rule.Execute(executionStatus);
 }
Пример #11
0
        public void FromExistingPanelOrder(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, string screeningType, bool isQC, int orderingUserId, string orderingUserInitials)
        {
            this.m_PanelOrderId  = base.PanelOrderId;
            this.m_PanelId       = 38;
            this.m_ResultCode    = "59999";
            this.m_PanelName     = "Cytology Screening";
            this.m_ScreeningType = screeningType;
            this.m_Accepted      = false;
            this.m_AcceptedById  = 0;
            this.m_AssignedToId  = 0;

            this.m_OrderedById       = orderingUserId;
            this.m_OrderedByInitials = orderingUserInitials;
            this.m_OrderDate         = DateTime.Today;
            this.m_OrderTime         = DateTime.Now;

            this.m_Acknowledged     = true;
            this.m_AcknowledgedById = orderingUserId;
            this.m_AcknowledgedDate = DateTime.Today;
            this.m_AcknowledgedTime = DateTime.Now;

            this.m_ECCCheckPerformed = false;
            this.m_ScreeningError    = false;

            this.m_ScreeningImpression = panelOrder.ScreeningImpression;
            this.m_SpecimenAdequacy    = panelOrder.SpecimenAdequacy;
            this.m_OtherConditions     = panelOrder.OtherConditions;
            this.m_ReportComment       = panelOrder.ReportComment;
            this.m_ResultCode          = panelOrder.ResultCode;

            this.m_QC = isQC;
            this.NotifyPropertyChanged(string.Empty);
        }
Пример #12
0
 public void Execute(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology, YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology panelSetOrderCytology, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_PanelSetOrderCytology = panelSetOrderCytology;
     this.m_PanelOrderCytology = panelOrderCytology;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(executionStatus);
 }
Пример #13
0
 public void Execute(YellowstonePathology.Business.Cytology.Model.ScreeningImpression screeningImpression, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_ScreeningImpression = screeningImpression;
     this.m_PanelOrder          = panelOrder;
     this.m_AccessionOrder      = accessionOrder;
     this.m_ExecutionStatus     = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
Пример #14
0
 public void Execute(string resultCode, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_ResultCode      = resultCode;
     this.m_PanelOrder      = panelOrder;
     this.m_AccessionOrder  = accessionOrder;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
Пример #15
0
 public void Execute(string resultCode, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_ResultCode = resultCode;
     this.m_PanelOrder = panelOrder;
     this.m_AccessionOrder = accessionOrder;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
 public void Execute(YellowstonePathology.Business.Cytology.Model.ScreeningImpression screeningImpression, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_ScreeningImpression = screeningImpression;
     this.m_PanelOrder = panelOrder;
     this.m_AccessionOrder = accessionOrder;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
        public string Testing()
        {
            //YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology)this.m_CytologyUI.AccessionOrder.PanelSetOrderCollection[1].PanelOrderCollection[0];
            //this.m_CytologyUI.NotifyPropertyChanged(string.Empty);

            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology) this.m_CytologyUI.PanelSetOrderCytology.PanelOrderCollection[0];
            return(panelOrder.ScreenerComment);
        }
 private void AddQCPanel()
 {
     YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapQCPanel thinPrepPapQCPanel = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapQCPanel();
     string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapQCPanel, this.m_SystemIdentity.User.UserId);
     panelOrder.FromExistingPanelOrder(this.m_PanelOrderToFinal, thinPrepPapQCPanel.ScreeningType, true, m_SystemIdentity.User.UserId);
     this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrder);
 }
Пример #19
0
 public void Execute(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology cytologyPanelOrderToUnfinal, YellowstonePathology.Business.Test.AccessionOrder cytologyAccessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_CytologyAccessionOrder = cytologyAccessionOrder;
     this.m_PanelOrderToUnfinal = cytologyPanelOrderToUnfinal;
     this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)this.m_CytologyAccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToUnfinal.ReportNo);
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(executionStatus);
 }
Пример #20
0
 public void Execute(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_ExecutionStatus       = executionStatus;
     this.m_AccessionOrder        = accessionOrder;
     this.m_PanelOrderToFinal     = panelOrderToFinal;
     this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToFinal.ReportNo);
     this.m_Rule.Execute(executionStatus);
 }
Пример #21
0
        private void AddQCPanel()
        {
            YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapQCPanel thinPrepPapQCPanel = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapQCPanel();
            string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();

            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapQCPanel, this.m_SystemIdentity.User.UserId);
            panelOrder.FromExistingPanelOrder(this.m_PanelOrderToFinal, thinPrepPapQCPanel.ScreeningType, true, m_SystemIdentity.User.UserId);
            this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrder);
        }
Пример #22
0
 public void Execute(YellowstonePathology.Business.Cytology.Model.SpecimenAdequacy specimenAdequacy, List<YellowstonePathology.Business.Cytology.Model.SpecimenAdequacyComment> specimenAdequacyComments, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_SpecimenAdequacy = specimenAdequacy;
     this.m_SpecimenAdequacyComments = specimenAdequacyComments;
     this.m_PanelOrder = panelOrder;
     this.m_AccessionOrder = accessionOrder;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
Пример #23
0
        public void AddAcidWashPanelOrder(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology orderingPanelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
        {
            string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();

            YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapAcidWashPanel thinPrepPapAcidWashPanel   = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapAcidWashPanel();
            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash       panelOrderCytologyAcidWash = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapAcidWashPanel, this.m_SystemIdentity.User.UserId);
            this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrderCytologyAcidWash);
            orderingPanelOrder.AppendReportComment(thinPrepPapAcidWashPanel.ReportComment);
        }
Пример #24
0
 public void Execute(YellowstonePathology.Business.Cytology.Model.SpecimenAdequacy specimenAdequacy, List <YellowstonePathology.Business.Cytology.Model.SpecimenAdequacyComment> specimenAdequacyComments, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_SpecimenAdequacy         = specimenAdequacy;
     this.m_SpecimenAdequacyComments = specimenAdequacyComments;
     this.m_PanelOrder      = panelOrder;
     this.m_AccessionOrder  = accessionOrder;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
Пример #25
0
 public void UpdateFromScreening(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology)
 {
     this.ResultCode          = panelOrderCytology.ResultCode;
     this.SpecimenAdequacy    = panelOrderCytology.SpecimenAdequacy;
     this.ScreeningImpression = panelOrderCytology.ScreeningImpression;
     this.OtherConditions     = panelOrderCytology.OtherConditions;
     this.ReportComment       = panelOrderCytology.ReportComment;
     this.ScreenedById        = panelOrderCytology.ScreenedById;
     this.ScreenedByName      = panelOrderCytology.ScreenedByName;
 }
Пример #26
0
 private void SetResults()
 {
     YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology panelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToSet.ReportNo);
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology    panelOrderResult      = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology)panelSetOrderCytology.PanelOrderCollection[0];
     this.m_PanelOrderToSet.ScreeningImpression = panelOrderResult.ScreeningImpression;
     this.m_PanelOrderToSet.SpecimenAdequacy    = panelOrderResult.SpecimenAdequacy;
     this.m_PanelOrderToSet.OtherConditions     = panelOrderResult.OtherConditions;
     this.m_PanelOrderToSet.ReportComment       = panelOrderResult.ReportComment;
     this.m_PanelOrderToSet.ResultCode          = panelOrderResult.ResultCode;
 }
Пример #27
0
        public void OrderDotReviewPanelOrder(string comment, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology orderingPanelOrder)
        {
            string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();

            YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapDotReviewPanel thinPrepPapDotReviewPanel   = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapDotReviewPanel();
            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology        panelOrderCytologyDotReview = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapDotReviewPanel, this.m_SystemIdentity.User.UserId);
            panelOrderCytologyDotReview.OrderComment = comment;
            panelOrderCytologyDotReview.OrderedById  = orderingPanelOrder.OrderedById;
            this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrderCytologyDotReview);
        }
Пример #28
0
        private void AddPanelOrder()
        {
            YellowstonePathology.Business.User.SystemIdentity systemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance;
            YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapScreeningPanel thinPrepPapScreeningPanel = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapScreeningPanel();
            thinPrepPapScreeningPanel.ScreeningType = this.m_ScreeningType;

            string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();
            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapScreeningPanel, systemIdentity.User.UserId);
            panelOrderCytology.FromExistingPanelOrder(this.m_InitiatingPanelOrder, this.m_ScreeningType, false, systemIdentity.User.UserId);
            this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrderCytology);
        }
Пример #29
0
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology cytologyPanelOrder = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology)value;
            string result = string.Empty;

            if (!string.IsNullOrEmpty(cytologyPanelOrder.ScreenerComment))
            {
                result = "(" + cytologyPanelOrder.ScreenerComment + ")";
            }
            return(result);
        }
Пример #30
0
        private void AddPanelOrder()
        {
            YellowstonePathology.Business.User.SystemIdentity systemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance;
            YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapScreeningPanel thinPrepPapScreeningPanel = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapScreeningPanel();
            thinPrepPapScreeningPanel.ScreeningType = this.m_ScreeningType;

            string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();

            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapScreeningPanel, systemIdentity.User.UserId);
            panelOrderCytology.FromExistingPanelOrder(this.m_InitiatingPanelOrder, this.m_ScreeningType, false, systemIdentity.User.UserId);
            this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrderCytology);
        }
 public CanFinalizeCytologyPanelOrderAudit(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal,
     YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology panelSetOrderCytology,
     YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
     YellowstonePathology.Business.User.SystemIdentity systemIdentity,
     YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_PanelOrderToFinal = panelOrderToFinal;
     this.m_PanelSetOrderCytology = panelSetOrderCytology;
     this.m_AccessionOrder = accessionOrder;
     this.m_SystemIdentity = systemIdentity;
     this.m_ExecutionStatus = executionStatus;
 }
Пример #32
0
 private void IsQCScreenerSameAsInitialScreener()
 {
     if (this.m_PanelOrderToFinal.ScreeningType.ToUpper() == "CYTOTECH REVIEW")
     {
         YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology primaryScreening = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology) this.m_PanelSetOrderCytology.PanelOrderCollection.GetPrimaryScreening();
         if (primaryScreening.ScreenedById == this.m_PanelOrderToFinal.ScreenedById)
         {
             this.m_ExecutionStatus.AddMessage("When the reviewer is the same as the primary screener the reviewer may not final the PanelSetOrder.", true);
             this.m_ExecutionStatus.ShowMessage = true;
         }
     }
 }
Пример #33
0
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology cytologyPanelOrder = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology)value;
            string result = cytologyPanelOrder.ScreeningType;

            if (cytologyPanelOrder.QC == true)
            {
                result += " - QC";
            }
            result += " By: " + cytologyPanelOrder.ScreenedByName;
            return(result);
        }
Пример #34
0
        protected bool CanPostProfessionalCode()
        {
            bool result = false;

            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology = ((YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology) this.m_PanelSetOrder).GetPhysicianInterp();
            if (panelOrderCytology != null && panelOrderCytology.NoCharge == false)
            {
                result = true;
            }

            return(result);
        }
 public CanFinalizeCytologyPanelOrderAudit(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal,
                                           YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology panelSetOrderCytology,
                                           YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                           YellowstonePathology.Business.User.SystemIdentity systemIdentity,
                                           YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_PanelOrderToFinal     = panelOrderToFinal;
     this.m_PanelSetOrderCytology = panelSetOrderCytology;
     this.m_AccessionOrder        = accessionOrder;
     this.m_SystemIdentity        = systemIdentity;
     this.m_ExecutionStatus       = executionStatus;
 }
Пример #36
0
        public void Execute(string screeningType, YellowstonePathology.Business.Test.AccessionOrder cytologyAccessionOrder,
                            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology initiatingPanelOrder, ProcessingModeEnum processingMode,
                            YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
        {
            this.m_ScreeningType          = screeningType;
            this.m_CytologyAccessionOrder = cytologyAccessionOrder;
            this.m_InitiatingPanelOrder   = initiatingPanelOrder;
            this.m_PanelSetOrderCytology  = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)cytologyAccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(initiatingPanelOrder.ReportNo);
            this.m_ProcessingMode         = processingMode;

            this.m_ExecutionStatus = executionStatus;
            this.m_Rule.Execute(this.m_ExecutionStatus);
        }
Пример #37
0
        public void Execute(string screeningType, YellowstonePathology.Business.Test.AccessionOrder cytologyAccessionOrder,
            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology initiatingPanelOrder, ProcessingModeEnum processingMode,
            YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
        {
            this.m_ScreeningType = screeningType;
            this.m_CytologyAccessionOrder = cytologyAccessionOrder;
            this.m_InitiatingPanelOrder = initiatingPanelOrder;
            this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)cytologyAccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(initiatingPanelOrder.ReportNo);
            this.m_ProcessingMode = processingMode;

            this.m_ExecutionStatus = executionStatus;
            this.m_Rule.Execute(this.m_ExecutionStatus);
        }
Пример #38
0
 private void HandleScreeningError()
 {
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology = this.m_PanelSetOrderCytology.PanelOrderCollection.GetPrimaryScreening();
     if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsResultCodeNormal(panelOrderCytology.ResultCode) == true)
     {
         if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisThreeOrBetter(this.m_PanelSetOrderCytology.ResultCode))
         {
             this.m_PanelSetOrderCytology.ScreeningError = true;
         }
         else
         {
             this.m_PanelSetOrderCytology.ScreeningError = false;
         }
     }
 }
Пример #39
0
 public YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology GetPrimaryScreening()
 {
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology result = null;
     foreach (PanelOrder panelOrder in this.m_PanelOrderCollection)
     {
         if (panelOrder.PanelId == 38)
         {
             if (((YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology)panelOrder).ScreeningType == "Primary Screening")
             {
                 result = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology)panelOrder;
                 break;
             }
         }
     }
     return(result);
 }
Пример #40
0
 public YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology GetPhysicianInterp()
 {
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology result = null;
     foreach (PanelOrder panelOrder in this.m_PanelOrderCollection)
     {
         if (panelOrder.PanelId == 38)
         {
             if (((YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology)panelOrder).PhysicianInterpretation == true)
             {
                 result = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology)panelOrder;
                 break;
             }
         }
     }
     return(result);
 }
Пример #41
0
        public void UnfinalPanelOrder()
        {
            if (this.m_PanelSetOrderCytology.Final == false)
            {
                YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology cytologyPanelOrder = (YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology) this.m_PanelOrderToUnfinal;

                cytologyPanelOrder.Accepted     = false;
                cytologyPanelOrder.AcceptedById = 0;
                cytologyPanelOrder.AssignedToId = 0;
                cytologyPanelOrder.AcceptedDate = null;
                cytologyPanelOrder.AcceptedTime = null;

                cytologyPanelOrder.ScreenedById   = 0;
                cytologyPanelOrder.ScreenedByName = null;
            }
        }
Пример #42
0
 public void Execute(YellowstonePathology.Business.User.SystemUser userPerformingFinal, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_UserPerformingFinal = userPerformingFinal;
     this.m_ExecutionStatus = executionStatus;
     this.m_AccessionOrder = accessionOrder;
     this.m_PanelOrderToFinal = panelOrderToFinal;
     this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToFinal.ReportNo);
     this.m_Rule.Execute(executionStatus);
 }
Пример #43
0
 public void Execute(string otherCondition, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_OtherCondition = otherCondition;
     this.m_PanelOrder = panelOrder;
     this.m_Rule.Execute(executionStatus);
 }
Пример #44
0
 public void Execute(string reportComment, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_ReportComment = reportComment;
     this.m_PanelOrder = panelOrder;
     this.m_Rule.Execute(executionStatus);
 }
Пример #45
0
 public void OrderDotReviewPanelOrder(string comment, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology orderingPanelOrder)
 {
     string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();
     YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapDotReviewPanel thinPrepPapDotReviewPanel = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapDotReviewPanel();
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytologyDotReview = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapDotReviewPanel, this.m_SystemIdentity.User.UserId);
     panelOrderCytologyDotReview.OrderComment = comment;
     panelOrderCytologyDotReview.OrderedById = orderingPanelOrder.OrderedById;
     this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrderCytologyDotReview);
 }