Exemplo n.º 1
0
        public override void Run()
        {
            this.m_Status = AuditStatusEnum.OK;

            YellowstonePathology.Business.Test.Surgical.SurgicalTest surgicalTest = new YellowstonePathology.Business.Test.Surgical.SurgicalTest();
            if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(surgicalTest.PanelSetId))
            {
                YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
                if (this.m_AccessionOrder.SpecimenOrderCollection.ContainsString("Fine") == true)
                {
                    this.m_Status = AuditStatusEnum.Failure;
                    foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
                    {
                        if (surgicalSpecimen.IntraoperativeConsultationResultCollection.Count > 0)
                        {
                            this.m_Status = AuditStatusEnum.OK;
                            break;
                        }
                    }

                    if (this.m_Status == AuditStatusEnum.Failure)
                    {
                        this.m_Message.Append("FNA without Frozen.");
                    }
                }
            }
        }
Exemplo n.º 2
0
        public SurgicalAudit(string surgicalAuditId, string amendmentId, YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical, int pathologistId, int assignedToId)
        {
            this.m_SurgicalSpecimenAuditCollection = new SurgicalSpecimenAuditCollection();

            this.SurgicalAuditId             = surgicalAuditId;
            this.ReportNo                    = panelSetOrderSurgical.ReportNo;
            this.AmendmentId                 = amendmentId;
            this.PathologistId               = pathologistId;
            this.ClinicalInfo                = "None Provided";
            this.GrossX                      = panelSetOrderSurgical.GrossX;
            this.ImmediateX                  = panelSetOrderSurgical.ImmediateX;
            this.MicroscopicX                = panelSetOrderSurgical.MicroscopicX;
            this.Comment                     = panelSetOrderSurgical.Comment;
            this.ImmunoComment               = panelSetOrderSurgical.ImmunoComment;
            this.ImmediateCorrelation        = panelSetOrderSurgical.ImmediateCorrelation;
            this.ImmediateCorrelationComment = panelSetOrderSurgical.ImmediateCorrelationComment;
            this.PapCorrelation              = panelSetOrderSurgical.PapCorrelation;
            this.PapCorrelationComment       = panelSetOrderSurgical.PapCorrelationComment;
            this.PapCorrelationRequired      = panelSetOrderSurgical.PapCorrelationRequired;
            this.PapCorrelationAccessionNo   = panelSetOrderSurgical.PapCorrelationAccessionNo;
            this.LocumPerformedForInitials   = panelSetOrderSurgical.LocumPerformedForInitials;
            this.ReportableCase              = panelSetOrderSurgical.ReportableCase;
            this.CancerSummary               = panelSetOrderSurgical.CancerSummary;
            this.AJCCStage                   = panelSetOrderSurgical.AJCCStage;
            this.PQRIRequired                = panelSetOrderSurgical.PQRIRequired;
            this.PQRIInstructions            = panelSetOrderSurgical.PQRIInstructions;
            this.Status                      = panelSetOrderSurgical.Status;
            this.CaseType                    = panelSetOrderSurgical.CaseType;
        }
Exemplo n.º 3
0
        public void GetAccessionOrder(string reportNo)
        {
            string masterAccessionNo = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetMasterAccessionNoFromReportNo(reportNo);

            if (string.IsNullOrEmpty(masterAccessionNo) == false)
            {
                this.m_AccessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(masterAccessionNo, this.m_Writer);

                if (this.m_AccessionOrder != null)
                {
                    this.m_SurgicalTestOrder = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);

                    this.m_CaseDocumentCollection = new Business.Document.CaseDocumentCollection(this.m_AccessionOrder, reportNo);

                    this.RefreshBillingSpecimenViewCollection();

                    this.NotifyPropertyChanged("");
                }
                else
                {
                    MessageBox.Show("Case Not Found.");
                }
            }
            else
            {
                MessageBox.Show("Case Not Found.");
            }
        }
 public PathologistSignoutAuditCollection(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = accessionOrder.PanelSetOrderCollection.GetSurgical();
     this.Add(new CellBlockWarningAudit(accessionOrder));
     this.Add(new AncillaryStudiesAreHandledAudit(surgicalTestOrder));
     this.Add(new SurgicalCaseHasQuestionMarksAudit(accessionOrder, surgicalTestOrder));
     this.Add(new SigningUserIsAssignedUserAudit(surgicalTestOrder));
     this.Add(new SvhCaseHasMRNAndAccountNoAudit(accessionOrder));
     this.Add(new DistributionNotSetAudit(surgicalTestOrder));
     this.Add(new CaseHasNotFoundClientAudit(accessionOrder));
     this.Add(new CaseHasNotFoundProviderAudit(accessionOrder));
     this.Add(new DistributionAvailableAudit(accessionOrder));
     this.Add(new CaseHasUnfinaledProspectiveReviewAudit(accessionOrder));
     this.Add(new GradedStainsAreHandledAudit(surgicalTestOrder));
     this.Add(new IntraoperativeConsultationCorrelationAudit(surgicalTestOrder));
     this.Add(new PapCorrelationIsRequiredAudit(accessionOrder));
     this.Add(new PQRSIsRequiredAudit(accessionOrder));
     this.Add(new NonASCIICharacterAudit(surgicalTestOrder));
     this.Add(new LynchSyndromeAudit(accessionOrder));
     this.Add(new CCCPAudit(accessionOrder));
     this.Add(new BRAFMetastaticMelanomaAudit(accessionOrder));
     this.Add(new HPV1618ForSiteAudit(accessionOrder));
     this.Add(new RASRAForMetastaticColorectalCancerAudit(accessionOrder));
     this.Add(new PNHOnBoneMarrowSpecimenAudit(accessionOrder));
     this.Add(new PDL1Audit(accessionOrder));
     this.Add(new BoneMarrowSummaryAudit(accessionOrder));
 }
Exemplo n.º 5
0
 public void SetSurgicalAuditAmendment(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrder)
 {
     foreach (YellowstonePathology.Business.Amendment.Model.Amendment amendment in panelSetOrder.AmendmentCollection)
     {
         panelSetOrder.SurgicalAuditCollection.SetAmendmentReference(amendment);
     }
 }
