Exemplo n.º 1
0
        public override void ToXml(XElement document)
        {
            YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrder = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);
            System.Diagnostics.Trace.Assert(panelSetOrder.FlowMarkerCollection.Count == 1, "There can only be one marker for this test type.");

            this.AddHeader(document, panelSetOrder, "Reticulated Platelet");
            this.AddNextObxElement(string.Empty, document, "F");

            string result = panelSetOrder.FlowMarkerCollection[0].Result;

            this.AddNextObxElement("Result: " + result, document, "F");
            this.AddNextObxElement("Reference: 0-.55%", document, "F");
            this.AddNextObxElement("Antibodies Used: CD41, Thiozole Orange", document, "F");
            this.AddNextObxElement(string.Empty, document, "F");

            this.AddAmendments(document);

            this.AddNextObxElement("Method: Quantitative Flow Cytometry", document, "F");
            this.AddNextObxElement(string.Empty, document, "F");

            string locationPerformed = panelSetOrder.GetLocationPerformedComment();

            this.AddNextObxElement(locationPerformed, document, "F");
            this.AddNextObxElement(string.Empty, document, "F");
        }
Exemplo n.º 2
0
        public CheckSuggestedOrdersOnFlowFinalAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                                    YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrder)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_PanelSetOrder  = panelSetOrder;

            this.m_HasIndication = false;
            if (string.IsNullOrEmpty(this.m_PanelSetOrder.Impression) == false)
            {
                this.m_HasIndication = this.m_PanelSetOrder.Impression.Contains("chronic lymphocytic leukemia");
            }

            this.m_FCCClients = new List <int>();
            this.m_FCCClients.Add(67);

            this.m_TCIClients = new List <int>();
            this.m_TCIClients.Add(658);
            this.m_TCIClients.Add(879);
            this.m_TCIClients.Add(936);
            this.m_TCIClients.Add(1123);
            this.m_TCIClients.Add(1132);
            this.m_TCIClients.Add(1201);
            this.m_TCIClients.Add(1311);
            this.m_TCIClients.Add(1316);
            this.m_TCIClients.Add(1457);
            this.m_TCIClients.Add(1478);
            this.m_TCIClients.Add(1552);
            this.m_TCIClients.Add(1558);
            this.m_TCIClients.Add(1615);
        }
        public override void Render()
        {
            base.OpenTemplate(m_TemplateName);

            YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrderLeukemiaLymphoma = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_PanelSetOrder;

            string finalDate = BaseData.GetShortDateString(panelSetOrderLeukemiaLymphoma.FinalDate) + " - " + BaseData.GetMillitaryTimeString(panelSetOrderLeukemiaLymphoma.FinalTime);

            this.SetXmlNodeData("final_date", finalDate);
            this.SetXmlNodeData("report_comment", panelSetOrderLeukemiaLymphoma.ReportComment);

            this.SetXmlNodeData("client_case", this.m_AccessionOrder.PCAN);

            if (this.m_AccessionOrder.AccessionTime.HasValue == true)
            {
                this.SetXmlNodeData("accession_time", this.m_AccessionOrder.AccessionTime.Value.ToShortTimeString());
            }
            else
            {
                this.SetXmlNodeData("accession_time", string.Empty);
            }

            this.SetDemographicsV2();
            this.SetReportDistribution();
            this.SetCaseHistory();

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrderLeukemiaLymphoma.OrderedOn, panelSetOrderLeukemiaLymphoma.OrderedOnId);
            this.SetXmlNodeData("specimen_description", specimenOrder.Description);

            string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime);

            this.SetXmlNodeData("date_time_collected", collectionDateTimeString);

            YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection();
            amendmentSection.SetAmendment(panelSetOrderLeukemiaLymphoma.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, false);

            if (panelSetOrderLeukemiaLymphoma.AmendmentCollection.Count > 0)
            {
                string amendmentTitle = panelSetOrderLeukemiaLymphoma.AmendmentCollection[0].AmendmentType;
                if (amendmentTitle == "Correction")
                {
                    amendmentTitle = "Corrected Report";
                }
                this.SetXmlNodeData("Amendment", amendmentTitle);
            }
            else
            {
                this.SetXmlNodeData("Amendment", "");
            }

            string result = string.Empty;

            if (panelSetOrderLeukemiaLymphoma.FlowMarkerCollection.Count == 1)
            {
                result = panelSetOrderLeukemiaLymphoma.FlowMarkerCollection[0].Result;
            }
            this.SetXmlNodeData("test_result", result);

            this.SaveReport();
        }
