Created clear table functions for doctors, nurses, and patients