Complex sentence: Many of them had no prior medical training, and learned on the job through hard experience, while being exposed to the dangers of the battlefield.
Split into simpler sentences: Many of them had no prior medical training. They learned on the job through hard experience, while being exposed to the dangers of the battlefield.