Suppose shaving is medically necessary for a pilgrim and the circumstance is recognized as a valid excuse. Al-Quduri provides three choices: a sheep, three saʿs of food distributed among six needy persons, or three days of fasting.
This demonstrates the significance of fa-huwa mukhayyarun. Whether a particular medical need qualifies, and whether further rulings apply in an actual case, needs separate assessment.