public override void ToXml(XElement document)
        {
            TechInitiatedPeripheralSmearTestOrder testOrder = (TechInitiatedPeripheralSmearTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);

            this.AddHeader(document, testOrder, "Tech Initiated Peripheral Smear");
            this.AddNextObxElement(string.Empty, document, "F");

            this.HandleLongString("Technologists Question: " + testOrder.TechnologistsQuestion, document, "F");
            this.AddNextObxElement("", document, "F");

            this.HandleLongString("Pathologist Feedback: " + testOrder.PathologistFeedback, document, "F");
            this.AddNextObxElement("", document, "F");

            this.HandleLongString("CBC Comment: " + testOrder.CBCComment, document, "F");
            this.AddNextObxElement("", document, "F");

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

            string locationPerformed = testOrder.GetLocationPerformedComment();

            this.AddNextObxElement(locationPerformed, document, "F");
            this.AddNextObxElement(string.Empty, document, "F");
        }
Пример #2
0
        public override void ToXml(XElement document)
        {
            TechInitiatedPeripheralSmearTestOrder testOrder = (TechInitiatedPeripheralSmearTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo);

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

            this.AddNextNteElement("Tech Initiated Peripheral Smear", document);
            this.AddNextNteElement("Master Accession #: " + testOrder.MasterAccessionNo, document);
            this.AddNextNteElement("Report #: " + testOrder.ReportNo, document);
            this.AddBlankNteElement(document);

            this.HandleLongString("Technologists Question: " + testOrder.TechnologistsQuestion, document);
            this.HandleLongString("Pathologist Feedback: " + testOrder.PathologistFeedback, document);
            this.HandleLongString("CBC Comment: " + testOrder.CBCComment, document);
            this.AddBlankNteElement(document);
        }