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 performing Umrah an obligation for who is capable. Is he accountable for not performing it in this case?
Umrah is an obligation once in a lifetime for every Muslim. When physical and financial ability is present, it is preferable to perform Umrah, as well as Hajj. If one can afford to perform Umrah but not Hajj, then they should begin with Umrah, especially since Hajj nowadays is not accessible to everyone who wishes to perform it. In contrast, Umrah is more open and easier to undertake. And Allah knows best.
Is the `Iddah (waiting period) of the divorced effective from the time the divorce took place, or from the time of registering it at the court?
It is considered effective from the very moment her divorce took place, but not from the time of registering it at the court. And Allah Knows Best.
Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah Knows Best.