Law and ethics require doctors to keep their patients’ files confidential unless under emergency conditions. The exemptions to confidentiality include where your health or someone else’s is compromised, the information will be helpful, or the information will prevent a threat to public safety.