yo na veti gunaagunam
na sa veti bhishak samyak

A doctor, who does not know good and bad effects of medicines, food, and routine activities, does not know what could be good and what could be bad for health

That is, a doctor to effectively treat a patient should not only be familiar with medicines but also with other aspects like food and regimen which have impact on health