What are the roles and duties of a doctor