Exemplo n.º 1
0
 /// <summary>constructor
 /// </summary>
 /// <param name="data">report XML data</param>
 public OruSurgicalPathology(SurgicalPathologyReportData data)
     : base(SurgicalPathologyReport.ReportName, data.PageHeader)
 {
     m_Data = data;
     AddCustomObxSegments();
     //AddObxSegmentsForStandardTrailerSections(data.OtherReportsText, data.ReportDistributionList, BrafReport.DisclaimerIndex);
 }
        /// <summary>constructor with XML input data
        /// </summary>
        /// <param name="reportData">report XML data object</param>
        public SurgicalPathologyReport(SurgicalPathologyReportData reportData)
            : base(ReportName, reportData.PageHeader)
        {
            m_ReportData = reportData;

            WriteMainBoxSections(m_ReportData.PathologistSignatureText);
            WriteAmendments(m_ReportData.Amendments, true);
            WriteSimpleSectionWithTitle(MicroscopicDescriptionTitle, m_ReportData.MicroscopicDescriptionText);
            WriteAncillaryStudiesSection();
            WriteSimpleSectionWithTitle(ClinicalInfoTitle, m_ReportData.ClinicalInfoText);
            WriteSimpleSectionWithTitle(GrossDescriptionTitle, m_ReportData.GrossDescriptionText);
            WriteSimpleSectionWithTitle(OtherReportsLabel, reportData.OtherReportsText);
            if (m_ReportData.IsRevised) WritePrevDiagnosisSection();
            WriteReportDistributionSection(reportData.ReportDistributionList);
            InitPageNumbersInHeaders();
        }