Implemented the list view for patients and the detail view for patients