The termination of a coverage period under paragraph (1) shall (except as otherwise provided in section
1395v
(e) of this title) take effect at the close of the month following the month in which the notice is filed. The termination of a coverage period under paragraph (2) shall take effect on a date determined under regulations, which may be determined so as to provide a grace period in which overdue premiums may be paid and coverage continued. The grace period determined under the preceding sentence shall not exceed 90 days; except that it may be extended to not to exceed 180 days in any case where the Secretary determines that there was good cause for failure to pay the overdue premiums within such 90-day period.
Where an individual who is deemed to have enrolled for medical insurance pursuant to section
1395p
(f) of this title files a notice before the first day of the month in which his coverage period begins advising that he does not wish to be so enrolled, the termination of the coverage period resulting from such deemed enrollment shall take effect with the first day of the month the coverage would have been effective. Where an individual who is deemed enrolled for medical insurance benefits pursuant to section
1395p
(f) of this title files a notice requesting termination of his deemed coverage in or after the month in which such coverage becomes effective, the termination of such coverage shall take effect at the close of the month following the month in which the notice is filed.