They should not go in the referring provider, but the provider who oversees all of the patients care should go in the rendering provider section on the form. By putting them in the rendering provider the payment would still go to the patient so the provider would not receive a 1099.
Michele