No, it's not a full defense, but it is a mitigating factor in assessing the degree of culpability and severity of punishment. Beyond that though, if the hospital did not instruct the OP in privacy, they are likely to be more lenient and not terminate...