Exemplo n.º 4
0
        public override void ToXml(XElement document)
        {
            YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrder = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);

            this.AddHeader(document, panelSetOrder, "Thrombocytopenia Profile");
            this.AddNextObxElement("", document, "F");

            YellowstonePathology.Business.Flow.FlowMarkerItem iggMarker = panelSetOrder.FlowMarkerCollection.GetMarkerByName("Anti-Platelet Antibody - IgG");
            this.AddNextObxElement("Test: " + iggMarker.Name, document, "F");
            this.AddNextObxElement("Result: " + iggMarker.Result, document, "F");
            this.AddNextObxElement("Reference: Negative", document, "F");
            this.AddNextObxElement("", document, "F");

            YellowstonePathology.Business.Flow.FlowMarkerItem igMMarker = panelSetOrder.FlowMarkerCollection.GetMarkerByName("Anti-Platelet Antibody - IgM");
            this.AddNextObxElement("Test: " + igMMarker.Name, document, "F");
            this.AddNextObxElement("Result: " + igMMarker.Result, document, "F");
            this.AddNextObxElement("Reference: Negative", document, "F");
            this.AddNextObxElement("", document, "F");

            YellowstonePathology.Business.Flow.FlowMarkerItem rpaMarker = panelSetOrder.FlowMarkerCollection.GetMarkerByName("Reticulated Platelet Analysis");
            this.AddNextObxElement("Test: " + rpaMarker.Name, document, "F");
            this.AddNextObxElement("Result: " + rpaMarker.Result, document, "F");
            this.AddNextObxElement("Reference Range: 0-0.55%", document, "F");
            this.AddNextObxElement("", document, "F");

            this.AddAmendments(document);

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrder.OrderedOn, panelSetOrder.OrderedOnId);
            this.AddNextObxElement("Specimen Description: " + specimenOrder.Description, document, "F");
            this.AddNextObxElement("", document, "F");

            this.AddNextObxElement("Method", document, "F");
            this.AddNextObxElement("Reticulated Platelets: Quantitative Flow Cytometry", document, "F");
            this.AddNextObxElement("Platelet Associated Antibodies: Qualitative Flow Cytometry", document, "F");
            this.AddNextObxElement("", document, "F");

            string interpretiveComment = "Negative:  IgG and/or IgM values are not elevated. There is no indication that immune mechanisms are involved in the thrombocytopenia. Other etiologies should be considered. Weakly Positive:  The moderately elevated IgG and/or IgM value suggests that immune mechanisms could be involved in the thrombocytopenia.  Other etiologies should also be considered. Positive: The elevated IgG and/or IgM value suggests that immune mechanisms are involved in the thrombocytopenia. Strongly Positive:  The IgG and/or IgM value is greatly elevated and indicates that immune mechanisms are involved in the thrombocytopenia.";

            this.AddNextObxElement("Interpretation:", document, "F");
            this.HandleLongString(interpretiveComment, document, "F");
            this.AddNextObxElement("", document, "F");

            string disclaimer = "Tests utilizing Analytic Specific Reagents (ASRs) were developed and performance characteristics determined by Yellowstone Pathology Institute, Inc.  They have not been cleared or approved by the U.S. Food and Drug Administration.  The FDA has determined that such clearance or approval is not necessary.  ASR’s may be used for clinical purposes and should not be regarded as investigational or for research.   This laboratory is certified under the Clinical Laboratory Improvement Amendments of 1988 (CLIA-88) as qualified to perform high complexity clinical laboratory testing.";

            this.HandleLongString(disclaimer, document, "F");
            this.AddNextObxElement("", document, "F");

            string locationPerformed = panelSetOrder.GetLocationPerformedComment();

            this.AddNextObxElement(locationPerformed, document, "F");
            this.AddNextObxElement(string.Empty, document, "F");
        }
