public void SetResults(NonHodgkinsLymphomaFISHPanelTestOrder testOrder)
        {
            testOrder.ReportReferences = References;

            StringBuilder disclaimer = new StringBuilder();
            disclaimer.AppendLine(TestDevelopment + Environment.NewLine);
            disclaimer.AppendLine(testOrder.GetLocationPerformedComment());
            testOrder.ReportDisclaimer = disclaimer.ToString();
        }
        public void SetResults(NonHodgkinsLymphomaFISHPanelTestOrder testOrder)
        {
            testOrder.References = References;

            StringBuilder disclaimer = new StringBuilder();

            disclaimer.AppendLine(TestDevelopment + Environment.NewLine);
            disclaimer.AppendLine(testOrder.GetLocationPerformedComment());
            testOrder.ReportDisclaimer = disclaimer.ToString();
        }
        public override void ToXml(XElement document)
        {
            NonHodgkinsLymphomaFISHPanelTestOrder panelSetOrder = (NonHodgkinsLymphomaFISHPanelTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);

            this.AddHeader(document, panelSetOrder, "NonHodgkins Lymphoma FISH Panel");

            this.AddNextObxElement("", document, "F");
            string result = "Result: " + panelSetOrder.Result;

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

            this.AddNextObxElement("", document, "F");
            this.AddNextObxElement("Pathologist: " + panelSetOrder.ReferenceLabSignature, document, "F");
            if (panelSetOrder.FinalTime.HasValue == true)
            {
                this.AddNextObxElement("E-signed " + panelSetOrder.ReferenceLabFinalDate.Value.ToString("MM/dd/yyyy HH:mm"), document, "F");
            }

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

            this.AddNextObxElement("Specimen Information:", document, "F");
            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrder.OrderedOn, panelSetOrder.OrderedOnId);
            this.AddNextObxElement("Specimen Identification: " + specimenOrder.Description, document, "F");
            string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime);

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

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

            this.AddNextObxElement("", document, "F");
            this.AddNextObxElement("Probe Set Details:", document, "F");
            this.HandleLongString(panelSetOrder.ProbeSetDetail, document, "F");

            this.AddNextObxElement("", document, "F");
            this.AddNextObxElement("Nuclei Scored:", document, "F");
            this.AddNextObxElement(panelSetOrder.NucleiScored, document, "F");

            this.AddNextObxElement("", document, "F");
            this.HandleLongString(panelSetOrder.ReportDisclaimer, document, "F");
            this.AddNextObxElement(string.Empty, document, "F");
        }