Girardot Masson (SCM), Médecin généraliste à Valdoie