Exemplo n.º 5
0
        public override void Render()
        {
            base.OpenTemplate(m_TemplateName);

            YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrderLeukemiaLymphoma = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_PanelSetOrder;

            string finalDate = BaseData.GetShortDateString(panelSetOrderLeukemiaLymphoma.FinalDate) + " - " + BaseData.GetMillitaryTimeString(panelSetOrderLeukemiaLymphoma.FinalTime);

            this.SetXmlNodeData("final_date", finalDate);

            this.SetXmlNodeData("client_case", this.m_AccessionOrder.PCAN);

            string accessionTime = this.m_AccessionOrder.AccessionTime.Value.ToString("MM/dd/yyyy - HH:mm");

            this.SetXmlNodeData("accession_date", accessionTime);

            this.SetDemographicsV2();
            this.SetReportDistribution();
            this.SetCaseHistory();

            string collectionDate = this.m_AccessionOrder.CollectionDate.Value.ToShortDateString();

            this.SetXmlNodeData("collection_date", collectionDate);

            this.SetXmlNodeData("specimen_type", this.m_AccessionOrder.SpecimenOrderCollection[0].Description);

            foreach (YellowstonePathology.Business.Flow.FlowMarkerItem markerItem in panelSetOrderLeukemiaLymphoma.FlowMarkerCollection)
            {
                switch (markerItem.Name.ToUpper())
                {
                case "HB-F":
                    this.SetXmlNodeData("test_result", markerItem.Result);
                    break;
                }
            }

            this.SetXmlNodeData("specimen_type", this.m_AccessionOrder.SpecimenOrderCollection[0].Description);
            this.SetXmlNodeData("report_comment", panelSetOrderLeukemiaLymphoma.ReportComment);

            YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection();
            amendmentSection.SetAmendment(panelSetOrderLeukemiaLymphoma.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, false);

            this.SaveReport();
        }
Exemplo n.º 6
0
        public void GetAccessionOrder(string reportNo, string masterAccessionNo)
        {
            this.m_AccessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(masterAccessionNo, this.m_Writer);

            this.m_PanelSetOrderLeukemiaLymphoma = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
            this.m_ReportNo = reportNo;

            this.RefreshCaseDocumentCollection(reportNo);
            this.m_PatientHistoryList.SetFillCommandByAccessionNo(reportNo);
            this.m_PatientHistoryList.Fill();
            this.m_PatientHistoryList.SetCaseDocumentCollection(reportNo);

            this.NotifyPropertyChanged("AccessionOrder");
            this.NotifyPropertyChanged("PanelSetOrderLeukemiaLymphoma");
            this.NotifyPropertyChanged("PatientHistoryList");
            this.NotifyPropertyChanged("Icd9BillingCodes");
            this.NotifyPropertyChanged("CaseHeader");
            this.NotifyPropertyChanged("SignReportButtonContent");
            this.NotifyPropertyChanged("SignReportButtonEnabled");
            this.SetAccess();
        }
        public override void Render()
        {
            base.OpenTemplate(m_TemplateName);

            this.SetDemographicsV2();
            this.SetReportDistribution();
            this.SetCaseHistory();

            YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrderLeukemiaLymphoma = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_PanelSetOrder;

            YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection();
            amendment.SetAmendment(panelSetOrderLeukemiaLymphoma.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true);

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrderLeukemiaLymphoma.OrderedOn, panelSetOrderLeukemiaLymphoma.OrderedOnId);
            this.SetXmlNodeData("specimen_description", specimenOrder.Description);

            string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime);

            this.SetXmlNodeData("date_time_collected", collectionDateTimeString);

            foreach (YellowstonePathology.Business.Flow.FlowMarkerItem markerItem in panelSetOrderLeukemiaLymphoma.FlowMarkerCollection)
            {
                switch (markerItem.Name)
                {
                case "Stem Cell Enumeration":
                    this.SetXmlNodeData("stemcell_result", markerItem.Result);
                    break;

                case "Viability":
                    this.SetXmlNodeData("viability_result", markerItem.Result);
                    break;

                case "WBC Count":
                    this.SetXmlNodeData("wbccount_result", markerItem.Result);
                    break;
                }
            }
            this.SaveReport();
        }
