; and (II) if the termination occurs on or after January 30 of a plan year, as of the day after the end of the succeeding plan year. (iii) Effectiveness of termination Any termination under this subparagraph shall not affect discounts for applicable drugs of the manufacturer that are due under the agreement before the effective date of its termination. (iv) Notice to third party The Secretary shall provide notice of such termination to a third party with a contract under subsection (d)(3) within not less than 30 days before the effective date of such termination. (c) Duties described The duties described in this subsection are the following: (1) Administration of program Administering the program, including— (A) the determination of the amount of the discounted price of an applicable drug of a manufacturer; (B) the establishment of procedures under which discounted prices are provided to applicable beneficiaries at pharmacies or by mail order service at the point-of-sale of an applicable drug; (C) the establishment of procedures to ensure that, not later than the applicable number of calendar days after the dispensing of an applicable drug by a pharmacy or mail order service, the pharmacy or mail order service is reimbursed for an amount equal to the difference between— (i) the negotiated price of the applicable drug; and (ii) the discounted price of the applicable drug; (D) the establishment of procedures to ensure that the discounted price for an applicable drug under this section is applied before any coverage or financial assistance under other health benefit plans or programs that provide coverage or financial assistance for the purchase or provision of prescription drug coverage on behalf of applicable beneficiaries as the Secretary may specify