public ReportDetailsViewModelBase(IReportDataProvider dataProvider) { _reportDataProvider = dataProvider; DiagnosisCodeIDlist = new List<DiagnosisCodeGroup>(); EncounterTypesIDlist = new List<EncounterType>(); ClientOrganizationIDList = new List<ClientOrganization>(); Filters = new FiltersViewModel(); StartDate = DateTime.Now; EndDate = DateTime.Now; }
public ReportsViewModel(IReportDataProvider dataProvider, ISystemDataProvider systemDataProvider) { _reportDataProvider = dataProvider; SystemDataProvider = systemDataProvider; DiagnosisCodeIDlist = new List<DiagnosisCodeGroup>(); EncounterTypesIDlist = new List<FilterLookupType>(); ClientOrganizationIDList = new List<ClientOrganization>(); GenderIDlist = new List<FilterLookupType>(); AgeRangeIDlist = new List<FilterLookupType>(); HomeOwnerTypeIDlist = new List<FilterLookupType>(); HasChildrenIDlist = new List<FilterLookupType>(); IncomeRangeIDlist = new List<FilterLookupType>(); PayerTypeIDlist = new List<FilterLookupType>(); Filters = new FiltersViewModel(); ServiceLineExplorerResults = new List<ServiceLineExplorerResults>(); ServiceLineExplorerResultsByFacility = new List<ServiceLineExplorerResults>(); PatientDataByGender = new List<PatientReportDataModel>(); PatientDataByAge = new List<PatientReportDataModel>(); PatientDataByIncome = new List<PatientReportDataModel>(); PatientDataByHomeOwner = new List<PatientReportDataModel>(); PatientDataByHasChildren = new List<PatientReportDataModel>(); PatientDataByPayerType = new List<PatientReportDataModel>(); CommunityDataByGender = new List<CommunityReportDataModel>(); CommunityDataByAge = new List<CommunityReportDataModel>(); CommunityDataByIncome = new List<CommunityReportDataModel>(); CommunityDataByHomeOwner = new List<CommunityReportDataModel>(); CommunityDataByHasChildren = new List<CommunityReportDataModel>(); CommunitytDataByPayerType = new List<CommunityReportDataModel>(); GeographicViewmodel = new GeographicViewModel(SystemDataProvider); StartDate = new DateTime(2010, 1, 01, 12, 00, 00); EndDate = DateTime.Now; ExplorerType = ExplorerTypeEnum.Unknown; }