235. Procurement of personnel. . IV Separation and retirement of officers 401. Involuntary retirement or separation Section 241 ( 33 U.S.C. 3041 ) is amended by adding at the end the following: (d) Deferment of retirement or separation for medical reasons (1) In general If the Secretary determines that the evaluation of the medical condition of an officer requires hospitalization or medical observation that cannot be completed with confidence in a manner consistent with the officer's well being before the date on which the officer would otherwise be required to retire or be separated under this section, the Secretary may defer the retirement or separation of the officer. (2) Consent required A deferment may only be made with the written consent of the officer involved. If the officer does not provide written consent to the deferment, the officer shall be retired or separated as scheduled. (3) Limitation A deferral of retirement or separation under this subsection may not extend for more than 30 days after completion of the evaluation requiring hospitalization or medical observation. . 402. Separation pay Section 242 ( 33 U.S.C. 3042 ) is amended by adding at the end the following: (d) Exception An officer discharged for twice failing selection for promotion to the next higher grade is not entitled to separation pay under this section if the officer— (1) expresses a desire not to be selected for promotion