Refactoring dental card report.