submit button applied in doctor view