There is no morally compelling reason to distinguish a doctor from a tank driver on the battlefield except for the fact that both sides agree to protect medical personnel.
This article sketches the history of medical volunteerism in Africa from the early religious and colonial medical programs through current humanitarian programs, assessing the role of student volunteerism as well.
While physicians always had the duty to treat indigent patients, the growing financial pressures of limited resources and limited state support have lead to the current guidelines in the AMA's Code of Medical Ethics on caring for the poor.