Exemplo n.º 8
0
        public override void ToXml(XElement document)
        {
            YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrder = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);
            System.Diagnostics.Trace.Assert(panelSetOrder.FlowMarkerCollection.Count == 1, "There can only be one marker for this test type.");

            this.AddHeader(document, panelSetOrder, "Reticulated Platelet Analysis");
            this.AddNextObxElement(string.Empty, document, "F");

            string result = panelSetOrder.FlowMarkerCollection[0].Result;

            this.AddNextObxElement("Result: " + result, document, "F");
            this.AddNextObxElement("Reference: 0 - 0.37%", document, "F");
            this.AddNextObxElement(string.Empty, document, "F");

            this.AddAmendments(document);

            this.AddNextObxElement("Antibodies Used: CD41, Thiozole Orange", document, "F");
            this.AddNextObxElement(string.Empty, document, "F");

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrder.OrderedOn, panelSetOrder.OrderedOnId);
            this.AddNextObxElement("Specimen Description: " + specimenOrder.Description, document, "F");
            this.AddNextObxElement("", document, "F");

            string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime);

            this.AddNextObxElement("Collection Date/Time: " + collectionDateTimeString, document, "F");
            this.AddNextObxElement(string.Empty, document, "F");

            this.AddNextObxElement("Method: Quantitative Flow Cytometry", document, "F");
            this.AddNextObxElement(string.Empty, document, "F");

            this.AddNextObxElement("Tests utilizing Analytic Specific Reagents (ASR's) were developed and performance characteristics determined by Yellowstone Pathology Institute, Inc.  They have not been cleared or approved by the U.S. Food and Drug Administration.  The FDA has determined that such clearance or approval is not necessary.  ASR's may be used for clinical purposes and should not be regarded as investigational or for research.  This laboratory is certified under the Clinical Laboratory Improvement Amendments of 1988 (CLIA-88) as qualified to perform high complexity clinical laboratory testing.", document, "F");
            this.AddNextObxElement(string.Empty, document, "F");

            string locationPerformed = panelSetOrder.GetLocationPerformedComment();

            this.AddNextObxElement(locationPerformed, document, "F");
            this.AddNextObxElement(string.Empty, document, "F");
        }
