Is it permissible for the doctor to uncover the hair of a female patient out of necessity?
It is only permissible for him to do so when there is no female doctor, and he should examine the patient in the presence of one of her Mahrams (unmarriageable kin).
Is it true that whatever is dry is pure even if there was impurity on it?
The impure material object does not soil (make impure) anything else unless the impurity is wet and transferable. But, if the impurity is dry or non-transferable, then there is no problem. Fuqaha has stated that: There is no disagreement between Muslim scholars that when a dry impurity touches something dry it does not make the latter impure.
My headcloth is causing me a terrible headache and severe shortsightedness. Is it permissible for me to take it off?
All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
If the headcloth Khimar is harmful, it is sufficient to wear the Niqab (face-veil). However, with the passage of time you will get used to the Khimar and these symptoms will go away. And Allah The Almighty Knows Best.
Does wiping over one's socks during ablution permissible?
If the socks were thick, then wiping over them during ablution is permissible so long as wiping conditions are observed. And Allah Knows Best.