The board of commissioners may, in townships having a population of two thousand inhabitants or more, appropriate money for the support of any incorporated hospital that is engaged in charitable work and extends treatment and medical attention to the residents of the township.
53 P.S. § 56579.22