; or (II) only if such aggregated data under subclause (I) is insufficient, aggregate up to 4 years of data of students who completed or were enrolled in, as applicable, similar programs at the institution (as determined using the first 4 digits of the CIP codes of such programs) and use such data to make such determinations. (ii) For purposes of this subparagraph, the term CIP code means the 6-digit taxonomic identification code assigned by an institution of higher education to a specific program of study at the institution, determined by the institution in accordance with the Classification of Instructional Programs published by the National Center for Education Statistics. (E) In this paragraph: (i) The term eligible institution of higher education means an institution of higher education (as defined in section 102) that— (I) is approved by an accrediting agency or association that meets the requirements of section 496(a)(4)(C); and (II) has not been subject, during any of the preceding 3 years, to— (aa) any suspension, emergency action, or termination under this title; (bb) any adverse action by the institution’s accrediting agency or association that revokes or denies accreditation for the institution; or (cc) any final action by the State where the institution holds its legal domicile, authorization, and accreditation that revokes a license or other authority to operate. (ii) The term median earnings , when used with respect to an eligible workforce program under this paragraph— (I) means the median annualized earnings, calculated using earnings for a pay period, month, quarter, or other time period deemed appropriate by the Secretary, of all students who received Federal financial assistance under this title and who completed the program in an academic year