In addition to any payment made pursuant to a rate set under §§ 28-6-28 to 28-6-36, inclusive, and notwithstanding any other provision of §§ 28-6-28 to 28-6-36, inclusive, the department shall pay to each publicly owned and operated nursing facility participating under the provisions of §§ 28-6-28 to 28-6-36, inclusive, an amount determined by:
(1) Dividing that facility's total medical assistance resident days for the fiscal period by the total medical assistance resident days of all publicly owned and operated nursing facilities participating under the provisions of §§ 28-6-28 to 28-6-36, inclusive, for the fiscal period; and(2) Multiplying a decimal fraction determined under subdivision (1), times the funding pool amount determined under § 28-6-29.