Wow, what an interesting case.
First, having worked in a predominantly Muslim country for a year, I worked many a trauma where we respectfully exposed the female patient, did our assessment, and then covered her back (which I am sure is exactly what you did.) Never had an issue. In fact, being culturally sensitive as were were, we would always ask the eldest male relative or her husband out of respect, and not once did they refuse. They were relieved to see us, and wanted the life of their family member saved.
So yes, whoever pointed out that there is typically an exception made for necessary medical procedures is correct.
It sounds to me like this divorce may have been imminent anyway, and now there appears to be a way to make some money. I could be totally wrong, but it makes more sense than a completely loving husband being so repulsed by the fact that his wife's life was saved, however since she was exposed, he will have nothing to do with her. Long story short, in either case, she is better off without him, I know many Muslim men who are very respectful and caring of their spouses, but that is beside the point.
As for knowing her religion because of the media blitz about Muslim culture, the county attorney should have a field day defending that. In fact I bet the county attorney if foaming at the mouth to attack this case, as it has so many ludicrous and outrageous aspects it just seems to easy, you know?
Also, as far as the Jehovah's Witness' are concerned, we run quite a few neonatal transfers that require blood products for these patients. What I found interesting (I never knew this) was that the church, at least the ones we dealt with, had a process to contact the physician and hospital's legal department in order to ASSIST in getting a court order for the blood to be administered. So in essence, they refused to adhere to their religious beliefs, and then informed the physician and hospital how to get around it to administer the patient blood products.