doctor functionalities