Without laboratories, scans or modern clinical trials, how did earlier physicians build a body of medical knowledge?

Through observation, practice, teaching and texts within organised medical traditions whose historical importance is different from modern clinical validity.