The Secretary of State shall prescribe regulations under which any participant who has a life-threatening affliction or other critical medical condition may, at the time of retiring under this part (other than under
section 4048 of this title), elect annuity benefits under this section instead of any other benefits under this part (including survivor benefits) based on the service of the participant.