Address Conflict at the Start
Prison example: A doctor explains at the initial consultation that security concerns limit confidentiality and he must report information from the prisoner/patient about hidden weapons.
Private practice example: At the start of treatment a psychotherapist explains how insurance reporting may affect confidentiality and discusses options.