Exemplo n.º 6
0
        private YellowstonePathology.Business.Surgical.PQRSMeasure GetApplicablePQRSMeasure()
        {
            YellowstonePathology.Business.Surgical.PQRSMeasure            result            = null;
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
            if (surgicalTestOrder.PQRSIsIndicated == true)
            {
                if (surgicalTestOrder.PQRSNotApplicable == false)
                {
                    YellowstonePathology.Business.Surgical.PQRSMeasureCollection pqrsCollection = YellowstonePathology.Business.Surgical.PQRSMeasureCollection.GetAll();
                    int patientAge = YellowstonePathology.Business.Helper.PatientHelper.GetAge(this.m_AccessionOrder.PBirthdate.Value);
                    foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
                    {
                        foreach (YellowstonePathology.Business.Surgical.PQRSMeasure pqrsMeasure in pqrsCollection)
                        {
                            if (pqrsMeasure.DoesMeasureApply(surgicalTestOrder, surgicalSpecimen, patientAge) == true)
                            {
                                result = pqrsMeasure;
                                break;
                            }
                        }

                        if (result != null)
                        {
                            break;
                        }
                    }
                }
            }
            return(result);
        }
        public override void Run()
        {
            this.m_Status = AuditStatusEnum.OK;
            this.m_Message.Clear();

            YellowstonePathology.Business.Test.RASRAFPanel.RASRAFPanelTest rasRAFPanelTest = new Test.RASRAFPanel.RASRAFPanelTest();
            if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(rasRAFPanelTest.PanelSetId) == false)
            {
                YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
                if (this.IndicatorExists(surgicalTestOrder.Comment))
                {
                    this.m_Status = AuditStatusEnum.Failure;
                    this.m_Message.Append(rasRAFPanelTest.PanelSetName);
                }
                else
                {
                    foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
                    {
                        if (this.IndicatorExists(surgicalSpecimen.Diagnosis) == true)
                        {
                            this.m_Status = AuditStatusEnum.Failure;
                            this.m_Message.Append(rasRAFPanelTest.PanelSetName);
                            break;
                        }
                    }
                }
            }
        }
Exemplo n.º 8
0
        public override void Run()
        {
            this.m_Status = AuditStatusEnum.OK;
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
            YellowstonePathology.Business.Surgical.PQRSMeasureCollection  pqrsCollection    = YellowstonePathology.Business.Surgical.PQRSMeasureCollection.GetAll();
            int patientAge = YellowstonePathology.Business.Helper.PatientHelper.GetAge(this.m_AccessionOrder.PBirthdate.Value);

            foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
            {
                foreach (YellowstonePathology.Business.Surgical.PQRSMeasure pqrsMeasure in pqrsCollection)
                {
                    if (pqrsMeasure.DoesMeasureApply(surgicalTestOrder, surgicalSpecimen, patientAge) == true)
                    {
                        this.m_Status = AuditStatusEnum.Failure;
                        this.m_Message.Append("A PQRS code must be applied.");
                        this.m_PQRSMeasure      = pqrsMeasure;
                        this.m_SurgicalSpecimen = surgicalSpecimen;
                        break;
                    }
                }
                if (this.m_Status == AuditStatusEnum.Failure)
                {
                    break;
                }
            }
        }
Exemplo n.º 9
0
        public static SpecimenSurgicalDiagnosisView Parse(YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            SpecimenSurgicalDiagnosisView result = new SpecimenSurgicalDiagnosisView();

            result.SpecimenOrder = specimenOrder;

            if (accessionOrder.PanelSetOrderCollection.HasSurgical() == true)
            {
                YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical = accessionOrder.PanelSetOrderCollection.GetSurgical();
                if (panelSetOrderSurgical.SurgicalSpecimenCollection.SpecimenOrderExists(specimenOrder.SpecimenOrderId) == true)
                {
                    YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen = panelSetOrderSurgical.SurgicalSpecimenCollection.GetBySpecimenOrderId(specimenOrder.SpecimenOrderId);
                    result.SurgicalSpecimen           = surgicalSpecimen;
                    result.SurgicalDiagnosisIsOrdered = true;
                }
                else
                {
                    result.SurgicalDiagnosisIsOrdered = false;
                }
            }
            else
            {
                result.SurgicalDiagnosisIsOrdered = false;
            }

            return(result);
        }
Exemplo n.º 10
0
        public SurgicalAudit GetNextItem(string amendmentId, YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical, int pathologistId, int assignedToId)
        {
            string        surgicalAuditId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();
            SurgicalAudit surgicalAudit   = new Surgical.SurgicalAudit(surgicalAuditId, surgicalAuditId, amendmentId, panelSetOrderSurgical, pathologistId, assignedToId);

            return(surgicalAudit);
        }
Exemplo n.º 11
0
        private void BuildSurgicalSpecific(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder, XElement panelSetOrderElement)
        {
            YellowstonePathology.Business.Test.Surgical.SurgicalTest panelSetSurgical = new YellowstonePathology.Business.Test.Surgical.SurgicalTest();
            if (panelSetOrder.PanelSetId == panelSetSurgical.PanelSetId)
            {
                YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder)panelSetOrder;
                List <XElement> surgicalSpecimenElements = (from item in panelSetOrderElement.Elements("SurgicalSpecimenCollection")
                                                            select item).ToList <XElement>();
                foreach (XElement surgicalSpecimenElement in surgicalSpecimenElements.Elements("SurgicalSpecimen"))
                {
                    YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen  = new YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen();
                    YellowstonePathology.Business.Persistence.XmlPropertyWriter  xmlPropertyWriter = new YellowstonePathology.Business.Persistence.XmlPropertyWriter(surgicalSpecimenElement, surgicalSpecimen);
                    xmlPropertyWriter.Write();
                    BuildICD9Code(surgicalSpecimen, surgicalSpecimenElement);
                    BuildIntraoperativeConsultationResult(surgicalSpecimen, surgicalSpecimenElement);
                    BuildStainResult(surgicalSpecimen, surgicalSpecimenElement);
                    panelSetOrderSurgical.SurgicalSpecimenCollection.Add(surgicalSpecimen);
                }

                BuildSurgicalAudit(panelSetOrderSurgical, panelSetOrderElement);
                SetSurgicalAuditAmendment(panelSetOrderSurgical);
                SetSurgicalSpecimenSpecimenOrder(accessionOrder, panelSetOrderSurgical);
                SetSurgicalSpecimenAuditSpecimenOrder(accessionOrder, panelSetOrderSurgical);
                SetSurgicalSpecimenOrderItemCollection(accessionOrder, panelSetOrderSurgical);
            }
        }
