A city having a population of 750,000 or more may create a city health department which shall be considered a local health department for purposes of this code, if the requirements of section 2422 to 2424 are met. If a city creates a health department, that department and its local governing entity shall have the powers and duties of a local health department or local governing entity as provided by this part.