The resident officer of the hospital shall admit the managers into every part of the hospital and the premises and give them access on demand to all books, papers, accounts and records pertaining to the hospital and shall furnish copies, abstracts and reports whenever required by them. All hospitals established or maintained under the provisions of this article shall be subject to inspection by any duly authorized representative of the state department of social welfare, the state department of health, of the state charities aid association and of the board of supervisors of the county; and the resident officers shall admit such representatives into every part of the hospital and its buildings, and give them access on demand to all records, reports, books, papers and accounts pertaining to the hospital.