Exemplo n.º 12
0
        public override void Run()
        {
            this.m_Status = AuditStatusEnum.OK;
            this.m_Message.Clear();

            YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeEvaluationTest lynchSyndromeEvaluationTest = new Test.LynchSyndrome.LynchSyndromeEvaluationTest();
            if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(lynchSyndromeEvaluationTest.PanelSetId) == false)
            {
                YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
                foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
                {
                    YellowstonePathology.Business.Test.PanelSetOrderCPTCodeCollection panelSetOrderCPTCodeCollectionForThisSpecimen = surgicalTestOrder.PanelSetOrderCPTCodeCollection.GetSpecimenOrderCollection(surgicalSpecimen.SpecimenOrder.SpecimenOrderId);
                    if (this.ColorectalIndicatorExists(surgicalSpecimen.SpecimenOrder.Description, surgicalSpecimen.Diagnosis, panelSetOrderCPTCodeCollectionForThisSpecimen) == true)
                    {
                        this.m_Status = AuditStatusEnum.Failure;
                        this.m_Message.Append(lynchSyndromeEvaluationTest.PanelSetName);
                        break;
                    }
                    else if (this.EndometrialIndicatorExists(surgicalSpecimen.SpecimenOrder.Description, surgicalSpecimen.Diagnosis, panelSetOrderCPTCodeCollectionForThisSpecimen) == true)
                    {
                        this.m_Status = AuditStatusEnum.Failure;
                        this.m_Message.Append(lynchSyndromeEvaluationTest.PanelSetName);
                        break;
                    }
                    else if (this.UterineIndicatorExists(surgicalSpecimen.SpecimenOrder.Description, surgicalSpecimen.Diagnosis, panelSetOrderCPTCodeCollectionForThisSpecimen) == true)
                    {
                        this.m_Status = AuditStatusEnum.Failure;
                        this.m_Message.Append(lynchSyndromeEvaluationTest.PanelSetName);
                        break;
                    }
                }
            }
        }
Exemplo n.º 13
0
 private void SetSurgicalAuditAmendment(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder, YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection)
 {
     foreach (YellowstonePathology.Business.Amendment.Model.Amendment amendment in amendmentCollection)
     {
         surgicalTestOrder.SurgicalAuditCollection.SetAmendmentReference(amendment);
     }
 }
Exemplo n.º 14
0
        private void HasPendingAncillaryStudies()
        {
            if (m_IsSurgical)
            {
                YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder) this.m_PanelSetOrderItem;
                if (panelSetOrderSurgical.TypingStainCollection.Count > 0)
                {
                    string message = string.Empty;
                    foreach (YellowstonePathology.Business.SpecialStain.StainResultItem stainResultItem in panelSetOrderSurgical.TypingStainCollection)
                    {
                        if (string.IsNullOrEmpty(stainResultItem.Result) == true)
                        {
                            message = "There are pending ancillary studies.";
                            break;
                        }
                        if (string.IsNullOrEmpty(stainResultItem.ProcedureComment) == true && (string.IsNullOrEmpty(stainResultItem.Result) || stainResultItem.Result != "Pending"))
                        {
                            message = "There are pending ancillary studies.";
                            break;
                        }

                        if (string.IsNullOrEmpty(message) == false)
                        {
                            System.Windows.MessageBox.Show(message, "Pending Ancillary Studies", System.Windows.MessageBoxButton.OK, System.Windows.MessageBoxImage.Exclamation);
                        }
                    }
                }
            }
        }
Exemplo n.º 15
0
 private void HandleClientAccessionedStainResult()
 {
     if (this.m_AccessionOrder.PanelSetOrderCollection.HasSurgical() == true)
     {
         YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
         foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
         {
             foreach (YellowstonePathology.Business.SpecialStain.StainResultItem stainResult in surgicalSpecimen.StainResultItemCollection)
             {
                 if (this.m_AccessionOrder.SpecimenOrderCollection.SlideOrderExists(stainResult.TestOrderId) == true)
                 {
                     YellowstonePathology.Business.Slide.Model.SlideOrder slideOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSlideOrderByTestOrderId(stainResult.TestOrderId);
                     if (slideOrder.ClientAccessioned == true)
                     {
                         stainResult.ClientAccessioned = true;
                         stainResult.Billable          = false;
                         stainResult.NoCharge          = true;
                     }
                     else
                     {
                         stainResult.ClientAccessioned = false;
                         stainResult.Billable          = true;
                         stainResult.NoCharge          = false;
                     }
                 }
             }
         }
     }
 }
        public override void ToXml(XElement document)
        {
            PanelSetOrder panelSetOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);

            this.AddHeader(document, panelSetOrder, "Bone Marrow Summary");
            this.AddNextObxElement("", document, "F");

            this.AddNextObxElement("SURGICAL PATHOLOGY DIAGNOSIS: ", document, "F");

            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
            this.AddNextObxElement("Reference Report No: " + surgicalTestOrder.ReportNo, document, "F");

            foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
            {
                this.HandleLongString("Specimen: " + surgicalSpecimen.DiagnosisIdFormatted + "  " + surgicalSpecimen.SpecimenOrder.Description, document, "F");
                this.HandleLongString("Diagnosis: " + surgicalSpecimen.Diagnosis, document, "F");
            }

            this.AddNextObxElement("", document, "F");
            this.AddAmendments(document);

            this.AddNextObxElement("", document, "F");
            this.AddNextObxElement("TESTING SUMMARY:", document, "F");

            List <Business.Test.PanelSetOrder> testingSummaryList = this.m_AccessionOrder.PanelSetOrderCollection.GetBoneMarrowAccessionSummaryList(panelSetOrder.ReportNo, true);
            int surgicalPanelSetId = new Test.Surgical.SurgicalTest().PanelSetId;

            for (int idx = testingSummaryList.Count - 1; idx > -1; idx--)
            {
                Business.Test.PanelSetOrder pso = testingSummaryList[idx];
                if (pso.PanelSetId != surgicalPanelSetId)
                {
                    this.AddNextObxElement("Reference Report No: " + pso.ReportNo, document, "F");
                    this.AddNextObxElement("Test Name: " + pso.PanelSetName, document, "F");
                    string result = pso.ToResultString(this.m_AccessionOrder);
                    if (result == "The result string for this test has not been implemented.")
                    {
                        if (string.IsNullOrEmpty(pso.SummaryComment) == false)
                        {
                            result = pso.SummaryComment;
                        }
                        else
                        {
                            result = "Result reported separately.";
                        }
                    }
                    this.HandleLongString(result, document, "F");
                    this.AddNextObxElement("", document, "F");
                }
            }

            this.AddNextObxElement("", document, "F");
            this.AddNextObxElement("Pathologist: " + panelSetOrder.Signature, document, "F");

            if (panelSetOrder.FinalTime.HasValue == true)
            {
                this.AddNextObxElement("E-signed " + panelSetOrder.FinalTime.Value.ToString("MM/dd/yyyy HH:mm"), document, "F");
            }
        }
