If a patient dies at the center and leaves funds, any indebtedness incurred by the patient for care at the center shall take precedence over any other claims. Funds may be disbursed by the center to satisfy the indebtedness and shall be disbursed in the following order:
(1) Any indebtedness incurred by the center prior to the patient's death for the benefit of the patient shall be paid by the center from the deceased patient's funds on deposit;(2) Any indebtedness incurred by the patient during the patient's stay at the center shall be paid out of these funds;(3) After the liabilities have been satisfied, any funds remaining shall be paid to the family if a valid estate has been established; and(4) If a valid estate has not been established, the funds shall be applied to any outstanding funeral bills upon receiving a valid itemization from the funeral home.Any liabilities paid pursuant to subdivision (1), (2), or (4) of this section shall be paid on a prorata basis if sufficient funds are not available to pay the entire amount within that subdivision.