private NewResultsListVoCollection processResults(List<?> results) { HashMap map = new HashMap(); ClinicalImagingResults impl = (ClinicalImagingResults) getDomainImpl(ClinicalImagingResultsImpl.class); map = impl.getListXoHistory(map, results); NewResultsListVoCollection voCollResults = NewResultsListVoAssembler.createNewResultsListVoCollectionFromOrderInvestigation(results); if(voCollResults != null) { for(NewResultsListVo voResult : voCollResults) { if(map.containsKey(voResult.getID_OrderInvestigation())) { voResult.setOrdInvXOStatusHistory((OrdInvXOStatusHistoryLiteVoCollection) map.get(voResult.getID_OrderInvestigation())); } } } return voCollResults; }