public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\LynchSyndromeIHCPanel.5.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC panelSetOrder = (YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC)this.m_PanelSetOrder; YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(panelSetOrder.OrderedOnId); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrder.OrderedOn, panelSetOrder.OrderedOnId); string specimenDescription = specimenOrder.Description + ", Block " + aliquotOrder.Label; this.ReplaceText("specimen_description", specimenDescription); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.SetXmlNodeData("mlh1_result", panelSetOrder.MLH1Result); this.SetXmlNodeData("msh2_result", panelSetOrder.MSH2Result); this.SetXmlNodeData("msh6_result", panelSetOrder.MSH6Result); this.SetXmlNodeData("pms2_result", panelSetOrder.PMS2Result); this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { AndrogenReceptorTestOrder testOrder = (AndrogenReceptorTestOrder)this.m_PanelSetOrder; if (testOrder.ResultedOnSurgical == true) { return; } this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\AndrogenReceptor.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", testOrder.Result); this.ReplaceText("report_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { PanelSetOrderMDSExtendedByFish panelSetOrderMDSExtendedPanelByFish = (PanelSetOrderMDSExtendedByFish)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\MDSExtendedByFish.1.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", panelSetOrderMDSExtendedPanelByFish.Result); this.ReplaceText("report_interpretation", panelSetOrderMDSExtendedPanelByFish.Interpretation); this.ReplaceText("probe_set_detail", panelSetOrderMDSExtendedPanelByFish.ProbeSetDetail); this.ReplaceText("nuclei_scored", panelSetOrderMDSExtendedPanelByFish.NucleiScored); 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 override void Render() { TCellSubsetAnalysisTestOrder testOrder = (TCellSubsetAnalysisTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\TCellSubsetAnalysis.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_cd3_percent", testOrder.CD3Percent.ToString().StringAsPercent()); this.ReplaceText("report_cd4_percent", testOrder.CD4Percent.ToString().StringAsPercent()); this.ReplaceText("report_cd8_percent", testOrder.CD8Percent.ToString().StringAsPercent()); string value = string.Empty; if(testOrder.CD4CD8Ratio.HasValue) value = Math.Round(testOrder.CD4CD8Ratio.Value, 2).ToString(); this.ReplaceText("report_cd4cd8_ratio", value); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.References); this.ReplaceText("asr_comment", testOrder.ASRComment); 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.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { PanelSetOrderMDSExtendedByFish panelSetOrderMDSExtendedPanelByFish = (PanelSetOrderMDSExtendedByFish)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\MDSExtendedByFish.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", panelSetOrderMDSExtendedPanelByFish.Result); this.ReplaceText("report_interpretation", panelSetOrderMDSExtendedPanelByFish.Interpretation); this.ReplaceText("probe_set_detail", panelSetOrderMDSExtendedPanelByFish.ProbeSetDetail); this.ReplaceText("nuclei_scored", panelSetOrderMDSExtendedPanelByFish.NucleiScored); 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 override void Render() { YellowstonePathology.Business.Test.TestCancelled.TestCancelledTestOrder reportOrderTestCancelled = (YellowstonePathology.Business.Test.TestCancelled.TestCancelledTestOrder)this.m_PanelSetOrder; this.m_PanelSetOrder = reportOrderTestCancelled; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\TestCancelled.8.xml"; base.OpenTemplate(); base.SetDemographicsV2(); string testName = "Test Canceled"; if (string.IsNullOrEmpty(reportOrderTestCancelled.CancelledTestName) == false) { testName = reportOrderTestCancelled.CancelledTestName; } this.ReplaceText("test_canceled_name", testName); this.ReplaceText("test_cancelled_comment", reportOrderTestCancelled.Comment); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); string finalDate = YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate) + " - " + YellowstonePathology.Business.BaseData.GetMillitaryTimeString(this.m_PanelSetOrder.FinalTime); this.SetXmlNodeData("final_date", finalDate); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\LynchSyndromeIHCPanel.5.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC panelSetOrder = (YellowstonePathology.Business.Test.LynchSyndrome.PanelSetOrderLynchSyndromeIHC) this.m_PanelSetOrder; YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(panelSetOrder.OrderedOnId); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrder.OrderedOn, panelSetOrder.OrderedOnId); string specimenDescription = specimenOrder.Description + ", Block " + aliquotOrder.Label; this.ReplaceText("specimen_description", specimenDescription); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.SetXmlNodeData("mlh1_result", panelSetOrder.MLH1Result); this.SetXmlNodeData("msh2_result", panelSetOrder.MSH2Result); this.SetXmlNodeData("msh6_result", panelSetOrder.MSH6Result); this.SetXmlNodeData("pms2_result", panelSetOrder.PMS2Result); this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { ZAP70LymphoidPanelTestOrder panelSetOrderZap70 = (ZAP70LymphoidPanelTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\Zap70.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", panelSetOrderZap70.Result); this.SetXMLNodeParagraphData("report_comment", panelSetOrderZap70.Comment); this.ReplaceText("report_lymphocytes", panelSetOrderZap70.Lymphocytes); this.ReplaceText("report_lymphocytes", panelSetOrderZap70.Lymphocytes); this.ReplaceText("report_population_analysis", panelSetOrderZap70.PopulationAnalysis); this.ReplaceText("report_markers_performed", panelSetOrderZap70.MarkersPerformed); this.SetXMLNodeParagraphData("report_references", panelSetOrderZap70.References); 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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { YellowstonePathology.Business.Test.MPNExtendedReflex.MPNExtendedReflexResult mpnExtendedReflexResult = new Test.MPNExtendedReflex.MPNExtendedReflexResult(this.m_AccessionOrder); this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\MPNExtendedReflex.2.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("panelset_name", mpnExtendedReflexResult.PanelSetOrderMPNExtendedReflex.PanelSetName); this.ReplaceText("jak2v617_result", mpnExtendedReflexResult.JAK2V617FResult.Result); this.ReplaceText("calr_result", mpnExtendedReflexResult.CALRResult.Result); this.ReplaceText("mpl_result", mpnExtendedReflexResult.MPLResult.Result); this.ReplaceText("report_comment", mpnExtendedReflexResult.PanelSetOrderMPNExtendedReflex.Comment); base.ReplaceText("specimen_description", mpnExtendedReflexResult.SpecimenOrder.Description); this.ReplaceText("report_interpretation", mpnExtendedReflexResult.PanelSetOrderMPNExtendedReflex.Interpretation); this.ReplaceText("report_method", mpnExtendedReflexResult.PanelSetOrderMPNExtendedReflex.Method); this.ReplaceText("report_reference", mpnExtendedReflexResult.PanelSetOrderMPNExtendedReflex.References); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(mpnExtendedReflexResult.SpecimenOrder.CollectionDate, mpnExtendedReflexResult.SpecimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", mpnExtendedReflexResult.PanelSetOrderMPNExtendedReflex.Signature); this.SaveReport(); }
public override void Render() { CCNDIBCLIGHByPCRTestOrder panelSetOrderCCNDIBCLIGH = (CCNDIBCLIGHByPCRTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\CCNDIBCLIGHByPCR.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("report_method", panelSetOrderCCNDIBCLIGH.Method); this.SetXmlNodeData("report_references", panelSetOrderCCNDIBCLIGH.ReportReferences); this.SetXmlNodeData("report_acr", panelSetOrderCCNDIBCLIGH.ACR); 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 override void Render() { PanelSetOrderFLT3 panelSetOrderFLT3 = (PanelSetOrderFLT3)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\FLT3.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", panelSetOrderFLT3.Result); this.ReplaceText("itd_mutation", panelSetOrderFLT3.ITDMutation); this.ReplaceText("itd_percentage", panelSetOrderFLT3.ITDPercentage); this.ReplaceText("tkd_mutation", panelSetOrderFLT3.TKDMutation); this.ReplaceText("report_interpretation", panelSetOrderFLT3.Interpretation); this.ReplaceText("report_method", panelSetOrderFLT3.Method); this.ReplaceText("report_references", panelSetOrderFLT3.References); 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 override void Render() { TrichomonasTestOrder reportOrderTrichomonas = (TrichomonasTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\Trichomonas.5.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(reportOrderTrichomonas.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, false); this.SetXmlNodeData("test_result", reportOrderTrichomonas.Result); this.SetXmlNodeData("test_method", reportOrderTrichomonas.Method); this.SetXmlNodeData("final_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); 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.SaveReport(); }
public override void Render() { NRASMutationAnalysisTestOrder testOrder = (YellowstonePathology.Business.Test.NRASMutationAnalysis.NRASMutationAnalysisTestOrder) this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\NRASMutationAnalysis.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", testOrder.Result); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.References); this.ReplaceText("test_developed_comment", testOrder.TestDevelopment); 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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("report_time", YellowstonePathology.Business.Helper.DateTimeExtensions.ShortTimeStringFromNullable(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { BladderCancerFISHUrovysionTestOrder testOrder = (BladderCancerFISHUrovysionTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\BladderCancerFISHUrovysion.1.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); string result = testOrder.Result; if (string.IsNullOrEmpty(testOrder.ResultDescription) == false) result = testOrder.ResultDescription; this.ReplaceText("report_result", result); this.SetXMLNodeParagraphData("report_interpretation", testOrder.Interpretation); this.SetXMLNodeParagraphData("probe_set_detail", testOrder.ProbeSetDetail); this.ReplaceText("nuclei_scored", testOrder.NucleiScored); this.SetXMLNodeParagraphData("report_references", testOrder.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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { NeoARRAYSNPCytogeneticProfileTestOrder testOrder = (YellowstonePathology.Business.Test.NeoARRAYSNPCytogeneticProfile.NeoARRAYSNPCytogeneticProfileTestOrder) this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\NeoARRAYSNPCytogeneticProfile.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", testOrder.Result); this.ReplaceText("report_copy_number_variant", testOrder.CopyNumberVariant); this.ReplaceText("report_uniparental_disomy", testOrder.UniparentalDisomy); this.ReplaceText("report_microarray_results", testOrder.MicroarrayResults); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.References); 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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { ChromosomeAnalysisForFetalAnomalyTestOrder testOrder = (ChromosomeAnalysisForFetalAnomalyTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\ChromosomeAnalysisForFetalAnomaly.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", testOrder.Result); this.ReplaceText("report_karyotype", testOrder.Karyotype); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("test_details", testOrder.TestDetails); 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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("reference_lab_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\ReticulatedPlateletAnalysisV2.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); ReticulatedPlateletAnalysisV2TestOrder testOrder = (ReticulatedPlateletAnalysisV2TestOrder)this.m_PanelSetOrder; YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(testOrder.ReportNo); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(amendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(testOrder.OrderedOn, testOrder.OrderedOnId); this.ReplaceText("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.ReplaceText("date_time_collected", collectionDateTimeString); this.ReplaceText("test_result", testOrder.Result); this.ReplaceText("result_reference", testOrder.ResultReference); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("asr_comment", testOrder.ASRComment); this.SaveReport(); }
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(); }
public override void Render() { PDL1SP142TestOrder testOrder = (PDL1SP142TestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\PDL1SP142.1.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("stain_percent", testOrder.StainPercent); this.ReplaceText("report_comment", testOrder.Comment); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("report_time", YellowstonePathology.Business.Helper.DateTimeExtensions.ShortTimeStringFromNullable(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { PanelSetOrderHer2AmplificationByIHC panelSetOrder = (PanelSetOrderHer2AmplificationByIHC)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\Her2AmplificationByIHC.1.xml"; base.OpenTemplate(); base.SetDemographicsV2(); 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); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(this.m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); base.ReplaceText("report_result", panelSetOrder.Result); base.ReplaceText("report_score", panelSetOrder.Score); base.ReplaceText("report_percent", panelSetOrder.IntenseCompleteMembraneStainingPercent); base.ReplaceText("report_fixative", panelSetOrder.BreastTestingFixative); base.ReplaceText("report_method", panelSetOrder.Method); base.ReplaceText("report_interpretation", panelSetOrder.Interpretation); base.ReplaceText("report_reference", panelSetOrder.Reference); base.ReplaceText("report_disclaimer", panelSetOrder.ReportDisclaimer); this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.SetXmlNodeData("pathologist_signature", this.m_PanelSetOrder.Signature); this.SetReportDistribution(); this.SetCaseHistory(); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\FetalHemoglobin.2.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Test.FetalHemoglobin.FetalHemoglobinTestOrder testOrder = (YellowstonePathology.Business.Test.FetalHemoglobin.FetalHemoglobinTestOrder) this.m_PanelSetOrder; YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(testOrder.ReportNo); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(amendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(testOrder.OrderedOn, testOrder.OrderedOnId); this.SetXmlNodeData("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.SetXmlNodeData("test_result", testOrder.HbFResult); this.SetXmlNodeData("reference_range", testOrder.ReferenceRange); this.SetXmlNodeData("test_sensitivity", "Sensitivity for Hb-F is " + testOrder.HbFResult); this.SetXmlNodeData("report_comment", testOrder.ReportComment); this.SetXmlNodeData("asr_comment", testOrder.ASRComment); this.SaveReport(); }
public override void Render() { YellowstonePathology.Business.Test.HPV1618ByPCR.HPV1618ByPCRTestOrder panelSetOrder = (YellowstonePathology.Business.Test.HPV1618ByPCR.HPV1618ByPCRTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\HPV1618GenotypingByPCR.1.xml"; base.OpenTemplate(); base.SetDemographicsV2(); 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); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(this.m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, false); base.ReplaceText("hpv16_result", panelSetOrder.HPV16Result); base.ReplaceText("hpv18_result", panelSetOrder.HPV18Result); if (panelSetOrder.Indication == YellowstonePathology.Business.Test.HPV1618ByPCR.HPV1618ByPCRIndication.SquamousCellCarcinoma) { base.ReplaceText("report_interpretation_header", "Interpretation"); base.ReplaceText("report_interpretation", panelSetOrder.Interpretation); base.ReplaceText("pathologist_signature", panelSetOrder.Signature); if (panelSetOrder.FinalTime.HasValue == true) { string esignedHeader = "*** E-signed " + panelSetOrder.FinalTime.Value.ToString("MM/dd/yyyy HH:mm") + "***"; base.ReplaceText("esigned_header", esignedHeader); } } else { base.DeleteRow("report_interpretation_header"); base.DeleteRow("report_interpretation"); base.DeleteRow("pathologist_signature"); base.DeleteRow("esigned_header"); } if (string.IsNullOrEmpty(panelSetOrder.Comment) == false) { base.ReplaceText("report_comment", panelSetOrder.Comment); } else { base.DeleteRow("report_comment"); } base.ReplaceText("report_method", panelSetOrder.Method); this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.SetXmlNodeData("pathologist_signature", this.m_PanelSetOrder.Signature); this.SetReportDistribution(); this.SetCaseHistory(); this.SaveReport(); }
public override void Render() { NeoARRAYSNPCytogeneticProfileTestOrder testOrder = (YellowstonePathology.Business.Test.NeoARRAYSNPCytogeneticProfile.NeoARRAYSNPCytogeneticProfileTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\NeoARRAYSNPCytogeneticProfile.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_result", testOrder.Result); this.ReplaceText("report_copy_number_variant", testOrder.CopyNumberVariant); this.ReplaceText("report_uniparental_disomy", testOrder.UniparentalDisomy); this.ReplaceText("report_microarray_results", testOrder.MicroarrayResults); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.References); 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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { YellowstonePathology.Business.Test.TestCancelled.TestCancelledTestOrder reportOrderTestCancelled = (YellowstonePathology.Business.Test.TestCancelled.TestCancelledTestOrder) this.m_PanelSetOrder; this.m_PanelSetOrder = reportOrderTestCancelled; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\TestCancelled.1.xml"; base.OpenTemplate(); base.SetDemographicsV2(); string testName = "Test Canceled"; if (string.IsNullOrEmpty(reportOrderTestCancelled.CancelledTestName) == false) { testName = reportOrderTestCancelled.CancelledTestName; } this.ReplaceText("test_canceled_name", testName); this.ReplaceText("test_cancelled_comment", reportOrderTestCancelled.Comment); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); string finalDate = YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate) + " - " + YellowstonePathology.Business.BaseData.GetMillitaryTimeString(this.m_PanelSetOrder.FinalTime); this.SetXmlNodeData("final_date", finalDate); 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.SaveReport(); }
public override void Render() { HoldForFlowTestOrder holdForFlowTestOrder = (HoldForFlowTestOrder)this.m_PanelSetOrder; this.m_PanelSetOrder = holdForFlowTestOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\HoldForFlow.3.xml"; base.OpenTemplate(); base.SetDemographicsV2(); string title = this.m_PanelSetOrder.PanelSetName; this.ReplaceText("report_title", title); this.ReplaceText("report_comment", holdForFlowTestOrder.Comment); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); string finalDate = YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate) + " - " + YellowstonePathology.Business.BaseData.GetMillitaryTimeString(this.m_PanelSetOrder.FinalTime); this.SetXmlNodeData("final_date", finalDate); 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.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\StemCellCD34Enumeration.1.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Test.StemCellCD34Enumeration.StemCellCD34EnumerationTestOrder stemCellCD34EnumerationTestOrder = (StemCellCD34EnumerationTestOrder)this.m_PanelSetOrder; YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(stemCellCD34EnumerationTestOrder.ReportNo); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(amendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(stemCellCD34EnumerationTestOrder.OrderedOn, stemCellCD34EnumerationTestOrder.OrderedOnId); this.SetXmlNodeData("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.SetXmlNodeData("cd34_percentage", stemCellCD34EnumerationTestOrder.CD34Percentage); this.SetXmlNodeData("cd34_absolute", stemCellCD34EnumerationTestOrder.CD34Absolute); this.SetXmlNodeData("wbccount_result", stemCellCD34EnumerationTestOrder.WBCCount); this.SetXmlNodeData("wbc_absolute", stemCellCD34EnumerationTestOrder.WBCAbsolute); this.SetXmlNodeData("cd34_viability", stemCellCD34EnumerationTestOrder.CD34Viability); this.SetXmlNodeData("report_method", stemCellCD34EnumerationTestOrder.Method); this.SaveReport(); }
public override void Render() { KRASStandardReflexResult krasStandardReflexResult = KRASStandardReflexResultFactory.GetResult(this.m_PanelSetOrder.ReportNo, this.m_AccessionOrder); this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\KRASStandardReflex.2.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); this.SetXmlNodeData("kras_result", krasStandardReflexResult.KRASStandardResult); this.SetXmlNodeData("braf_result", krasStandardReflexResult.BRAFV600EKResult); this.SetXmlNodeData("final_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); if (m_PanelSetOrder.AmendmentCollection.Count == 0) { this.SetXmlNodeData("test_result_header", "Test Result"); } else // If an amendment exists show as corrected { this.SetXmlNodeData("test_result_header", "Corrected Test Result"); } //delete the kras_result_detail line if not used YellowstonePathology.Business.Test.KRASStandard.KRASStandardNotDetectedResult krasStandardNotDetectedResult = new YellowstonePathology.Business.Test.KRASStandard.KRASStandardNotDetectedResult(); if (krasStandardReflexResult.KRASStandardResult == krasStandardNotDetectedResult.ResultCode) { this.DeleteRow("kras_result_detail"); } YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId); this.ReplaceText("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); if (string.IsNullOrEmpty(krasStandardReflexResult.KRASStandardReflexTestOrder.Comment) == false) { this.SetXMLNodeParagraphData("result_comment", krasStandardReflexResult.KRASStandardReflexTestOrder.Comment); } else { this.DeleteRow("result_comment"); } this.SetXMLNodeParagraphData("tumor_nuclei_percent", krasStandardReflexResult.KRASStandardReflexTestOrder.TumorNucleiPercentage); this.SetXMLNodeParagraphData("report_indication_comment", krasStandardReflexResult.KRASStandardReflexTestOrder.IndicationComment); this.SetXMLNodeParagraphData("report_interpretation", krasStandardReflexResult.KRASStandardReflexTestOrder.Interpretation); this.SetXMLNodeParagraphData("report_references", krasStandardReflexResult.KRASStandardReflexTestOrder.ReportReferences); this.SetXMLNodeParagraphData("report_method", krasStandardReflexResult.KRASStandardReflexTestOrder.Method); this.SetXMLNodeParagraphData("report_disclaimer", krasStandardReflexResult.KRASStandardReflexTestOrder.GetLocationPerformedComment()); this.ReplaceText("report_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.SetXmlNodeData("pathologist_signature", m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\EGFRMutationAnalysis.1.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); YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisTestOrder egfrMutationAnalysisTestOrder = (YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisTestOrder) this.m_PanelSetOrder; YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(egfrMutationAnalysisTestOrder.OrderedOnId); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(egfrMutationAnalysisTestOrder.OrderedOn, egfrMutationAnalysisTestOrder.OrderedOnId); string specimenDescription = specimenOrder.Description + ", Block " + aliquotOrder.Label; this.ReplaceText("specimen_description", specimenDescription); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.SetXMLNodeParagraphData("report_result", egfrMutationAnalysisTestOrder.Result); this.SetXMLNodeParagraphData("report_comment", egfrMutationAnalysisTestOrder.Comment); this.SetXMLNodeParagraphData("report_interpretation", egfrMutationAnalysisTestOrder.Interpretation); this.ReplaceText("report_indication", egfrMutationAnalysisTestOrder.Indication); this.ReplaceText("tumor_nuclei_percentage", egfrMutationAnalysisTestOrder.TumorNucleiPercentage); if (egfrMutationAnalysisTestOrder.MicrodissectionPerformed == true) { this.ReplaceText("microdissection_performed", "Yes"); } else { this.ReplaceText("microdissection_performed", "No"); } this.SetXMLNodeParagraphData("report_method", egfrMutationAnalysisTestOrder.Method); this.SetXMLNodeParagraphData("report_references", egfrMutationAnalysisTestOrder.ReportReferences); this.SetXMLNodeParagraphData("report_disclaimer", egfrMutationAnalysisTestOrder.ReportDisclaimer); if (string.IsNullOrEmpty(this.m_PanelSetOrder.ReferenceLabSignature) == false) { this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); } else { this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); } this.SaveReport(); }
public override void Render() { RASRAFPanelTestOrder testOrder = (RASRAFPanelTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\RASRAFPanel.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("braf_result", testOrder.BRAFResult); this.ReplaceText("kras_result", testOrder.KRASResult); this.ReplaceText("nras_result", testOrder.NRASResult); this.ReplaceText("hras_result", testOrder.HRASResult); this.ReplaceText("braf_mn", testOrder.BRAFMutationName); this.ReplaceText("kras_mn", testOrder.KRASMutationName); this.ReplaceText("nras_mn", testOrder.NRASMutationName); this.ReplaceText("hras_mn", testOrder.HRASMutationName); this.ReplaceText("braf_anmn", testOrder.BRAFAlternateNucleotideMutationName); this.ReplaceText("kras_anmn", testOrder.KRASAlternateNucleotideMutationName); this.ReplaceText("nras_anmn", testOrder.NRASAlternateNucleotideMutationName); this.ReplaceText("hras_anmn", testOrder.HRASAlternateNucleotideMutationName); this.ReplaceText("braf_cons", testOrder.BRAFConsequence); this.ReplaceText("kras_cons", testOrder.KRASConsequence); this.ReplaceText("nras_cons", testOrder.NRASConsequence); this.ReplaceText("hras_cons", testOrder.HRASConsequence); this.ReplaceText("braf_peop", testOrder.BRAFPredictedEffectOnProtein); this.ReplaceText("kras_peop", testOrder.KRASPredictedEffectOnProtein); this.ReplaceText("nras_peop", testOrder.NRASPredictedEffectOnProtein); this.ReplaceText("hras_peop", testOrder.HRASPredictedEffectOnProtein); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_comment", testOrder.Comment); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.ReportReferences); this.ReplaceText("report_disclaimer", testOrder.ReportDisclaimer); 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("referencelab_finaldate", BaseData.GetShortDateTimeString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\HPV.xml"; base.OpenTemplate(); base.SetDemographicsV2(); 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); base.ReplaceText("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); HPVTestOrder panelSetOrder = (HPVTestOrder)this.m_PanelSetOrder; if (string.IsNullOrEmpty(panelSetOrder.Result) == false) { base.ReplaceText("test_result", panelSetOrder.Result); } if (string.IsNullOrEmpty(panelSetOrder.Comment) == false) { base.ReplaceText("report_comment", panelSetOrder.Comment); } else { base.DeleteRow("report_comment"); } bool hpv1618HasBeenOrdered = this.m_AccessionOrder.PanelSetOrderCollection.Exists(62); string additionalTestingComment = string.Empty; if (hpv1618HasBeenOrdered == true) { additionalTestingComment = YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapWordDocument.HPV1618HasBeenOrderedComment; } else { additionalTestingComment = YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapWordDocument.NoAdditionalTestingOrderedComment; } this.ReplaceText("additional_testing", additionalTestingComment); base.ReplaceText("test_information", panelSetOrder.TestInformation); base.ReplaceText("report_references", panelSetOrder.References); base.ReplaceText("asr_comment", panelSetOrder.ASRComment); this.SetReportDistribution(); this.SetCaseHistory(); this.SaveReport(); }
public override void Render() { RASRAFPanelTestOrder testOrder = (RASRAFPanelTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\RASRAFPanel.1.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("braf_result", testOrder.BRAFResult); this.ReplaceText("kras_result", testOrder.KRASResult); this.ReplaceText("nras_result", testOrder.NRASResult); this.ReplaceText("hras_result", testOrder.HRASResult); this.ReplaceText("braf_mn", testOrder.BRAFMutationName); this.ReplaceText("kras_mn", testOrder.KRASMutationName); this.ReplaceText("nras_mn", testOrder.NRASMutationName); this.ReplaceText("hras_mn", testOrder.HRASMutationName); this.ReplaceText("braf_anmn", testOrder.BRAFAlternateNucleotideMutationName); this.ReplaceText("kras_anmn", testOrder.KRASAlternateNucleotideMutationName); this.ReplaceText("nras_anmn", testOrder.NRASAlternateNucleotideMutationName); this.ReplaceText("hras_anmn", testOrder.HRASAlternateNucleotideMutationName); this.ReplaceText("braf_cons", testOrder.BRAFConsequence); this.ReplaceText("kras_cons", testOrder.KRASConsequence); this.ReplaceText("nras_cons", testOrder.NRASConsequence); this.ReplaceText("hras_cons", testOrder.HRASConsequence); this.ReplaceText("braf_peop", testOrder.BRAFPredictedEffectOnProtein); this.ReplaceText("kras_peop", testOrder.KRASPredictedEffectOnProtein); this.ReplaceText("nras_peop", testOrder.NRASPredictedEffectOnProtein); this.ReplaceText("hras_peop", testOrder.HRASPredictedEffectOnProtein); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_comment", testOrder.Comment); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.ReportReferences); this.ReplaceText("report_disclaimer", testOrder.ReportDisclaimer); 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("referencelab_finaldate", BaseData.GetShortDateTimeString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { ThinPrepPap.ThinPrepPapTest thinPrepPapTest = new ThinPrepPap.ThinPrepPapTest(); bool hasPap = this.m_AccessionOrder.PanelSetOrderCollection.Exists(thinPrepPapTest.PanelSetId); if (hasPap) { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\WomensHealthProfile.1.xml"; this.OpenTemplate(); this.SetCurrentPapResults(); } else { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\WomensHealthProfileNoPap.1.xml"; this.OpenTemplate(); } this.SetCurrentMolecularResults(); this.SetPriorResults(); WomensHealthProfileTestOrder womensHealthProfileTestOrder = (WomensHealthProfileTestOrder)this.m_PanelSetOrder; WomensHealthProfileResult womensHealthProfileResult = new WomensHealthProfileResult(this.m_AccessionOrder); YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(womensHealthProfileTestOrder.ReportNo); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(amendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(womensHealthProfileTestOrder.OrderedOnId); this.SetXmlNodeData("specimen_source", specimenOrder.SpecimenSource); string collectionDateTimeString = specimenOrder.GetCollectionDateTimeString(); this.SetXmlNodeData("collection_date_time", collectionDateTimeString); this.SetXmlNodeData("specimen_description", specimenOrder.Description); if (this.m_PanelSetOrder.FinalTime.HasValue == true) { string finalDateTime = YellowstonePathology.Business.Document.CaseReportV2.ReportDateTimeFormat(this.m_PanelSetOrder.FinalTime.Value); this.SetXmlNodeData("final_date", finalDateTime); } else { this.SetXmlNodeData("final_date", string.Empty); } string clinicalHistory = this.m_AccessionOrder.ClinicalHistory; this.SetXMLNodeParagraphData("clinical_history", clinicalHistory); this.SetXMLNodeParagraphData("report_method", womensHealthProfileResult.Method); this.SetXMLNodeParagraphData("report_references", womensHealthProfileResult.References); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); this.SaveReport(); }
public override void Render() { YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTestOrder panelSetOrder = (YellowstonePathology.Business.Test.BRAFV600EK.BRAFV600EKTestOrder) this.m_PanelSetOrder; base.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\BRAFV600EK.3.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); string brafResult = panelSetOrder.Result; this.SetXmlNodeData("report_result", brafResult); this.SetXmlNodeData("final_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); 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); if (amendmentCollection.Count == 0) { this.SetXmlNodeData("test_result_header", "Test Result"); } else // If an amendment exists show as corrected { this.SetXmlNodeData("test_result_header", "Corrected Test Result"); } if (string.IsNullOrEmpty(panelSetOrder.Comment) == false) { this.ReplaceText("result_comment", panelSetOrder.Comment); } else { this.DeleteRow("result_comment"); } this.ReplaceText("report_interpretation", panelSetOrder.Interpretation); this.ReplaceText("report_indication_comment", panelSetOrder.IndicationComment); this.ReplaceText("tumor_nuclei_percent", panelSetOrder.TumorNucleiPercentage); this.ReplaceText("report_method", panelSetOrder.Method); this.ReplaceText("report_reference", panelSetOrder.ReportReferences); this.ReplaceText("report_disclaimer", panelSetOrder.ReportDisclaimer); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId); this.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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.SetXmlNodeData("pathologist_signature", m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { ErPrSemiQuantitativeTestOrder panelSetOrderErPrSemiQuantitative = (ErPrSemiQuantitativeTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\ERPRSemiQuantitative.6.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("er_result", panelSetOrderErPrSemiQuantitative.ErResult); this.ReplaceText("er_intensity", panelSetOrderErPrSemiQuantitative.ErIntensity); this.ReplaceText("er_percent_of_cells", panelSetOrderErPrSemiQuantitative.ErPercentageOfCells); this.ReplaceText("pr_result", panelSetOrderErPrSemiQuantitative.PrResult); this.ReplaceText("pr_intensity", panelSetOrderErPrSemiQuantitative.PrIntensity); this.ReplaceText("pr_percent_of_cells", panelSetOrderErPrSemiQuantitative.PrPercentageOfCells); this.ReplaceText("report_references", panelSetOrderErPrSemiQuantitative.ReportReferences); this.ReplaceText("report_method", panelSetOrderErPrSemiQuantitative.Method); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(panelSetOrderErPrSemiQuantitative.OrderedOnId); if (specimenOrder == null) { specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection[0]; } string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.ReplaceText("specimen_description", specimenOrder.Description); this.ReplaceText("specimen_fixation_type", specimenOrder.LabFixation); this.ReplaceText("time_to_fixation", specimenOrder.TimeToFixationHourString); this.ReplaceText("duration_of_fixation", specimenOrder.FixationDurationString); this.ReplaceText("specimen_adequacy", panelSetOrderErPrSemiQuantitative.SpecimenAdequacy); this.ReplaceText("date_time_collected", collectionDateTimeString); this.ReplaceText("report_interpretation", panelSetOrderErPrSemiQuantitative.Interpretation); if (string.IsNullOrEmpty(panelSetOrderErPrSemiQuantitative.ResultComment) == true) { this.DeleteRow("result_comment"); } else { this.ReplaceText("result_comment", panelSetOrderErPrSemiQuantitative.ResultComment); } this.ReplaceText("report_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
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(); }
public override void Render() { KRASStandardTestOrder panelSetOrder = (KRASStandardTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\KRASStandard.1.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); this.SetXmlNodeData("report_result", panelSetOrder.Result); this.SetXmlNodeData("final_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); if (m_PanelSetOrder.AmendmentCollection.Count == 0) { this.SetXmlNodeData("test_result_header", "Test Result"); } else // If an amendment exists show as corrected { this.SetXmlNodeData("test_result_header", "Corrected Test Result"); } YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId); this.ReplaceText("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); if (string.IsNullOrEmpty(panelSetOrder.Comment) == false) this.ReplaceText("result_comment", panelSetOrder.Comment); else this.DeleteRow("result_comment"); this.ReplaceText("report_interpretation", panelSetOrder.Interpretation); this.ReplaceText("kras_result_detail", panelSetOrder.MutationDetected); this.ReplaceText("report_indication_comment", panelSetOrder.IndicationComment); this.ReplaceText("tumor_nuclei_percent", panelSetOrder.TumorNucleiPercentage); this.ReplaceText("report_method", panelSetOrder.Method); this.ReplaceText("report_reference", panelSetOrder.References); if (this.m_PanelSetOrder.ProfessionalComponentFacilityId == "YPBLGS" && this.m_PanelSetOrder.TechnicalComponentFacilityId == "YPIBLGS") { this.ReplaceText("test_developed_comment", TestDevelopedComment); } else { this.DeleteRow("test_developed_comment"); } this.ReplaceText("report_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.SetXmlNodeData("pathologist_signature", m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { CysticFibrosisTestOrder panelSetOrderCF = (CysticFibrosisTestOrder)this.m_PanelSetOrder; if (panelSetOrderCF.TemplateId == 1) { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\CysticFibrosisCarrierScreening.2.xml"; } else if (panelSetOrderCF.TemplateId == 2) { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\CysticFibrosisCarrierScreeningUnknownEthnicGroup.2.xml"; } else { return; } base.OpenTemplate(); base.SetDemographicsV2(); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(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); this.SetReportDistribution(); this.SetCaseHistory(); base.ReplaceText("report_result", panelSetOrderCF.Result); base.ReplaceText("mutations_detected", panelSetOrderCF.MutationsDetected); base.ReplaceText("report_comment", panelSetOrderCF.Comment); YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisEthnicGroupCollection cysticFibrosisEthnicGroupCollection = new CysticFibrosisEthnicGroupCollection(); YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisEthnicGroup cysticFibrosisEthnicGroup = cysticFibrosisEthnicGroupCollection.GetCysticFibrosisEthnicGroup(panelSetOrderCF.EthnicGroupId); base.ReplaceText("report_ethnic_group", cysticFibrosisEthnicGroup.EthnicGroupName); base.ReplaceText("report_interpretation", panelSetOrderCF.Interpretation); base.ReplaceText("mutations_tested", panelSetOrderCF.MutationsTested); base.ReplaceText("report_method", panelSetOrderCF.Method); base.ReplaceText("report_references", panelSetOrderCF.ReportReferences); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(m_PanelSetOrder.ReportNo); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(amendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.SaveReport(); }
public override void Render() { ErPrSemiQuantitativeTestOrder panelSetOrderErPrSemiQuantitative = (ErPrSemiQuantitativeTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\ERPRSemiQuantitative.6.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("er_result", panelSetOrderErPrSemiQuantitative.ErResult); this.ReplaceText("er_intensity", panelSetOrderErPrSemiQuantitative.ErIntensity); this.ReplaceText("er_percent_of_cells", panelSetOrderErPrSemiQuantitative.ErPercentageOfCells); this.ReplaceText("pr_result", panelSetOrderErPrSemiQuantitative.PrResult); this.ReplaceText("pr_intensity", panelSetOrderErPrSemiQuantitative.PrIntensity); this.ReplaceText("pr_percent_of_cells", panelSetOrderErPrSemiQuantitative.PrPercentageOfCells); this.ReplaceText("report_references", panelSetOrderErPrSemiQuantitative.ReportReferences); this.ReplaceText("report_method", panelSetOrderErPrSemiQuantitative.Method); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(panelSetOrderErPrSemiQuantitative.OrderedOnId); if(specimenOrder == null) specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection[0]; string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.ReplaceText("specimen_description", specimenOrder.Description); this.ReplaceText("specimen_fixation_type", specimenOrder.LabFixation); this.ReplaceText("time_to_fixation", specimenOrder.TimeToFixationHourString); this.ReplaceText("duration_of_fixation", specimenOrder.FixationDurationString); this.ReplaceText("specimen_adequacy", panelSetOrderErPrSemiQuantitative.SpecimenAdequacy); this.ReplaceText("date_time_collected", collectionDateTimeString); this.ReplaceText("report_interpretation", panelSetOrderErPrSemiQuantitative.Interpretation); if (string.IsNullOrEmpty(panelSetOrderErPrSemiQuantitative.ResultComment) == true) { this.DeleteRow("result_comment"); } else { this.ReplaceText("result_comment", panelSetOrderErPrSemiQuantitative.ResultComment); } this.ReplaceText("report_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { CalreticulinMutationAnalysisTestOrder reportOrderCalreticulinMutationAnalysis = (CalreticulinMutationAnalysisTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\CalreticulinMutationAnalysis.3.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); string reportResult = reportOrderCalreticulinMutationAnalysis.Result; if (string.IsNullOrEmpty(reportResult)) { reportResult = string.Empty; } if (reportOrderCalreticulinMutationAnalysis.Result == "Detected") { this.ReplaceText("report_mutations", reportOrderCalreticulinMutationAnalysis.Mutations); } else { this.DeleteRow("report_mutations"); } this.ReplaceText("report_result", reportResult); this.ReplaceText("report_interpretation", reportOrderCalreticulinMutationAnalysis.Interpretation); this.ReplaceText("report_method", reportOrderCalreticulinMutationAnalysis.Method); this.ReplaceText("report_references", reportOrderCalreticulinMutationAnalysis.ReportReferences); this.ReplaceText("test_asr", reportOrderCalreticulinMutationAnalysis.ASR); 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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", reportOrderCalreticulinMutationAnalysis.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { CysticFibrosisTestOrder panelSetOrderCF = (CysticFibrosisTestOrder)this.m_PanelSetOrder; if (panelSetOrderCF.TemplateId == 1) { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\CysticFibrosisCarrierScreening.1.xml"; } else if (panelSetOrderCF.TemplateId == 2) { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\CysticFibrosisCarrierScreeningUnknownEthnicGroup.1.xml"; } else { return; } base.OpenTemplate(); base.SetDemographicsV2(); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(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); this.SetReportDistribution(); this.SetCaseHistory(); base.ReplaceText("report_result", panelSetOrderCF.Result); base.ReplaceText("mutations_detected", panelSetOrderCF.MutationsDetected); base.ReplaceText("report_comment", panelSetOrderCF.Comment); YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisEthnicGroupCollection cysticFibrosisEthnicGroupCollection = new CysticFibrosisEthnicGroupCollection(); YellowstonePathology.Business.Test.CysticFibrosis.CysticFibrosisEthnicGroup cysticFibrosisEthnicGroup = cysticFibrosisEthnicGroupCollection.GetCysticFibrosisEthnicGroup(panelSetOrderCF.EthnicGroupId); base.ReplaceText("report_ethnic_group", cysticFibrosisEthnicGroup.EthnicGroupName); base.ReplaceText("report_interpretation", panelSetOrderCF.Interpretation); base.ReplaceText("mutations_tested", panelSetOrderCF.MutationsTested); base.ReplaceText("report_method", panelSetOrderCF.Method); base.ReplaceText("report_references", panelSetOrderCF.ReportReferences); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.SaveReport(); }
public override void Render() { FactorVLeidenTestOrder testOrder = (FactorVLeidenTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\FactorVLeiden.1.xml"; this.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); if (this.m_PanelSetOrder.Final) { this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); } 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); //remove unused comment line if (string.IsNullOrEmpty(testOrder.Comment) == true) { this.DeleteRow("report_comment"); } else { this.ReplaceText("report_comment", testOrder.Comment); } this.SetXmlNodeData("report_result", testOrder.Result); this.ReplaceText("result_description", testOrder.ResultDescription); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_indication", testOrder.Indication); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("test_development", testOrder.TestDevelopment); this.ReplaceText("report_references", testOrder.ReportReferences); YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(m_PanelSetOrder.ReportNo); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(amendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\EGFRMutationAnalysis.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisTestOrder egfrMutationAnalysisTestOrder = (YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisTestOrder)this.m_PanelSetOrder; YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(egfrMutationAnalysisTestOrder.OrderedOnId); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(egfrMutationAnalysisTestOrder.OrderedOn, egfrMutationAnalysisTestOrder.OrderedOnId); string specimenDescription = specimenOrder.Description + ", Block " + aliquotOrder.Label; this.ReplaceText("specimen_description", specimenDescription); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.SetXMLNodeParagraphData("report_result", egfrMutationAnalysisTestOrder.Result); this.SetXMLNodeParagraphData("report_comment", egfrMutationAnalysisTestOrder.Comment); this.SetXMLNodeParagraphData("report_interpretation", egfrMutationAnalysisTestOrder.Interpretation); this.ReplaceText("report_indication", egfrMutationAnalysisTestOrder.Indication); this.ReplaceText("tumor_nuclei_percentage", egfrMutationAnalysisTestOrder.TumorNucleiPercentage); if (egfrMutationAnalysisTestOrder.MicrodissectionPerformed == true) { this.ReplaceText("microdissection_performed", "Yes"); } else { this.ReplaceText("microdissection_performed", "No"); } this.SetXMLNodeParagraphData("report_method", egfrMutationAnalysisTestOrder.Method); this.SetXMLNodeParagraphData("report_references", egfrMutationAnalysisTestOrder.ReportReferences); this.SetXMLNodeParagraphData("report_disclaimer", egfrMutationAnalysisTestOrder.ReportDisclaimer); this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\HPV.1.xml"; base.OpenTemplate(); base.SetDemographicsV2(); 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); base.ReplaceText("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); HPVTestOrder panelSetOrder = (HPVTestOrder)this.m_PanelSetOrder; if(string.IsNullOrEmpty(panelSetOrder.Result) == false) base.ReplaceText("test_result", panelSetOrder.Result); if (string.IsNullOrEmpty(panelSetOrder.Comment) == false) base.ReplaceText("report_comment", panelSetOrder.Comment); else base.DeleteRow("report_comment"); bool hpv1618HasBeenOrdered = this.m_AccessionOrder.PanelSetOrderCollection.Exists(62); string additionalTestingComment = string.Empty; if (hpv1618HasBeenOrdered == true) { additionalTestingComment = YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapWordDocument.HPV1618HasBeenOrderedComment; } else { additionalTestingComment = YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapWordDocument.NoAdditionalTestingOrderedComment; } this.ReplaceText("additional_testing", additionalTestingComment); base.ReplaceText("test_information", panelSetOrder.TestInformation); base.ReplaceText("report_references", panelSetOrder.ReportReferences); base.ReplaceText("asr_comment", panelSetOrder.ASRComment); this.SetReportDistribution(); this.SetCaseHistory(); this.SaveReport(); }
public override void Render() { FactorVLeidenTestOrder testOrder = (FactorVLeidenTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\FactorVLeiden.6.xml"; this.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); if (this.m_PanelSetOrder.Final) { this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); } 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); //remove unused comment line if (string.IsNullOrEmpty(testOrder.Comment) == true) { this.DeleteRow("report_comment"); } else { this.ReplaceText("report_comment", testOrder.Comment); } this.SetXmlNodeData("report_result", testOrder.Result); this.ReplaceText("result_description", testOrder.ResultDescription); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_indication", testOrder.Indication); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("test_development", testOrder.TestDevelopment); this.ReplaceText("report_references", testOrder.References); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.SaveReport(); }
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); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(this.m_PanelSetOrder.OrderedOnId); this.ReplaceText("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.ToUpper()) { case "HB-F": this.SetXmlNodeData("test_result", markerItem.Result); break; } } 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(); }
public override void Render() { TCellSubsetAnalysisTestOrder testOrder = (TCellSubsetAnalysisTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\TCellSubsetAnalysis.1.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_cd3_percent", testOrder.CD3Percent.ToString().StringAsPercent()); this.ReplaceText("report_cd4_percent", testOrder.CD4Percent.ToString().StringAsPercent()); this.ReplaceText("report_cd8_percent", testOrder.CD8Percent.ToString().StringAsPercent()); string value = string.Empty; if (testOrder.CD4CD8Ratio.HasValue) { value = Math.Round(testOrder.CD4CD8Ratio.Value, 2).ToString(); } this.ReplaceText("report_cd4cd8_ratio", value); this.ReplaceText("report_reference_range", testOrder.ReferenceRange); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.ReportReferences); this.ReplaceText("report_disclosure", testOrder.Disclosure); this.ReplaceText("asr_comment", testOrder.ASRComment); 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.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
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(); }
public override void Render() { BCellClonalityByPCRTestOrder testOrder = (BCellClonalityByPCRTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\BCellClonality.7.xml"; this.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); if (this.m_PanelSetOrder.Final) { this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); } this.SetXmlNodeData("report_result", testOrder.Result); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = (YellowstonePathology.Business.Specimen.Model.SpecimenOrder) this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(this.m_PanelSetOrder.OrderedOnId); this.ReplaceText("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); if (string.IsNullOrEmpty(testOrder.Comment) == true) { this.DeleteRow("result_comment"); } else { this.ReplaceText("result_comment", testOrder.Comment); } this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("tumor_nuclei_percent", testOrder.TumorNucleiPercent); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.References); this.ReplaceText("asr_comment", testOrder.ASRComment); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.SaveReport(); }
public override void Render() { MultipleMyelomaMGUSByFishTestOrder panelSetOrderMultipleMyelomaMGUSByFish = (MultipleMyelomaMGUSByFishTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\PlasmaCellMyelomaFISHPanel.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", panelSetOrderMultipleMyelomaMGUSByFish.Result); if (string.IsNullOrEmpty(panelSetOrderMultipleMyelomaMGUSByFish.ReportComment) == false) { this.ReplaceText("report_comment", panelSetOrderMultipleMyelomaMGUSByFish.ReportComment); } else { this.DeleteRow("report_comment"); } this.ReplaceText("report_interpretation", panelSetOrderMultipleMyelomaMGUSByFish.Interpretation); this.ReplaceText("probe_set_detail", panelSetOrderMultipleMyelomaMGUSByFish.ProbeSetDetail); this.ReplaceText("nuclei_scored", panelSetOrderMultipleMyelomaMGUSByFish.NucleiScored); this.ReplaceText("report_references", panelSetOrderMultipleMyelomaMGUSByFish.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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { BCRABLByPCRTestOrder testOrder = (BCRABLByPCRTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\BCRABLByPCR.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); if (string.IsNullOrEmpty(testOrder.DetectedLogReduction) == false) { this.ReplaceText("log_reduction", testOrder.DetectedLogReduction); } else { this.DeleteRow("log_reduction"); } this.ReplaceText("report_result", testOrder.Result); this.ReplaceText("fusion_transcript_type", testOrder.FusionTranscriptType); this.ReplaceText("percent_bcrabl", testOrder.PercentBCRABL); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { CalreticulinMutationAnalysisTestOrder reportOrderCalreticulinMutationAnalysis = (CalreticulinMutationAnalysisTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\CalreticulinMutationAnalysis.1.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); string reportResult = reportOrderCalreticulinMutationAnalysis.Result; if (string.IsNullOrEmpty(reportResult)) { reportResult = string.Empty; } if(reportOrderCalreticulinMutationAnalysis.Result == "Detected") { reportResult = reportResult + "(" + reportOrderCalreticulinMutationAnalysis.Mutations + ")"; } this.ReplaceText("report_result", reportResult); this.ReplaceText("report_interpretation", reportOrderCalreticulinMutationAnalysis.Interpretation); this.ReplaceText("report_method", reportOrderCalreticulinMutationAnalysis.Method); this.ReplaceText("report_references", reportOrderCalreticulinMutationAnalysis.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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", reportOrderCalreticulinMutationAnalysis.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\WomensHealthProfile.3.xml"; this.OpenTemplate(); this.SetCurrentPapResults(); this.SetCurrentMolecularResults(); this.SetPriorResults(); WomensHealthProfileTestOrder womensHealthProfileTestOrder = (WomensHealthProfileTestOrder)this.m_PanelSetOrder; WomensHealthProfileResult womensHealthProfileResult = new WomensHealthProfileResult(this.m_AccessionOrder); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(womensHealthProfileTestOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(womensHealthProfileTestOrder.OrderedOnId); this.SetXmlNodeData("specimen_source", specimenOrder.SpecimenSource); string collectionDateTimeString = specimenOrder.GetCollectionDateTimeString(); this.SetXmlNodeData("collection_date_time", collectionDateTimeString); this.SetXmlNodeData("specimen_description", specimenOrder.Description); if (this.m_PanelSetOrder.FinalTime.HasValue == true) { string finalDateTime = YellowstonePathology.Business.Document.CaseReportV2.ReportDateTimeFormat(this.m_PanelSetOrder.FinalTime.Value); this.SetXmlNodeData("final_date", finalDateTime); } else { this.SetXmlNodeData("final_date", string.Empty); } string clinicalHistory = this.m_AccessionOrder.ClinicalHistory; this.SetXMLNodeParagraphData("clinical_history", clinicalHistory); this.SetXMLNodeParagraphData("report_method", womensHealthProfileResult.Method); this.SetXMLNodeParagraphData("report_references", womensHealthProfileResult.References); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); this.SaveReport(); }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\ThrombocytopeniaProfileV2.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); ThrombocytopeniaProfileV2TestOrder testOrder = (ThrombocytopeniaProfileV2TestOrder)this.m_PanelSetOrder; YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(testOrder.ReportNo); YellowstonePathology.Business.Document.AmendmentSection amendment = new YellowstonePathology.Business.Document.AmendmentSection(); amendment.SetAmendment(amendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(testOrder.OrderedOn, testOrder.OrderedOnId); this.SetXmlNodeData("specimen_description", specimenOrder.Description); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.SetXmlNodeData("apa_igg", testOrder.AntiPlateletAntibodyIgG); this.SetXmlNodeData("apa_igm", testOrder.AntiPlateletAntibodyIgM); this.SetXmlNodeData("apa_igg_reference", testOrder.AntiPlateletAntibodyIgGReference); if (string.IsNullOrEmpty(testOrder.ReticulatedPlateletAnalysis) == false) { this.SetXmlNodeData("r_p_a", testOrder.ReticulatedPlateletAnalysis); this.SetXmlNodeData("r_p_a_reference", testOrder.ReticulatedPlateletAnalysisReference); } else { this.DeleteRow("r_p_a"); } this.SetXmlNodeData("apa_igm_reference", testOrder.AntiPlateletAntibodyIgMReference); this.SetXMLNodeParagraphData("report_interpretation", testOrder.Interpretation); this.SetXMLNodeParagraphData("report_method", testOrder.Method); this.SetXmlNodeData("asr_comment", testOrder.ASRComment); this.SaveReport(); }
public override void Render() { BCRABLByPCRTestOrder testOrder = (BCRABLByPCRTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\BCRABLByPCR.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); if (string.IsNullOrEmpty(testOrder.DetectedLogReduction) == false) { this.ReplaceText("log_reduction", testOrder.DetectedLogReduction); } else { this.DeleteRow("log_reduction"); } this.ReplaceText("report_result", testOrder.Result); this.ReplaceText("fusion_transcript_type", testOrder.FusionTranscriptType); this.ReplaceText("percent_bcrabl", testOrder.PercentBCRABL); this.ReplaceText("report_interpretation", testOrder.Interpretation); this.ReplaceText("report_method", testOrder.Method); this.ReplaceText("report_references", testOrder.References); 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", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature); this.SaveReport(); }
public override void Render() { ReviewForAdditionalTestingTestOrder reviewForAdditionalTestingTestOrder = (YellowstonePathology.Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\ReviewForAdditionalTesting.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true); this.ReplaceText("report_comment", reviewForAdditionalTestingTestOrder.Comment); this.ReplaceText("report_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.Signature); this.SaveReport(); }
public override void Render() { YellowstonePathology.Business.Test.NGCT.NGCTTestOrder testOrder = (YellowstonePathology.Business.Test.NGCT.NGCTTestOrder)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\NGCT.7.xml"; base.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); this.SetCaseHistory(); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(this.m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, false); this.SetXmlNodeData("final_date", YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate)); 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); base.ReplaceText("neisseria_gonorrhoeae_result", testOrder.NeisseriaGonorrhoeaeResult); base.ReplaceText("chlamydia_trachomatis_result", testOrder.ChlamydiaTrachomatisResult); if (string.IsNullOrEmpty(testOrder.Comment) == false) { base.ReplaceText("report_comment", testOrder.Comment); } else { base.DeleteRow("report_comment"); } base.ReplaceText("report_method", testOrder.Method); base.ReplaceText("report_references", testOrder.ReportReferences); base.ReplaceText("test_information", testOrder.TestInformation); this.SaveReport(); }
public override void Render() { YellowstonePathology.Business.Test.HPV1618.PanelSetOrderHPV1618 panelSetOrderHPV1618 = (YellowstonePathology.Business.Test.HPV1618.PanelSetOrderHPV1618)this.m_PanelSetOrder; this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\HPV1618Genotyping.7.xml"; base.OpenTemplate(); base.SetDemographicsV2(); 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); YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection(); amendmentSection.SetAmendment(this.m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, false); base.ReplaceText("hpv16_result", panelSetOrderHPV1618.HPV16Result); base.ReplaceText("hpv18_result", panelSetOrderHPV1618.HPV18Result); if (string.IsNullOrEmpty(panelSetOrderHPV1618.Comment) == false) { base.ReplaceText("report_comment", panelSetOrderHPV1618.Comment); } else { base.DeleteRow("report_comment"); } base.ReplaceText("report_method", panelSetOrderHPV1618.Method); base.ReplaceText("report_references", panelSetOrderHPV1618.References); this.SetReportDistribution(); this.SetCaseHistory(); this.SaveReport(); }