Exemplo n.º 17
0
 public void Execute(Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical, Business.User.SystemIdentity systemIdentity, ExecutionStatus executionStatus)
 {
     this.m_AccessionOrder        = accessionOrder;
     this.m_PanelSetOrderSurgical = panelSetOrderSurgical;
     this.m_SystemIdentity        = systemIdentity;
     this.m_ExecutionStatus       = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
Exemplo n.º 18
0
        public SpellCheckAccessionOrder(Business.Test.AccessionOrder accessionOrder)
        {
            this.m_PropertyList = new List <SpellCheckProperty>();
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = accessionOrder.PanelSetOrderCollection.GetSurgical();

            PropertyInfo       clinicalInfoProperty = typeof(YellowstonePathology.Business.Test.AccessionOrder).GetProperty("ClinicalHistory");
            SpellCheckProperty clinicalInfo         = new SpellCheckProperty(clinicalInfoProperty, accessionOrder, "Clinical History");

            this.m_PropertyList.Add(clinicalInfo);

            PropertyInfo       grossXProperty = typeof(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder).GetProperty("GrossX");
            SpellCheckProperty grossX         = new SpellCheckProperty(grossXProperty, surgicalTestOrder, "Gross Description");

            this.m_PropertyList.Add(grossX);

            PropertyInfo       microscopicXProperty = typeof(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder).GetProperty("MicroscopicX");
            SpellCheckProperty microscopicX         = new SpellCheckProperty(microscopicXProperty, surgicalTestOrder, "Microscopic");

            this.m_PropertyList.Add(microscopicX);

            PropertyInfo       commentProperty = typeof(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder).GetProperty("Comment");
            SpellCheckProperty comment         = new SpellCheckProperty(commentProperty, surgicalTestOrder, "Comment");

            this.m_PropertyList.Add(comment);

            PropertyInfo       cancerSummaryProperty = typeof(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder).GetProperty("CancerSummary");
            SpellCheckProperty cancerSummary         = new SpellCheckProperty(cancerSummaryProperty, surgicalTestOrder, "Cancer Summary");

            this.m_PropertyList.Add(cancerSummary);

            foreach (YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder in accessionOrder.SpecimenOrderCollection)
            {
                PropertyInfo       specimenDescriptionProperty = typeof(YellowstonePathology.Business.Specimen.Model.SpecimenOrder).GetProperty("Description");
                SpellCheckProperty specimenDescription         = new SpellCheckProperty(specimenDescriptionProperty, specimenOrder, "Specimen Description");
                this.m_PropertyList.Add(specimenDescription);
            }

            foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
            {
                PropertyInfo       diagnosisProperty = typeof(YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen).GetProperty("Diagnosis");
                SpellCheckProperty diagnosis         = new SpellCheckProperty(diagnosisProperty, surgicalSpecimen, "Specimen Diagnosis");
                this.m_PropertyList.Add(diagnosis);

                foreach (YellowstonePathology.Business.SpecialStain.StainResultItem stainResultItem in surgicalSpecimen.StainResultItemCollection)
                {
                    PropertyInfo       stainResultProperty = typeof(YellowstonePathology.Business.SpecialStain.StainResultItem).GetProperty("Result");
                    SpellCheckProperty stainResult         = new SpellCheckProperty(stainResultProperty, stainResultItem, "Stain Result");
                    this.m_PropertyList.Add(stainResult);

                    PropertyInfo       stainCommentProperty = typeof(YellowstonePathology.Business.SpecialStain.StainResultItem).GetProperty("ReportComment");
                    SpellCheckProperty stainCommentResult   = new SpellCheckProperty(stainCommentProperty, stainResultItem, "Stain Comment");
                    this.m_PropertyList.Add(stainCommentResult);
                }
            }

            this.m_CurrentPropertyListIndex = -1;
            this.m_Regex = new System.Text.RegularExpressions.Regex(@"\b\w+\b");
        }
Exemplo n.º 19
0
        public GrossEntryPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_PanelSetOrderSurgical = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();

            this.m_PageHeaderText = this.m_PanelSetOrderSurgical.ReportNo + ": " +
                accessionOrder.PFirstName + " " + accessionOrder.PLastName;

            InitializeComponent();

            this.DataContext = this;
        }
Exemplo n.º 20
0
 public YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder GetSurgical()
 {
     YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder result = null;
     foreach (YellowstonePathology.Business.Test.PanelSetOrder item in this)
     {
         if (item.PanelSetId == 13)
         {
             result = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder)item;
         }
     }
     return(result);
 }
Exemplo n.º 21
0
 public override void Visit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     YellowstonePathology.Business.Specimen.Model.Specimen thinPrepFluid = YellowstonePathology.Business.Specimen.Model.SpecimenCollection.Instance.GetSpecimen("SPCMNTHNPRPFLD"); // Definition.ThinPrepFluid();
     if (this.m_SpecimenOrder.SpecimenId != thinPrepFluid.SpecimenId)
     {
         if (surgicalTestOrder.SurgicalSpecimenCollection.SpecimenOrderExists(this.m_SpecimenOrder.SpecimenOrderId) == false)
         {
             YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen = surgicalTestOrder.SurgicalSpecimenCollection.Add(surgicalTestOrder.ReportNo);
             surgicalSpecimen.FromSpecimenOrder(this.m_SpecimenOrder);
         }
     }
 }
Exemplo n.º 22
0
 public override void Visit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
     if (this.m_SpecimenOrder.SpecimenId != thinPrepFluid.SpecimenId)
     {
         if (surgicalTestOrder.SurgicalSpecimenCollection.Exists(this.m_SpecimenOrder.SpecimenOrderId) == false)
         {
             YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen = surgicalTestOrder.SurgicalSpecimenCollection.Add(surgicalTestOrder.ReportNo);
             surgicalSpecimen.FromSpecimenOrder(this.m_SpecimenOrder);
         }
     }
 }
Exemplo n.º 23
0
        public GrossEntryPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_AccessionOrder        = accessionOrder;
            this.m_PanelSetOrderSurgical = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();

            this.m_PageHeaderText = this.m_PanelSetOrderSurgical.ReportNo + ": " +
                                    accessionOrder.PFirstName + " " + accessionOrder.PLastName;

            InitializeComponent();

            this.DataContext = this;
        }
