appointment automatic assigned_by value