After section 47 of the National Health Service Act 2006 insert—
Joint exercise of functions (47A) An NHS foundation trust may enter into arrangements for the carrying out, on such terms as the NHS foundation trust considers appropriate, of any of its functions jointly with any other person.