Added ability to load more patients and activity items