Most medical incidents are recorded, many of them in multiple different formats. Your use of the term "TV people" is rather informative. Then again, you 'software people' are typically pretty obtuse when it comes to subjects outside of your collective and therefore indistinguishable command.
Even so, I don't see any way for the doctor to avoid being sued. But I really doubt he had much influence on the show.
It's obvious in this case that the show wasn't able to get permission from the family (and, given that the family was surprised; the show wasn't able to contact the family), so they blurred the guy's face and thought that made him unidentifiable. I don't believe the doctor had any influence on that decision.
Okay, think about that. Just the thought of making critically injured people or their families deal with that (are they confronted by a release form? do they even get a choice, or do they have to go to a different ER if they want to receive treatment with some privacy? WTF?) is completely disgusting. The whole thing is trash that no medical professional should be involved in at all.
In any case, it doesn't take an enormous amount of moral courage to say "there is no possible way this person or his family has consented to being filmed so I'm taking the microphone off and you are taking your cameras out of the room."
I'm sure a resident might have reasons to be intimidated. I'm sure there was also an attending physician.
classicsnoot mentions that the doctor "physically did everything he could to help their dead relative" but that very obviously didn't include helping to preserve his patient's dignity by keeping a camera crew away from him.
What a nightmare. I'm still slightly in awe that a hospital would put their patients through this. That TV people would put someone through it is, of course, not shocking at all...