in time of war; on detail for duty with the Army, Navy, Air Force, Marine Corps, or Coast Guard; or while the Service is part of the military forces of the United States pursuant to Executive order of the President; The President may prescribe the conditions under which commissioned officers of the Service may be awarded military ribbons, medals, and decorations. The authority vested by law in the Department of the Army, the Secretary of the Army, or other officers of the Department of the Army with respect to rights, privileges, immunities, and benefits referred to in subsection (a) shall be exercised, with respect to commissioned officers of the Service, by the Surgeon General. Active service of commissioned officers of the Service shall be deemed to be active military service in the Armed Forces of the United States for the purposes of all laws administered by the Secretary of Veterans Affairs (except the Servicemen’s Indemnity Act of 1951) and section 417 of this title. Active service of commissioned officers of the Service shall be deemed to be active military service in the Armed Forces of the United States for the purposes of all rights, privileges, immunities, and benefits now or hereafter provided under the Servicemembers Civil Relief Act (50 App. U.S.C. 501 et seq.) [now 50 U.S.C. 3901 et seq.]. Active service of commissioned officers of the Service shall be deemed to be active military service in the Armed Forces of the United States for purposes of all laws related to discrimination on the basis of race, color, sex, ethnicity, age, religion, and disability. who performed active service (i) as a commissioned officer of the Public Health Service at any time during the period beginning July 4, 1952, and ending December 31, 1956, or (ii) as a commissioned officer of the Coast and Geodetic Survey at any time during the period beginning July 29, 1945, and ending December 31, 1956; and who became entitled to old-age insurance benefits under section 202(a) of the Social Security Act [42 U.S.C. 402(a)] prior to January 1, 1957, or who died prior to January 1, 1957, and whose widow, child, or parent is entitled for the month of January 1957, on the basis of his wages and self-employment income, to a monthly survivor’s benefit under section 202 of such act [42 U.S.C. 402]; and any part of whose service described in subparagraph (A) was not included in the computation of his primary insurance amount under section 215 of such act [42 U.S.C. 415] but would have been included in such computation if the amendment made by paragraph (1) of this subsection or paragraph (1) of subsection (d) had been effective prior to the date of such computation, Except as provided in subsection (b), commissioned officers of the Service and their surviving beneficiaries shall, with respect to active service performed by such officers— “In the case of any individual— (Source: (July 1, 1944, ch. 373, title II, § 212, 58 Stat. 689; July 15, 1954, ch. 507, § 14(a), 68 Stat. 481; Aug. 1, 1956, ch. 837, title V, § 501(b)(1), 70 Stat. 881; Pub. L. 94–278, title XI, § 1101, Apr. 22, 1976, 90 Stat. 415; Pub. L. 102–54, § 13(q)(1)(C), June 13, 1991, 105 Stat. 278; Pub. L. 105–392, title IV, § 402(a), Nov. 13, 1998, 112 Stat. 3587; Pub. L. 108–189, § 2(e), Dec. 19, 2003, 117 Stat. 2866.))