Refactoring of dental card report.