/// <summary>default constructor /// </summary> /// <param name="reportData">report XML data</param> public PlacentalPathologyQuestionnaire(Result.Data.PlacentalPathologyQuestionnaireData reportData) { m_PlacentalPathologyData = reportData; if (m_PlacentalPathologyData == null) { throw new ApplicationException("XML data file have not \"PlacentalPathologyQuestionnaire\" node"); } NoHeader header = new NoHeader(); NoFooter footer = new NoFooter(); m_ReportDocument = new ReportDocument(header, footer); SetupDocumentLayout(); WriteDemographicHistorySection(); WriteIndicationsSection(); WriteDateTimeSignSection(); }
/// <summary>default constructor /// </summary> /// <param name="reportData">report XML data</param> public PlacentalPathologyQuestionnaire(Result.Data.PlacentalPathologyQuestionnaireData reportData) { m_PlacentalPathologyData = reportData; if (m_PlacentalPathologyData == null) throw new ApplicationException("XML data file have not \"PlacentalPathologyQuestionnaire\" node"); NoHeader header = new NoHeader(); NoFooter footer = new NoFooter(); m_ReportDocument = new ReportDocument(header, footer); SetupDocumentLayout(); WriteDemographicHistorySection(); WriteIndicationsSection(); WriteDateTimeSignSection(); }