Add functionality to revoke permission from other doctor to view patient