; and (2) is— (A) in the custody or under the control of the Department of Defense; or (B) otherwise detained at United States Naval Station, Guantanamo Bay. (i) Applicability This section shall apply to an individual temporarily transferred under the authority in subsection (a) regardless of the status of any pending or completed proceeding or detention on the date of the enactment of this Act. 1026. Chief Medical Officer at United States Naval Station, Guantanamo Bay, Cuba (a) Chief Medical Officer (1) In general There shall be at United States Naval Station, Guantanamo Bay, Cuba, a Chief Medical Officer of United States Naval Station, Guantanamo Bay (in this section referred to as the Chief Medical Officer ). (2) Grade The individual serving as Chief Medical Officer shall be an officer of the Armed Forces who holds a grade not below the grade of colonel, or captain in the Navy. (3) Chain of command The Chief Medical Officer shall report to the Assistant Secretary of Defense for Health Affairs in the performance of duties and the exercise of powers of the Chief Medical Officer under this section. (b) Duties (1) In general The Chief Medical Officer shall oversee the provision of medical care to individuals detained at Guantanamo. (2) Quality of care The Chief Medical Officer shall ensure that medical care provided as described in paragraph (1) meets applicable standards of care. (c) Powers (1) In general The Chief Medical Officer shall make medical determinations relating to medical care for individuals detained at Guantanamo, including— (A) decisions regarding assessment, diagnosis, and treatment