Rewritten patient-calendar after date-time refactoring.