Quality of pain
The answer is the type or quality of pain being felt.
The location, severity, onset, precipitating factors etc all can help medical personnel figure out whats going on. Sudden crushing chest pain
radiating to the jaw or down an arm is easily distinguishable from a sore rib that hurts when pushed.