/// <summary> /// Creates and hydrates the diagnostic investigations section. /// /// Note: the data used within this method is intended as a guide and should be replaced. /// </summary> /// <returns>A hydrated 'DiagnosticInvestigations' object.</returns> private static IDiagnosticInvestigations CreateDiagnosticInvestigations(Boolean mandatorySectionsOnly) { IDiagnosticInvestigations diagnosticInvestigations = BaseCDAModel.CreateDiagnosticInvestigations(); diagnosticInvestigations.ImagingExaminationResult = new List <IImagingExaminationResult> { GenericObjectReuseSample.CreateImagingResults("Leg Image"), GenericObjectReuseSample.CreateImagingResults("Head Image") }; // Pathology test results diagnosticInvestigations.PathologyTestResult = new List <PathologyTestResult> { GenericObjectReuseSample.CreatePathologyResults(PitNameAndPath), GenericObjectReuseSample.CreatePathologyResults(mandatorySectionsOnly) }; // Other Test Result diagnosticInvestigations.OtherTestResult = new List <OtherTestResult> { GenericObjectReuseSample.CreateOtherTestResultAttachment(), GenericObjectReuseSample.CreateOtherTestResultText() }; // Requested Service diagnosticInvestigations.RequestedService = CreateRequestedService(mandatorySectionsOnly); return(diagnosticInvestigations); }