An eyecare foundation model for clinical assistance