; to (II) the number of applicable discharges occurring among (or, in the case of the performance category described in paragraph (5)(D), the total amount of standardized post acute care episode expenditures made with respect to) all applicable hospitals in such group for such applicable data collection period and risk category; (iii) treat each reference in this paragraph to the ratio determined under subparagraph (A) for a period and risk category as a reference to the ratio determined under clause (ii) for a group, period, and risk category