Exemplo n.º 24
0
        public void ToXml(XElement document)
        {
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);

            int observationSubId = 1;

            foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in panelSetOrderSurgical.SurgicalSpecimenCollection)
            {
                XElement natureOfSpecimenObx3 = this.CreateObx3Segement("22633-2", "Nature of Specimen", "LN");
                string   natureOfSpecimen     = this.StripWhiteSpace(surgicalSpecimen.SpecimenOrder.Description);
                this.AddNextObxElement(document, natureOfSpecimenObx3, observationSubId, natureOfSpecimen, "F");

                XElement finalDiagnosisObx3 = this.CreateObx3Segement("22637-3", "Final Diagnosis", "LN");
                string   finalDiagnosis     = this.StripWhiteSpace(surgicalSpecimen.Diagnosis);
                this.AddNextObxElement(document, finalDiagnosisObx3, observationSubId, finalDiagnosis, "F");

                observationSubId += 1;
            }

            observationSubId += 1;
            XElement grossObx03Element = this.CreateObx3Segement("22634-0", "Gross Pathology", "LN");
            string   grossDescription  = this.StripWhiteSpace(panelSetOrderSurgical.GrossX);

            this.AddNextObxElement(document, grossObx03Element, observationSubId, grossDescription, "F");

            observationSubId += 1;
            XElement microObx03Element = this.CreateObx3Segement("22635-7", "Micro Pathology", "LN");
            string   microDescription  = this.StripWhiteSpace(panelSetOrderSurgical.MicroscopicX);

            this.AddNextObxElement(document, microObx03Element, observationSubId, microDescription, "F");

            observationSubId += 1;
            XElement clinicalInfoObx03Element = this.CreateObx3Segement("22636-5", "Clinical History", "LN");
            string   clinicalInfo             = this.StripWhiteSpace(this.m_AccessionOrder.ClinicalHistory);

            this.AddNextObxElement(document, clinicalInfoObx03Element, observationSubId, clinicalInfo, "F");

            observationSubId += 1;
            XElement commentObx03Element = this.CreateObx3Segement("22638-1", "Comment Section", "LN");
            string   comment             = this.StripWhiteSpace(panelSetOrderSurgical.Comment);

            this.AddNextObxElement(document, commentObx03Element, observationSubId, comment, "F");

            observationSubId += 1;
            YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(panelSetOrderSurgical.ReportNo);
            foreach (YellowstonePathology.Business.Amendment.Model.Amendment amendment in amendmentCollection)
            {
                XElement supplemental03Element = this.CreateObx3Segement("22639-9", "SupplementalReports/Addendum", "LN");
                string   supplemental          = this.StripWhiteSpace(amendment.Text);
                this.AddNextObxElement(document, supplemental03Element, observationSubId, supplemental, "F");
            }
        }
Exemplo n.º 25
0
		public CodeSelectionV2(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen)
        {
			this.m_AccessionOrder = accessionOrder;
            this.m_SurgicalSpecimen = surgicalSpecimen;
			this.m_SurgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
			this.m_TypingCptCodeList = new YellowstonePathology.Business.Billing.TypingCptCodeList();

            InitializeComponent();

            this.ListViewCptCodes.ItemsSource = this.m_TypingCptCodeList;
            this.Loaded += new RoutedEventHandler(CptCodeSelection_Loaded);
        }
        public NonASCIICharacterCorrectionPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder,
        System.Windows.Visibility backButtonVisibility,
            System.Windows.Visibility nextButtonVisibility)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_SurgicalTestOrder = surgicalTestOrder;
            this.m_BackButtonVisibility = backButtonVisibility;
            this.m_NextButtonVisibility = nextButtonVisibility;

            InitializeComponent();
            DataContext = this;
        }
Exemplo n.º 27
0
        public NonASCIICharacterCorrectionPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                               YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder,
                                               System.Windows.Visibility backButtonVisibility,
                                               System.Windows.Visibility nextButtonVisibility)
        {
            this.m_AccessionOrder       = accessionOrder;
            this.m_SurgicalTestOrder    = surgicalTestOrder;
            this.m_BackButtonVisibility = backButtonVisibility;
            this.m_NextButtonVisibility = nextButtonVisibility;

            InitializeComponent();
            DataContext = this;
        }
Exemplo n.º 28
0
        public CodeSelectionV2(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_SurgicalSpecimen = surgicalSpecimen;
            this.m_SurgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
            this.m_TypingCptCodeList = new YellowstonePathology.Business.Billing.Model.TypingCptCodeList();

            InitializeComponent();

            this.ListViewCptCodes.ItemsSource = this.m_TypingCptCodeList;
            this.Loaded += new RoutedEventHandler(CptCodeSelection_Loaded);
        }
Exemplo n.º 29
0
 private void SetSurgicalSpecimenAuditSpecimenOrder(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     foreach (YellowstonePathology.Business.Test.Surgical.SurgicalAudit surgicalAudit in surgicalTestOrder.SurgicalAuditCollection)
     {
         foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimenAudit surgicalSpecimenAudit in surgicalAudit.SurgicalSpecimenAuditCollection)
         {
             Specimen.Model.SpecimenOrder specimenOrder = (from so in this.m_AccessionOrder.SpecimenOrderCollection
                                                           where so.SpecimenOrderId == surgicalSpecimenAudit.SpecimenOrderId
                                                           select so).Single <Specimen.Model.SpecimenOrder>();
             surgicalSpecimenAudit.SpecimenOrder = specimenOrder;
         }
     }
 }
Exemplo n.º 30
0
 private void SetSurgicalSpecimenSpecimenOrder(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in surgicalTestOrder.SurgicalSpecimenCollection)
     {
         foreach (Specimen.Model.SpecimenOrder specimenOrder in this.m_AccessionOrder.SpecimenOrderCollection)
         {
             if (specimenOrder.SpecimenOrderId == surgicalSpecimen.SpecimenOrderId)
             {
                 surgicalSpecimen.SpecimenOrder = specimenOrder;
                 break;
             }
         }
     }
 }
Exemplo n.º 31
0
        public PathologistSignoutPath(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                      YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
        {
            this.m_AccessionOrder    = accessionOrder;
            this.m_SurgicalTestOrder = surgicalTestOrder;

            this.m_PathologistSignoutAuditCollection = new Business.Audit.Model.PathologistSignoutAuditCollection(this.m_AccessionOrder);

            this.m_AuditResult = this.m_PathologistSignoutAuditCollection.Run2();
            if (this.m_AuditResult.Status == Business.Audit.Model.AuditStatusEnum.Failure)
            {
                this.SetActionList();
            }
        }
Exemplo n.º 32
0
        public PathologistSignoutPath(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_SurgicalTestOrder = surgicalTestOrder;

            this.m_PathologistSignoutAuditCollection = new Business.Audit.Model.PathologistSignoutAuditCollection(this.m_AccessionOrder);

            this.m_AuditResult = this.m_PathologistSignoutAuditCollection.Run2();
            if (this.m_AuditResult.Status == Business.Audit.Model.AuditStatusEnum.Failure)
            {
                this.SetActionList();
            }
        }
Exemplo n.º 33
0
        public DictationTemplatePage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_SurgicalTestOrder = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
            this.m_PathologistUsers  = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true);
            this.m_UserPreference    = YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference;

            InitializeComponent();
            this.Loaded += DictationTemplatePage_Loaded;

            DataContext = this;
        }
