It has been the custom of removing wounded soldiers from the battlefield and caring for them since ancient times. They were taken to temporary shelters and given what care was customary for that time period.