In sailing ship days who often acted as the ships doctor?

Question
In sailing ship days who often acted as the ships doctor?
Answer
Cook