This activity diagram is for adding a new doctor in the system. For this task, the admin will login to the system. He will add the information of doctor into the system. The system will validate the information. After that the system will check wither the doctor is in the system or not. Then if the doctor is already in the system, the system will through an exception “Cannot add the doctor again”. If the doctor is not in the database, then the doctor will get a room and the information will be saved in the database.