Summary

Yosef Karo Translation:Shulchan Aruch — Orach Chaim 614…

A sick person is similar even if not in danger. The same applies to somebody who has an injured foot.
סעיף ג
החיה כל שלשים יום מותרת לנעול את הסנדל והחולה כיוצא בו אע"פ שאין בו סכנה וכן מי שיש לו מכה ברגליו:
614:4 Anybody is permitted to wear shoes to avoid scorpions or the like to avoid getting bitten if there are scorpions or other biting things around. Rem"a: If rain fell and somebody gots to get from their home to synagogue or vice versa and they are delicate, they are permitted to wear shoes until they arrive (Mahari"l) .
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature