Gay Jean-Marie, Médecin généraliste à Valdahon