(1) Under the stipend program under this chapter, the Secretary of the military department concerned may enter into an agreement with a person who
(A) is eligible to be appointed as an officer in a reserve component;
(B) is enrolled or has been accepted for enrollment in an institution in a course of study that results in a degree in medicine or dentistry;
(C) signs an agreement that, unless sooner separated, the person will
(i) complete the educational phase of the program;
(ii) accept a reappointment or redesignation within the persons reserve component, if tendered, based upon the persons health profession, following satisfactory completion of the educational and intern programs; and
(iii) participate in a residency program; and
(D) if required by regulations prescribed by the Secretary of Defense, agrees to apply for, if eligible, and accept, if offered, residency training in a health profession skill which has been designated by the Secretary of Defense as a critically needed wartime skill.
(2) Under the agreement
(A) the Secretary of the military department concerned shall agree to pay the participant a stipend, in the amount determined under subsection (f), for the period or the remainder of the period that the
student is satisfactorily progressing toward a degree in medicine or dentistry while enrolled in an accredited medical or dental
school;
(B) the participant shall not be eligible to receive such stipend before appointment, designation, or assignment as an officer for service in the Ready Reserve;
(C) the participant shall be subject to such active duty requirements as may be specified in the agreement and to active duty in time of war or national emergency as provided by law for members of the Ready Reserve; and
(D) the participant shall agree to serve in the Selected Reserve, upon successful completion of the program, for the period of service applicable under paragraph (3).
(3)
(A) Subject to subparagraph (B), the period for which a participant is required to serve in the Selected Reserve under the agreement pursuant to paragraph (2)(D) shall be one year for each period of six months, or part thereof, for which the participant is provided a stipend pursuant to the agreement.
(B) In the case of a participant who enters into a subsequent agreement under subsection (c) and successfully completes residency training in a specialty designated by the Secretary of Defense as a specialty critically needed by the military department in wartime, the requirement to serve in the Selected Reserve may be reduced to one year for each year, or part thereof, for which the stipend was provided while enrolled in medical or dental
school.