If you needed a doctor or vocational expert to testify, you paid for that service. Therefore, it is deductible. It belongs on line 22.