classes for patient tables, removed unused code