the replies that Steve and I had made pertained to using our own pills to treat ourselves.

As for giving pills to others, if I (a physician) encountered a seriously injured person on the mountain and I was carrying my usual supply of antibiotics, Diamox, pain pills, and others, I could offer them. All it takes is a history (listen to the patient) and limited physical exam to make it legal in an emergency not done "legally" in the office. Greater need of the injured person overrides other concerns. I would think any good samaritan clause would allow that. There are plenty of prescribing situations back at sea level that do not begin to meet this standard. Think internet prescribing, for example.