The board of county commissioners in any county in this state may establish and maintain or lease to be maintained a county hospital for the care and treatment of county charges, and such other persons as may apply for admission to such hospital. In this chapter, the term "hospital" may be construed to mean a hospital, a medical facility and its equipment, a nursing facility or a home for the aged, or any building used or to be used for any two or more of these purposes.
SDCL 34-8-1