Lpu lpu = cool.getLpu();
DiseaseReport entity = getExistentEntity();
ArrayList<Map<String, Object>> mainData = new ArrayList<Map<String, Object>>();
Element xml = entity.getDetails((RightChecker) this).getXml();
ReportTableFactory factory = new ReportTableFactory();
ArrayList<AbstractReportTable<?>> list = factory.parseXml(xml);
DateRange range = new DateRange(year);
for (int i = 0; i < list.size(); i++) {
AbstractReportTable table = list.get(i);
AbstractTablesSelector<?> selector = createTableSelector(table, lpu, range, i);
Collection<Map<String, Object>> newData = selector.getDataList(year);