The Magistrato alla Sanità (Magistracy of Health) had broad powers over everything public health related, which besides the lazzaretti, also included inns, prostitutes, pharmacies, doctors, rubbish collection, water supply etc.
The Republic of Venice changed continuously as conditions inside and outside of it changed, until it gradually found its final form in the 1300s and 1400s.