; and (3) $1,000,000 for each of fiscal years 2022 and 2023. . (e) Residential treatment programs for pregnant and postpartum women Section 508(s) of the Public Health Service Act ( 42 U.S.C. 290bb–1(s) ) is amended by striking the first sentence and inserting the following: To carry out this section, there is authorized to be appropriated, and there is appropriated, out of any monies in the Treasury not otherwise appropriated, $29,931,000 for each of fiscal years 2020 through 2023. . (f) Prenatal and postnatal health Section 317L(d) of the Public Health Service Act ( 42 U.S.C. 247b–13(d) ) is amended to read as follows: (d) Appropriations To carry out this section, there is authorized to be appropriated, and there is appropriated, out of any monies in the Treasury not otherwise appropriated, such sums as may be necessary for each of fiscal years 2020 through 2023. . (g) Program for education and training in pain care Section 759(e) of the Public Health Service Act ( 42 U.S.C. 294i(e) ) is amended to read as follows: (e) Appropriations To carry out this section, there is authorized to be appropriated, and there is appropriated, out of any monies in the Treasury not otherwise appropriated, such sums as may be necessary for each of fiscal years 2020 through 2023. Amounts appropriated under this subsection shall remain available until expended. . (h) Mental and behavioral health education and training grants Section 756(f) of the Public Health Service Act ( 42 U.S.C. 294e–1(f) ) is amended to read as follows: (f) Appropriations To carry out this section, there is authorized to be appropriated, and there is appropriated, out of any monies in the Treasury not otherwise appropriated, $50,000,000 for each of fiscal years 2020 through 2023. . (i) Coordination and continuation of care for drug overdose patients Section 7081(f) of the Substance Use-Disorder Prevention that Promotes Opioid Recovery and Treatment for Patients and Communities Act ( Public Law 115–271 ) is amended to read as follows: (f) Appropriations To