Exemplo n.º 34
0
 public override void Visit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     foreach (YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder in this.m_AccessionOrder.SpecimenOrderCollection)
     {
         if (this.m_PanelSet.OrderTargetTypeCollectionExclusions.Exists(specimenOrder) == false)
         {
             if (surgicalTestOrder.SurgicalSpecimenCollection.Exists(specimenOrder.SpecimenOrderId) == false)
             {
                 YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen = surgicalTestOrder.SurgicalSpecimenCollection.Add(this.m_ReportNo);
                 surgicalSpecimen.FromSpecimenOrder(specimenOrder);
             }
         }
     }
 }
Exemplo n.º 35
0
        public DictationTemplatePage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_SurgicalTestOrder = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
            this.m_DictationTemplateCollection = YellowstonePathology.UI.Gross.DictationTemplateCollection.GetAll();
            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true);
            this.m_UserPreference = YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference;

            InitializeComponent();
            this.Loaded += DictationTemplatePage_Loaded;

            DataContext = this;
        }
Exemplo n.º 36
0
        public PeerReviewResultPage(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_PeerReviewTypeCollection = new YellowstonePathology.Business.Test.PeerReview.PeerReviewTypeCollection();

            this.m_SurgicalTestOrder = surgicalTestOrder;
            this.m_AccessionOrder = accessionOrder;

            this.m_PageHeaderText = "Peer Review for: " + this.m_AccessionOrder.PatientDisplayName;
            this.m_PeerReviewTestOrderCollection = this.m_AccessionOrder.PanelSetOrderCollection.GetPeerReviewCollection();
            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true);

            InitializeComponent();

            DataContext = this;

            Loaded += PeerReviewResultPage_Loaded;
            Unloaded += PeerReviewResultPage_Unloaded;
        }
Exemplo n.º 37
0
        public PQRSSignoutPage(YellowstonePathology.Business.Surgical.PQRSMeasure pqrsMeasure,
            YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen,
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder,
            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            System.Windows.Visibility backButtonVisibility,
            System.Windows.Visibility nextButtonVisibility)
        {
            this.m_PQRSMeasure = pqrsMeasure;
            this.m_SurgicalSpecimen = surgicalSpecimen;
            this.m_SurgicalTestOrder = surgicalTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_BackButtonVisibility = backButtonVisibility;
            this.m_NextButtonVisibility = nextButtonVisibility;

            this.m_SurgicalTestOrder.PQRSIsIndicated = true;

            InitializeComponent();
            this.DataContext = this;
            this.Loaded += PQRSSignoutPage_Loaded;
            Unloaded += PQRSSignoutPage_Unloaded;
        }
