Пример #1
0
 public static List<Demographic> getOCANClients(Integer facilityId) {
   List<Integer> demographicIds = ocanStaffFormDao.getAllOcanClients(facilityId);
   List<Demographic> demographics = new ArrayList<Demographic>();
   for (Integer id : demographicIds) {
     demographics.add(demographicDao.getClientByDemographicNo(id));
   }
   return demographics;
 }