The board of county commissioners of any county in which no county hospital has been established may establish one or more wards in any public or private hospital situated in the county, or any adjoining county for the use of the county under such regulations as may be agreed upon. For such purpose the board shall appropriate the necessary money from the general fund.
SDCL 34-8-23