added emergency and role fields to CompletedProc