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).
How are those killed in wars punished with the torment of the grave if they are not buried?
The torment of the grave refers to the suffering that the deceased experiences between the day of their death and the Day of Resurrection, which is called the Barzakh period. Similarly, it includes the blessings of the grave, whether the deceased is buried or not. And Allah The Almighty Knows Best
A man break his fast once during Ramadan and he already have an expiation of fasting for two consecutive months. He fasted for a month and passed away. Is it permissible for his sons to fast the remaining month equally?
Fasting for expiation must be performed consecutively. I advise his children to feed sixty poor people, giving each one half a kilogram of rice or its monetary equivalent. This is because if a living person is unable to fast, they are required to feed sixty poor people, and death constitutes an inability. And Allah The Almighty Knows Best.
Is it permissible for a woman to visit the doctor while in her `Iddah (waiting period)?
It is permissible for her to do that during day time, but it is impermissible for her to leave her house at night except for a sound reason. And Allah Knows Best.