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).
What is the ruling on performing dry ablution (tayammum) on a wall or stone?
One of the conditions for tayammum is that it be with pure, clean dust (soil). It is not valid to perform tayammum by striking stones, a wall, sand that has no dust (i.e., that does not produce dust), pebbles alone, or clay, as these are not from the earth or its same category. And Allah the Almighty knows best.
Is permissible to buy/sell with non-Muslim?
Yes buying/selling for a Muslim with non-Muslim is permissible as regards what is lawful.
Is it correct that everything dry is pure even if it has impurity on it?
If something impure becomes dry, it remains impure and is not purified by drying. However, the impurity does not transfer by touching it if the one touching it is also dry. And Allah the Almighty knows best.