Each city shall, and each town may, and upon request of the department shall, establish and maintain constantly within its limits one or more hospitals for the reception of persons having smallpox, diphtheria, scarlet fever, or other diseases dangerous to the public health except tuberculosis as defined by the department unless there already exists therein a hospital satisfactory to the department