angshu | #391 | minor refactoring. patient encounters GET api now returns a paginated feed.