I noticed something interesting when watching a clip of the storming of Omaha Beach from the movie Saving Private Ryan. During the clip, three combat medics were frantically attempting to patch up a fellow wounded soldier in the middle of all the mayhem that was D-Day. What I noticed was that the three combat medics did not seem to pay any attention to the gunfire around them, and made no attempt to shield themselves from the frontlines of the German machine-guns. What I took from that was, either the medics were being very ballsy while trying to save their mate, or for some reason they knew that they did not have to worry so much about being targeted by the Germans. Now I know this is from a movie and the placement and behavior of the medics were probably directed for a certain cinematic effect, but this made me wonder if medical personnel were really treated differently compared to typical combat personnel when it comes to the use of deadly force. During WWII were there ever any written or unwritten agreements of non-lethality against military personnel who served a purely medical function and who presented no kind of threat to the enemy?
Edit: I've included the post that I found the clip from in case anyone was interested.
More of course can be said, but this older answer might be of interest