I was using an observer, but it was firing to soon, before I selected the correct visit. So i ended up doing this.
In the Ajax call I am using afterUpdateElement and calling a function with this in it:
#{remote_function(:url => return_case_num_orders_path, :with =>"Form.Element.serialize('visit_case_num')", :update => 'tabbed_studies', :method => 'get')}
which passes the visits id number and returns my partial with that stuff in it...