Government Code § 37620
ARTICLE 7. Hospitals Managed by Board of Hospital Trustees
If payment into the fund is inconsistent with the conditions of any gift, devise, or bequest, the board shall provide for the preservation of the money, and its application to the use of the hospital, pursuant to such conditions.