Create get patient appointment history