treatment (a) Temporary transfer for medical treatment Notwithstanding section 1033 of the National Defense Authorization Act for Fiscal Year 2018 ( Public Law 115–91 ), as amended by section 1021 of this Act, or any similar provision of law enacted after September 30, 2015, the Secretary of Defense may, after consultation with the Secretary of Homeland Security, temporarily transfer an individual detained at Guantanamo to a Department of Defense medical facility in the United States for the sole purpose of providing the individual medical treatment if the Secretary of Defense determines that— (1) the medical treatment of the individual is necessary to prevent death or imminent significant injury or harm to the health of the individual