Since they are a requirement by some insurance companies on the CMS-1500 form I would say that it is also a good idea to enter them on the UB-04 form, but I cannot find documentation that states that it's a requirement. You might want to check with the insurance carrier to be sure.