The Secretary shall assign individuals performing obligated service in accordance with a written contract under the Scholarship Program to health professional shortage areas in accordance with sections
254d through
254h and sections
254j and
254k of this title. If the Secretary determines that there is no need in a health professional shortage area (designated under section
254e of this title) for a member of the profession in which an individual is obligated to provide service under a written contract and if such individual is an officer in the Service or a civilian employee of the United States, the Secretary may detail such individual to serve his period of obligated service as a full-time member of such profession in such unit of the Department as the Secretary may determine.