In the event of the death of hospitalized patient by any cause, the State Department of Mental Health, the physician in charge of the patient, or person in charge of the facility, shall release information acquired while providing services to the patient under Division 5, 6, or 7 to the coroner unless such disclosure is prohibited under this section. Information about the personal life of the patient that is unrelated to the diagnosis and treatment of the patient's physical condition shall not be released. Any information released to the coroner shall not become part of the public record.