Exemplo n.º 38
0
        public PapCorrelationPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder,
            System.Windows.Visibility backButtonVisibility,
            System.Windows.Visibility nextButtonVisibility)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_SurgicalTestOrder = surgicalTestOrder;
            this.m_BackButtonVisibility = backButtonVisibility;
            this.m_NextButtonVisibility = nextButtonVisibility;
            this.m_PageHeaderText = "Pap Correlation Page";
            this.m_PatientHistoryList = new YellowstonePathology.Business.Patient.Model.PatientHistoryList();
            this.m_PatientHistoryList.SetFillCommandByAccessionNo(m_SurgicalTestOrder.ReportNo);
            this.m_PatientHistoryList.Fill();

            InitializeComponent();

            this.DataContext = this;

            Loaded += PapCorrelationPage_Loaded;
            Unloaded += PapCorrelationPage_Unloaded;
        }
        public ComprehensiveColonCancerProfileResult(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			ComprehensiveColonCancerProfile comprehensiveColonCancerProfile)
        {
            this.m_SpecimenOrder = accessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(comprehensiveColonCancerProfile.OrderedOnId);
            this.m_PanelSetOrderSurgical = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder)accessionOrder.PanelSetOrderCollection.GetSurgical();
            this.m_SurgicalSpecimen = this.m_PanelSetOrderSurgical.SurgicalSpecimenCollection.GetBySpecimenOrderId(this.m_SpecimenOrder.SpecimenOrderId);

            bool restrictToOrderedOn = !comprehensiveColonCancerProfile.IncludeTestsPerformedOnOtherBlocks;
            YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeIHCPanelTest panelSetLynchSyndromeIHCPanel = new YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeIHCPanelTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(panelSetLynchSyndromeIHCPanel.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_LSEIHCIsOrdered = true;
                this.m_PanelSetOrderLynchSyndromeIHC = (YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetLynchSyndromeIHCPanel.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
                this.m_IHCResult = YellowstonePathology.Business.Test.LynchSyndrome.IHCResult.CreateResultFromResultCode(this.m_PanelSetOrderLynchSyndromeIHC.ResultCode);
            }

            YellowstonePathology.Business.Test.LynchSyndrome.MLH1MethylationAnalysisTest panelSetMLH1 = new YellowstonePathology.Business.Test.LynchSyndrome.MLH1MethylationAnalysisTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(panelSetMLH1.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_MLHIsOrdered = true;
                this.m_PanelSetOrderMLH1MethylationAnalysis = (YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderMLH1MethylationAnalysis)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetMLH1.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_BRAFV600EKTest = new YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_BRAFV600EKTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_BRAFV600EKIsOrdered = true;
                this.m_BRAFV600EKTestOrder = (YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_BRAFV600EKTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_KRASStandardTest = new YellowstonePathology.Business.Test.KRASStandard.KRASStandardTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_KRASStandardTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_KRASStandardIsOrdered = true;
                this.m_KRASStandardTestOrder = (YellowstonePathology.Business.Test.KRASStandard.KRASStandardTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_KRASStandardTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_KRASExon23MutationTest = new KRASExon23Mutation.KRASExon23MutationTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_KRASExon23MutationTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_KRASExon23MutationIsOrdered = true;
                this.m_KRASExon23MutationTestOrder = (KRASExon23Mutation.KRASExon23MutationTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_KRASExon23MutationTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_KRASExon4MutationTest = new KRASExon4Mutation.KRASExon4MutationTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_KRASExon4MutationTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_KRASExon4MutationIsOrdered = true;
                this.m_KRASExon4MutationTestOrder = (KRASExon4Mutation.KRASExon4MutationTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_KRASExon4MutationTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_NRASMutationAnalysisTest = new NRASMutationAnalysis.NRASMutationAnalysisTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_NRASMutationAnalysisTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_NRASMutationAnalysisIsOrdered = true;
                this.m_NRASMutationAnalysisTestOrder = (NRASMutationAnalysis.NRASMutationAnalysisTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_NRASMutationAnalysisTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_RASRAFPanelTest = new RASRAFPanel.RASRAFPanelTest();
            if(accessionOrder.PanelSetOrderCollection.Exists(this.m_RASRAFPanelTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_RASRAFIsOrdered = true;
                this.m_RASRAFPanelTestOrder = (RASRAFPanel.RASRAFPanelTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_RASRAFPanelTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }
        }
 public SurgicalCaseHasQuestionMarksAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_SurgicalTestOrder = surgicalTestOrder;
 }
Exemplo n.º 41
0
 public PQRSMeasurePath(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_PanelSetOrder = panelSetOrder;
 }
Exemplo n.º 42
0
 public void Execute(Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical, Business.User.SystemIdentity systemIdentity, ExecutionStatus executionStatus)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_PanelSetOrderSurgical = panelSetOrderSurgical;
     this.m_SystemIdentity = systemIdentity;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
 public AncillaryStudiesAreHandledAudit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     this.m_SurgicalTestOrder = surgicalTestOrder;
 }
 public SigningUserIsAssignedUserAudit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     this.m_SurgicalTestOrder = surgicalTestOrder;
 }
Exemplo n.º 45
0
        public static List<YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder> GetSurgicalTestOrder()
        {
            List<YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder> result = new List<YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder>();

            SqlCommand cmd = new SqlCommand();
            cmd.CommandText = "Select * " +
                "from tblPanelSetOrder pso " +
                "join tblSurgicalTestOrder sto on pso.ReportNo = sto.ReportNo " +
                "where pso.OrderDate >= '1/1/2015' and cancersummary is not null";
            cmd.CommandType = CommandType.Text;

            using (SqlConnection cn = new SqlConnection(YellowstonePathology.Properties.Settings.Default.CurrentConnectionString))
            {
                cn.Open();
                cmd.Connection = cn;
                using (SqlDataReader dr = cmd.ExecuteReader())
                {
                    while (dr.Read())
                    {
                        YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder sto = new YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder();
                        YellowstonePathology.Business.Persistence.SqlDataReaderPropertyWriter sqlDataReaderPropertyWriter = new Persistence.SqlDataReaderPropertyWriter(sto, dr);
                        sqlDataReaderPropertyWriter.WriteProperties();
                        result.Add(sto);
                    }
                }
            }
            return result;
        }
        public ComprehensiveColonCancerProfileResult(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			ComprehensiveColonCancerProfile comprehensiveColonCancerProfile)
        {
            this.m_SpecimenOrder = accessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(comprehensiveColonCancerProfile.OrderedOnId);
            this.m_PanelSetOrderSurgical = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder)accessionOrder.PanelSetOrderCollection.GetSurgical();
            this.m_SurgicalSpecimen = this.m_PanelSetOrderSurgical.SurgicalSpecimenCollection.GetBySpecimenOrderId(this.m_SpecimenOrder.SpecimenOrderId);

            bool restrictToOrderedOn = !comprehensiveColonCancerProfile.IncludeTestsPerformedOnOtherBlocks;
            YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeIHCPanelTest panelSetLynchSyndromeIHCPanel = new YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeIHCPanelTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(panelSetLynchSyndromeIHCPanel.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_LSEIHCIsOrdered = true;
                this.m_PanelSetOrderLynchSyndromeIHC = (YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetLynchSyndromeIHCPanel.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
                this.m_IHCResult = YellowstonePathology.Business.Test.LynchSyndrome.IHCResult.CreateResultFromResultCode(this.m_PanelSetOrderLynchSyndromeIHC.ResultCode);
            }
            else
            {
                YellowstonePathology.Business.Domain.PatientHistory patientHistory = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPatientHistory(accessionOrder.PatientId);
                if(patientHistory.PanelSetIdExists(102) == true)
                {
                    YellowstonePathology.Business.Domain.PatientHistoryResult patientHistoryResult = patientHistory.GetByPanelSetId(102);
                    YellowstonePathology.Business.Test.AccessionOrder lseIHCAccessionOrder = Business.Persistence.DocumentGateway.Instance.GetAccessionOrderByMasterAccessionNo(patientHistoryResult.MasterAccessionNo);
                    this.m_LSEIHCIsOrdered = true;
                    this.m_PanelSetOrderLynchSyndromeIHC = (YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC)lseIHCAccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetLynchSyndromeIHCPanel.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
                    this.m_IHCResult = YellowstonePathology.Business.Test.LynchSyndrome.IHCResult.CreateResultFromResultCode(this.m_PanelSetOrderLynchSyndromeIHC.ResultCode);
                }
            }

            YellowstonePathology.Business.Test.LynchSyndrome.MLH1MethylationAnalysisTest panelSetMLH1 = new YellowstonePathology.Business.Test.LynchSyndrome.MLH1MethylationAnalysisTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(panelSetMLH1.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_MLHIsOrdered = true;
                this.m_PanelSetOrderMLH1MethylationAnalysis = (YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderMLH1MethylationAnalysis)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetMLH1.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_BRAFV600EKTest = new YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_BRAFV600EKTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_BRAFV600EKIsOrdered = true;
                this.m_BRAFV600EKTestOrder = (YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_BRAFV600EKTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_KRASStandardTest = new YellowstonePathology.Business.Test.KRASStandard.KRASStandardTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_KRASStandardTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_KRASStandardIsOrdered = true;
                this.m_KRASStandardTestOrder = (YellowstonePathology.Business.Test.KRASStandard.KRASStandardTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_KRASStandardTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_KRASExon23MutationTest = new KRASExon23Mutation.KRASExon23MutationTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_KRASExon23MutationTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_KRASExon23MutationIsOrdered = true;
                this.m_KRASExon23MutationTestOrder = (KRASExon23Mutation.KRASExon23MutationTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_KRASExon23MutationTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_KRASExon4MutationTest = new KRASExon4Mutation.KRASExon4MutationTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_KRASExon4MutationTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_KRASExon4MutationIsOrdered = true;
                this.m_KRASExon4MutationTestOrder = (KRASExon4Mutation.KRASExon4MutationTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_KRASExon4MutationTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_NRASMutationAnalysisTest = new NRASMutationAnalysis.NRASMutationAnalysisTest();
            if (accessionOrder.PanelSetOrderCollection.Exists(this.m_NRASMutationAnalysisTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_NRASMutationAnalysisIsOrdered = true;
                this.m_NRASMutationAnalysisTestOrder = (NRASMutationAnalysis.NRASMutationAnalysisTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_NRASMutationAnalysisTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_RASRAFPanelTest = new RASRAFPanel.RASRAFPanelTest();
            if(accessionOrder.PanelSetOrderCollection.Exists(this.m_RASRAFPanelTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn) == true)
            {
                this.m_RASRAFIsOrdered = true;
                this.m_RASRAFPanelTestOrder = (RASRAFPanel.RASRAFPanelTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_RASRAFPanelTest.PanelSetId, comprehensiveColonCancerProfile.OrderedOnId, restrictToOrderedOn);
            }

            this.m_SurgicalSpecimenCollection = new YellowstonePathology.Business.Test.Surgical.SurgicalSpecimenCollection();
            foreach (YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder in accessionOrder.SpecimenOrderCollection)
            {
                YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen = this.m_PanelSetOrderSurgical.SurgicalSpecimenCollection.GetBySpecimenOrderId(specimenOrder.SpecimenOrderId);
                if (surgicalSpecimen != null)
                {
                    this.m_SurgicalSpecimenCollection.Add(surgicalSpecimen);
                }
            }

            this.m_PanelSetOrderLynchSyndromeIHCCollection = new Collection<LynchSyndrome.PanelSetOrderLynchSyndromeIHC>();
            this.m_MolecularTestOrderCollection = new PanelSetOrderCollection();
            foreach(YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder in accessionOrder.PanelSetOrderCollection)
            {
                if(panelSetOrder is YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC)
                {
                    this.m_PanelSetOrderLynchSyndromeIHCCollection.Add((YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC)panelSetOrder);
                }
                else
                {
                    if(panelSetOrder is LynchSyndrome.PanelSetOrderMLH1MethylationAnalysis ||
                        panelSetOrder is KRASStandard.KRASStandardTestOrder ||
                        panelSetOrder is KRASExon23Mutation.KRASExon23MutationTestOrder ||
                        panelSetOrder is KRASExon4Mutation.KRASExon4MutationTestOrder ||
                        panelSetOrder is BRAFV600EK.BRAFV600EKTestOrder ||
                        panelSetOrder is NRASMutationAnalysis.NRASMutationAnalysisTestOrder ||
                        panelSetOrder is RASRAFPanel.RASRAFPanelTestOrder)
                    {
                        this.m_MolecularTestOrderCollection.Add(panelSetOrder);
                    }
                }
            }
        }
        private void WriteAssemblyQualifiedTypeSQL()
        {
            YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder psos = new YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder();
            Console.WriteLine(psos.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.PanelSetOrderCPTCodeCollection psocptc = new Business.Test.PanelSetOrderCPTCodeCollection();
            Console.WriteLine(psocptc.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill psocptb = new Business.Test.PanelSetOrderCPTCodeBill();
            Console.WriteLine(psocptb.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBillCollection psocptbc = new Business.Test.PanelSetOrderCPTCodeBillCollection();
            Console.WriteLine(psocptbc.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen ssr = new YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen();
            Console.WriteLine(ssr.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.Surgical.SurgicalSpecimenCollection ssrc = new YellowstonePathology.Business.Test.Surgical.SurgicalSpecimenCollection();
            Console.WriteLine(ssrc.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.Surgical.IntraoperativeConsultationResult ic = new YellowstonePathology.Business.Test.Surgical.IntraoperativeConsultationResult();
            Console.WriteLine(ic.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.Surgical.IntraoperativeConsultationResultCollection icc = new YellowstonePathology.Business.Test.Surgical.IntraoperativeConsultationResultCollection();
            Console.WriteLine(icc.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.Surgical.SurgicalAudit sra = new YellowstonePathology.Business.Test.Surgical.SurgicalAudit();
            Console.WriteLine(sra.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.Surgical.SurgicalAuditCollection srac = new YellowstonePathology.Business.Test.Surgical.SurgicalAuditCollection();
            Console.WriteLine(srac.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.Surgical.SurgicalSpecimenAudit ssra = new YellowstonePathology.Business.Test.Surgical.SurgicalSpecimenAudit();
            Console.WriteLine(ssra.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Test.Surgical.SurgicalSpecimenAuditCollection ssrac = new YellowstonePathology.Business.Test.Surgical.SurgicalSpecimenAuditCollection();
            Console.WriteLine(ssrac.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.SpecialStain.StainResultItem sri = new Business.SpecialStain.StainResultItem();
            Console.WriteLine(sri.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.SpecialStain.StainResultItemCollection sric = new Business.SpecialStain.StainResultItemCollection();
            Console.WriteLine(sric.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd = new Business.Billing.Model.ICD9BillingCode();
            Console.WriteLine(icd.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Billing.Model.ICD9BillingCodeCollection icdc = new Business.Billing.Model.ICD9BillingCodeCollection();
            Console.WriteLine(icdc.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Billing.Model.CptBillingCodeItem cpt = new Business.Billing.Model.CptBillingCodeItem();
            Console.WriteLine(cpt.GetType().AssemblyQualifiedName);

            YellowstonePathology.Business.Billing.Model.CptBillingCodeItemCollection cptc = new Business.Billing.Model.CptBillingCodeItemCollection();
            Console.WriteLine(cptc.GetType().AssemblyQualifiedName);

            //foreach (YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet in panelSetCollection)
            //{
            //    Console.WriteLine("Update tblPanelSet set AssemblyQualifiedTypeName = '" + panelSet.GetType().AssemblyQualifiedName + "' where panelsetId = " + panelSet.PanelSetId);
            //}
        }
 public IntraoperativeConsultationCorrelationAudit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     this.m_SurgicalTestOrder = surgicalTestOrder;
 }
Exemplo n.º 49
0
        public void GetAccessionOrder(string reportNo)
        {
            string masterAccessionNo = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetMasterAccessionNoFromReportNo(reportNo);
            if(string.IsNullOrEmpty(masterAccessionNo) == false)
            {
                this.m_AccessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(masterAccessionNo, this.m_Writer);

                if (this.m_AccessionOrder != null)
                {
                    this.m_SurgicalTestOrder = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);

                    this.m_CaseDocumentCollection = new Business.Document.CaseDocumentCollection(this.m_AccessionOrder, reportNo);

                    this.RefreshBillingSpecimenViewCollection();

                    this.NotifyPropertyChanged("");
                }
                else
                {
                    MessageBox.Show("Case Not Found.");
                }
            }
            else
            {
                MessageBox.Show("Case Not Found.");
            }
        }
Exemplo n.º 50
0
 public NonASCIICharacterAudit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     this.m_SurgicalTestOrder = surgicalTestOrder;
 }