public override void Render() { CCNDIBCLIGHByFISHTestOrder panelSetOrderCCNDIBCLIGH = (CCNDIBCLIGHByFISHTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\CCNDIBCLIGHByFISH.2.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(m_PanelSetOrder.ReportNo); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(amendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", panelSetOrderCCNDIBCLIGH.Result); this.SetXmlNodeData("report_interpretation", panelSetOrderCCNDIBCLIGH.Interpretation); this.SetXmlNodeData("probe_set_detail", panelSetOrderCCNDIBCLIGH.ProbeSetDetail); this.ReplaceText("nuclei_scored", panelSetOrderCCNDIBCLIGH.NucleiScored); this.SetXmlNodeData("report_references", panelSetOrderCCNDIBCLIGH.ReportReferences); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId); base.ReplaceText("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public void SetResults(CCNDIBCLIGHByFISHTestOrder panelSetOrder) { panelSetOrder.Result = this.m_Result; panelSetOrder.Interpretation = this.m_Interpretation; panelSetOrder.ProbeSetDetail = this.m_ProbeSetDetail; panelSetOrder.ReportReferences = this.m_References; panelSetOrder.NucleiScored = CCNDIBCLIGHByFISHResult.NucleiScored; }
public void SetResults(CCNDIBCLIGHByFISHTestOrder panelSetOrder) { panelSetOrder.Result = this.m_Result; panelSetOrder.Interpretation = this.m_Interpretation; panelSetOrder.ProbeSetDetail = this.m_ProbeSetDetail; panelSetOrder.ReportReferences = this.m_References; panelSetOrder.NucleiScored = CCNDIBCLIGHByFISHResult.NucleiScored; }
public override void ToXml(XElement document) { CCNDIBCLIGHByFISHTestOrder panelSetOrder = (CCNDIBCLIGHByFISHTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo); this.AddCompanyHeader(document); this.AddBlankNteElement(document); this.AddNextNteElement("CCND1/IgH t(11;14) by FISH Analysis", document); this.AddNextNteElement("Master Accession #: " + panelSetOrder.MasterAccessionNo, document); this.AddNextNteElement("Report #: " + panelSetOrder.ReportNo, document); this.AddBlankNteElement(document); string result = "Result: " + panelSetOrder.Result; this.AddNextNteElement(result, document); this.AddBlankNteElement(document); this.AddNextNteElement("Pathologist: " + panelSetOrder.Signature, document); if (panelSetOrder.FinalTime.HasValue == true) { this.AddNextNteElement("E-signed " + panelSetOrder.FinalTime.Value.ToString("MM/dd/yyyy HH:mm"), document); } this.AddBlankNteElement(document); this.AddAmendments(document, panelSetOrder, this.m_AccessionOrder); this.AddNextNteElement("Specimen Information:", document); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrder.OrderedOn, panelSetOrder.OrderedOnId); this.AddNextNteElement("Specimen Identification: " + specimenOrder.Description, document); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.AddNextNteElement("Collection Date/Time: " + collectionDateTimeString, document); this.AddBlankNteElement(document); this.AddNextNteElement("Interpretation:", document); this.HandleLongString(panelSetOrder.Interpretation, document); this.AddBlankNteElement(document); this.AddNextNteElement("Probe Set Details:", document); this.HandleLongString(panelSetOrder.ProbeSetDetail, document); this.AddBlankNteElement(document); this.AddNextNteElement("Nuclei Scored:", document); this.HandleLongString(panelSetOrder.NucleiScored, document); this.AddBlankNteElement(document); this.AddNextNteElement("References:", document); this.HandleLongString(panelSetOrder.ReportReferences, document); this.AddBlankNteElement(document); string locationPerformed = panelSetOrder.GetLocationPerformedComment(); this.HandleLongString(locationPerformed, document); this.AddBlankNteElement(document); }