Very early episode
Kirk, spock and Bones are escorting a blind damsel over rough terrain. Jim chastises Bones when the lady slips and bones retorts "Dammit Jim, I'm a doctor not an escalator". I don't know the name of the episode but it was an early episode.
Keep Up with TechRepublic