Todeays appointment refactoring