; or (B) a drug product that meets each of the following conditions: (i) At the time of compounding, distribution, or dispensing, the drug product appears on— (I) the drug shortage list in effect under section 506E; or (II) the drug shortage list maintained by the American Society of Hospital Pharmacists. (ii) If the drug product is not compounded for an identified individual patient based on a valid prescription order or notation, notwithstanding such requirement in the matter preceding paragraph (1) of subsection (a), then the drug product— (I) is labeled in accordance subparagraphs (B) and (C) of subsection (a)(3); and (II) is documented by the compounding pharmacist or physician in accordance with subparagraphs (D) and (E) of subsection (a)(3). .