; or (v) an emergency medical services worker who responds to health emergencies or transports patients to hospitals or other medical facilities; or (B) does not meet the requirements of any of the clauses under subparagraph (A) , but is a health care professional who is licensed, registered, or certified under Federal or State law to provide health care and has made significant contributions to the medical response to the qualifying emergency. (2) Applicable loans For the purposes of this Act, the term applicable , when used with respect to an eligible Federal student loan or an eligible private student loan, means— (A) in the case of a frontline health care worker who has obtained a graduate education degree or certificate— (i) any eligible Federal student loan for the graduate education of such worker (including a consolidation loan, to the extent that such consolidation loan was used to repay loans for graduate education); and (ii) any eligible private student loan for the graduate education of such worker; or (B) in the case of a frontline health care worker who has not obtained a graduate education degree or certificate— (i) any eligible Federal student loan for the undergraduate education of such worker (including a consolidation loan, to the extent that such consolidation loan was used to repay loans for undergraduate education), provided that such loan was used for undergraduate education in a relevant health care program of study that is necessary for an individual to enter or advance within the specific health care-related occupation of the worker