Lipp Bernard, Chirurgien général à Dole