コード例 #1
0
ファイル: OruBraf.cs プロジェクト: WilliamCopland/YPILIS
 /// <summary>constructor
 /// </summary>
 /// <param name="data">report XML data</param>
 public OruBraf(BrafReportData data)
     : base(BrafReport.ReportName, data.PageHeader)
 {
     m_Data = data;
     AddCustomObxSegments();
     AddObxSegmentsForStandardTrailerSections(data.OtherReportsText, data.ReportDistributionList, BrafReport.DisclaimerIndex);
 }
コード例 #2
0
ファイル: BRAFReport.cs プロジェクト: WilliamCopland/YPILIS
        /// <summary>constructor with XML input data
        /// </summary>
        /// <param name="reportData">report XML data object</param>
        public BrafReport(BrafReportData reportData)
            : base(ReportName, reportData.PageHeader)
        {
            m_ReportData = reportData;

            WriteMainBoxSections(m_ReportData.PathologistSignatureText);
            WriteAmendments(m_ReportData.Amendments, true);
            WriteSimpleSectionWithTitle(SpecimenLabel, m_ReportData.SpecimenText);
            WriteSimpleSectionWithTitle(IndicationLabel, m_ReportData.ReportIndicationText);
            WriteSimpleSectionWithTitle(InterpretationLabel, m_ReportData.InterpretationText);
            WriteSimpleSectionWithTitle(MethodLabel, m_ReportData.MethodText);
            WriteSimpleSectionWithTitle(ReferencesLabel, m_ReportData.ReferencesText);

            WriteStandardTrailerSections(reportData.OtherReportsText, reportData.ReportDistributionList, DisclaimerIndex);
        }