/// <summary>constructor /// </summary> /// <param name="data">report XML data</param> public OruJak2(Jak2ReportData data) : base(Jak2Report.ReportName, data.PageHeader) { m_Data = data; AddCustomObxSegments(); AddObxSegmentsForStandardTrailerSections(data.OtherReportsText, data.ReportDistributionList, Jak2Report.DisclaimerIndex); }
/// <summary>constructor with XML input data /// </summary> /// <param name="reportData">report XML data object</param> public Jak2Report(Jak2ReportData reportData) : base(ReportName, reportData.PageHeader) { m_ReportData = reportData; WriteMainBoxSections(m_ReportData.PathologistSignatureText); WriteAmendments(m_ReportData.Amendments, true); WriteSimpleSectionWithTitle(SpecimenLabel, m_ReportData.SpecimenText); WriteSimpleSectionWithTitle(InterpretationLabel, m_ReportData.InterpretationText); WriteSimpleSectionWithTitle(MethodLabel, m_ReportData.MethodText); WriteSimpleSectionWithTitle(ReferencesLabel, m_ReportData.ReferencesText); WriteStandardTrailerSections(m_ReportData.OtherReportsText, m_ReportData.ReportDistributionList, DisclaimerIndex); }