Exemplo n.º 9
0
        public override void ToXml(XElement document)
        {
            YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrder = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);

            this.AddCompanyHeader(document);
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Leukemia/Lymphoma Phenotyping", document);
            this.AddNextNteElement("Master Accession #: " + panelSetOrder.MasterAccessionNo, document);
            this.AddNextNteElement("Report #: " + panelSetOrder.ReportNo, document);
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Impression", document);
            this.HandleLongString(panelSetOrder.Impression, document);
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Interpretive Comment:", document);
            this.HandleLongString(panelSetOrder.InterpretiveComment, document);
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Finaled By: ", document);
            this.AddNextNteElement(panelSetOrder.Signature, document);

            if (panelSetOrder.FinalDate.HasValue == true)
            {
                this.AddNextNteElement("*** E-Signed " + panelSetOrder.FinalTime.Value.ToString("MM/dd/yyyy HH:mm") + " ***", document);
            }
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Cell Population Of Interest:", document);
            this.AddNextNteElement(panelSetOrder.CellPopulationOfInterest, document);
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Cell Distribution:", document);

            double LymphCnt = Convert.ToDouble(panelSetOrder.LymphocyteCount);
            double MonoCnt  = Convert.ToDouble(panelSetOrder.MonocyteCount);
            double MyeCnt   = Convert.ToDouble(panelSetOrder.MyeloidCount);
            double DimCnt   = Convert.ToDouble(panelSetOrder.DimCD45ModSSCount);
            double OtherCnt = Convert.ToDouble(panelSetOrder.OtherCount);

            string blastCD34Percent  = panelSetOrder.EGateCD34Percent;
            string blastCD117Percent = panelSetOrder.EGateCD117Percent;

            double TotalCnt  = LymphCnt + MonoCnt + MyeCnt + DimCnt;
            double LymphPcnt = LymphCnt / TotalCnt;
            double MonoPcnt  = MonoCnt / TotalCnt;
            double MyePcnt   = MyeCnt / TotalCnt;
            double DimPcnt   = DimCnt / TotalCnt;
            double OtherPcnt = OtherCnt / TotalCnt;

            this.AddNextNteElement("Lymphocytes " + this.GetGatingPercent(LymphPcnt), document);
            this.AddNextNteElement("Monocytes   " + this.GetGatingPercent(MonoPcnt), document);
            this.AddNextNteElement("Myeloid " + this.GetGatingPercent(MyePcnt), document);
            this.AddNextNteElement("Dim CD45/Mod SS " + this.GetGatingPercent(DimPcnt), document);
            this.AddBlankNteElement(document);

            if (string.IsNullOrEmpty(blastCD34Percent) == false || string.IsNullOrEmpty(blastCD117Percent) == false)
            {
                this.AddNextNteElement("Blast Marker Percentages (as % of nucleated cells): ", document);
                this.AddNextNteElement("CD34  " + blastCD34Percent, document);
                this.AddNextNteElement("CD117 " + blastCD117Percent, document);
                this.AddBlankNteElement(document);
            }

            if (string.IsNullOrEmpty(panelSetOrder.SpecimenViabilityPercent) == false && panelSetOrder.SpecimenViabilityPercent != "0")
            {
                this.AddNextNteElement("Specimen Viability Percentage: " + panelSetOrder.SpecimenViabilityPercent, document);
                this.AddBlankNteElement(document);
            }

            this.AddNextNteElement("Clinical History:", document);
            this.HandleLongString(this.m_AccessionOrder.ClinicalHistory, document);
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Specimen Type:", document);
            this.AddNextNteElement(this.m_AccessionOrder.SpecimenOrderCollection[0].Description, document);
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Specimen Adequacy:", document);
            this.AddNextNteElement(this.m_AccessionOrder.SpecimenOrderCollection[0].SpecimenAdequacy, document);
            this.AddBlankNteElement(document);

            this.AddNextNteElement("Method: Qualitative Flow Cytometry", document);
            this.AddBlankNteElement(document);

            string asrStatement = "Tests utilizing Analytic Specific Reagents (ASR's) were developed and performance characteristics determined by Yellowstone Pathology Institute, Inc.  They have not been cleared or approved by the U.S. Food and Drug Administration.  The FDA has determined that such clearance or approval is not necessary.  ASR's may be used for clinical purposes and should not be regarded as investigational or for research.  This laboratory is certified under the Clinical Laboratory Improvement Amendments of 1988 (CLIA-88) as qualified to perform high complexity clinical laboratory testing.";

            this.HandleLongString(asrStatement, document);
        }
        public override void Render()
        {
            YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrderLeukemiaLymphoma = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma) this.m_PanelSetOrder;

            base.OpenTemplate(m_TemplateName);

            string finalDate = BaseData.GetShortDateTimeString(this.m_PanelSetOrder.FinalTime);

            this.SetXmlNodeData("final_date", finalDate);

            this.SetXmlNodeData("report_comment", panelSetOrderLeukemiaLymphoma.ReportComment);

            this.SetDemographicsV2();
            this.SetReportDistribution();
            this.SetCaseHistory();

            if (this.m_PanelSetOrder.AmendmentCollection.Count > 0)
            {
                string amendmentTitle = this.m_PanelSetOrder.AmendmentCollection[0].AmendmentType;
                if (amendmentTitle == "Correction")
                {
                    amendmentTitle = "Corrected Report";
                }
                this.SetXmlNodeData("Amendment", amendmentTitle);
            }
            else
            {
                this.SetXmlNodeData("Amendment", "");
            }

            YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection();
            amendmentSection.SetAmendment(this.m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, false);

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

            string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime);

            this.SetXmlNodeData("date_time_collected", collectionDateTimeString);

            XmlNode tableNode      = this.m_ReportXml.SelectSingleNode("descendant::w:tbl[w:tr/w:tc/w:p/w:r/w:t='marker_name']", this.m_NameSpaceManager);
            XmlNode rowMarkerNode  = tableNode.SelectSingleNode("descendant::w:tr[w:tc/w:p/w:r/w:t='marker_name']", this.m_NameSpaceManager);
            XmlNode insertAfterRow = rowMarkerNode;

            foreach (YellowstonePathology.Business.Flow.FlowMarkerItem markerItem in panelSetOrderLeukemiaLymphoma.FlowMarkerCollection)
            {
                XmlNode rowMarkerNodeClone = rowMarkerNode.Clone();

                rowMarkerNodeClone.SelectSingleNode("descendant::w:r[w:t='marker_name']/w:t", this.m_NameSpaceManager).InnerText   = markerItem.Name;
                rowMarkerNodeClone.SelectSingleNode("descendant::w:r[w:t='marker_result']/w:t", this.m_NameSpaceManager).InnerText = markerItem.Result;

                foreach (YellowstonePathology.Business.Flow.FlowMarkerPanelListItem panelItem in this.m_PanelList)
                {
                    if (panelItem.MarkerName == markerItem.Name)
                    {
                        rowMarkerNodeClone.SelectSingleNode("descendant::w:r[w:t='marker_reference']/w:t", this.m_NameSpaceManager).InnerText = panelItem.Reference;
                    }
                }

                tableNode.InsertAfter(rowMarkerNodeClone, insertAfterRow);
                insertAfterRow = rowMarkerNodeClone;
            }

            tableNode.RemoveChild(rowMarkerNode);

            this.SaveReport();
        }
