add appointments table to patients/show