Exemplo n.º 11
0
        public void GetAccessionOrder(string reportNo, string masterAccessionNo)
        {
            this.m_AccessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(masterAccessionNo, this.m_Writer);

            this.m_PanelSetOrderLeukemiaLymphoma = (YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
            this.m_ReportNo = reportNo;

            this.RefreshCaseDocumentCollection(reportNo);
            this.m_PatientHistoryList.SetFillCommandByAccessionNo(reportNo);
            this.m_PatientHistoryList.Fill();
            this.m_PatientHistoryList.SetCaseDocumentCollection(reportNo);

            this.NotifyPropertyChanged("AccessionOrder");
            this.NotifyPropertyChanged("PanelSetOrderLeukemiaLymphoma");
            this.NotifyPropertyChanged("PatientHistoryList");
            this.NotifyPropertyChanged("Icd9BillingCodes");
            this.NotifyPropertyChanged("CaseHeader");
            this.NotifyPropertyChanged("SignReportButtonContent");
            this.NotifyPropertyChanged("SignReportButtonEnabled");
            this.SetAccess();
        }
Exemplo n.º 12
0
 public FlowCommentHelper(string specimenDescription, YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrderLeukemiaLymphoma)
 {
     this.m_SpecimenDescription = specimenDescription;
     this.m_PanelSetOrderLeukemiaLymphoma = panelSetOrderLeukemiaLymphoma;
 }
Exemplo n.º 13
0
 public FlowCommentHelper(string specimenDescription, YellowstonePathology.Business.Test.LLP.PanelSetOrderLeukemiaLymphoma panelSetOrderLeukemiaLymphoma)
 {
     this.m_SpecimenDescription           = specimenDescription;
     this.m_PanelSetOrderLeukemiaLymphoma = panelSetOrderLeukemiaLymphoma;
 }