Records of the identity, diagnosis, prognosis, or treatment of any patient which are maintained in connection with the performance of any program or activity relating to substance use disorder education, prevention, training, treatment, rehabilitation, or research, which is conducted, regulated, or directly or indirectly assisted by any department or agency of the United States shall, except as provided in subsection (e), be confidential and be disclosed only for the purposes and under the circumstances expressly authorized under subsection (b). Such contents may be used or disclosed in accordance with the prior written consent of the patient with respect to whom such record is maintained. Once prior written consent of the patient has been obtained, such contents may be used or disclosed by a covered entity, business associate, or a program subject to this section for purposes of treatment, payment, and health care operations as permitted by the HIPAA regulations. Any information so disclosed may then be redisclosed in accordance with the HIPAA regulations. Section 17935(c) of this title shall apply to all disclosures pursuant to subsection (b)(1) of this section. It shall be permissible for a patient’s prior written consent to be given once for all such future uses or disclosures for purposes of treatment, payment, and health care operations, until such time as the patient revokes such consent in writing. Section 17935(a) of this title shall apply to all disclosures pursuant to subsection (b)(1) of this section. To medical personnel to the extent necessary to meet a bona fide medical emergency. To qualified personnel for the purpose of conducting scientific research, management audits, financial audits, or program evaluation, but such personnel may not identify, directly or indirectly, any individual patient in any report of such research, audit, or evaluation, or otherwise disclose patient identities in any manner. If authorized by an appropriate order of a court of competent jurisdiction granted after application showing good cause therefor, including the need to avert a substantial risk of death or serious bodily harm. In assessing good cause the court shall weigh the public interest and the need for disclosure against the injury to the patient, to the physician-patient relationship, and to the treatment services. Upon the granting of such order, the court, in determining the extent to which any disclosure of all or any part of any record is necessary, shall impose appropriate safeguards against unauthorized disclosure. To a public health authority, so long as such content meets the standards established in section 164.514(b) of title 45, Code of Federal Regulations (or successor regulations) for creating de-identified information. Such record or testimony shall not be entered into evidence in any criminal prosecution or civil action before a Federal or State court. Such record or testimony shall not form part of the record for decision or otherwise be taken into account in any proceeding before a Federal, State, or local agency. Such record or testimony shall not be used by any Federal, State, or local agency for a law enforcement purpose or to conduct any law enforcement investigation. Such record or testimony shall not be used in any application for a warrant. The prohibitions of this section continue to apply to records concerning any individual who has been a patient, irrespective of whether or when such individual ceases to be a patient. within the Uniformed Services or within those components of the Department of Veterans Affairs furnishing health care to veterans; or between such components and the Uniformed Services. the reference to “this subsection” in subsection (a)(2) of such section 1176 shall be treated as a reference to “this subsection (including as applied pursuant to section 290dd–2(f) of this title)”; and each reference to “a penalty imposed under subsection (a)” shall be treated as a reference to “a penalty imposed under subsection (a) (including as applied pursuant to section 290dd–2(f) of this title)”; and each reference to “no damages obtained under subsection (d)” shall be treated as a reference to “no damages obtained under subsection (d) (including as applied pursuant to section 290dd–2(f) of this title)”. Except as provided in subsection (h), the Secretary shall prescribe regulations to carry out the purposes of this section. Such regulations may contain such definitions, and may provide for such safeguards and procedures, including procedures and criteria for the issuance and scope of orders under subsection (b)(2)(C), as in the judgment of the Secretary are necessary or proper to effectuate the purposes of this section, to prevent circumvention or evasion thereof, or to facilitate compliance therewith. The Secretary of Veterans Affairs, acting through the Under Secretary for Health, shall, to the maximum feasible extent consistent with their responsibilities under title 38, prescribe regulations making applicable the regulations prescribed by the Secretary of Health and Human Services under subsection (g) to records maintained in connection with the provision of hospital care, nursing home care, domiciliary care, and medical services under such title 38 to veterans suffering from substance use disorder. In prescribing and implementing regulations pursuant to this subsection, the Secretary of Veterans Affairs shall, from time to time, consult with the Secretary of Health and Human Services in order to achieve the maximum possible coordination of the regulations, and the implementation thereof, which they each prescribe. admission, access to, or treatment for health care; hiring, firing, or terms of employment, or receipt of worker’s compensation; the sale, rental, or continued rental of housing; access to Federal, State, or local courts; or access to, approval of, or maintenance of social services and benefits provided or funded by Federal, State, or local governments. No recipient of Federal funds shall discriminate against an individual on the basis of information received by such recipient pursuant to an intentional or inadvertent disclosure of such records or information contained in records described in subsection (a) in affording access to the services provided with such funds. The provisions of section 17932 of this title shall apply to a program or activity described in subsection (a), in case of a breach of records described in subsection (a), to the same extent and in the same manner as such provisions apply to a covered entity in the case of a breach of unsecured protected health information. The term “breach” has the meaning given such term for purposes of the HIPAA regulations. The term “business associate” has the meaning given such term for purposes of the HIPAA regulations. The term “covered entity” has the meaning given such term for purposes of the HIPAA regulations. The term “health care operations” has the meaning given such term for purposes of the HIPAA regulations. The term “HIPAA regulations” has the meaning given such term for purposes of parts 160 and 164 of title 45, Code of Federal Regulations. The term “payment” has the meaning given such term for purposes of the HIPAA regulations. The term “public health authority” has the meaning given such term for purposes of the HIPAA regulations. The term “treatment” has the meaning given such term for purposes of the HIPAA regulations. The term “unprotected 11 So in original. health information” has the meaning given such term for purposes of the HIPAA regulations. The Secretary of Health and Human Services, in consultation with appropriate Federal agencies, shall make such revisions to regulations as may be necessary for implementing and enforcing the amendments made by this section [amending this section], such that such amendments shall apply with respect to uses and disclosures of information occurring on or after the date that is 12 months after the date of enactment of this Act [Mar. 27, 2020]. a statement of the patient’s rights, including self-pay patients, with respect to protected health information and a brief description of how the individual may exercise these rights (as required by subsection (b)(1)(iv) of such section 164.520); and a description of each purpose for which the covered entity is permitted or required to use or disclose protected health information without the patient’s written authorization (as required by subsection (b)(2) of such section 164.520).” a patient’s right, as described in section 164.522 of title 45, Code of Federal Regulations, or any successor regulation, to request a restriction on the use or disclosure of a record referred to in section 543(a) of the Public Health Service Act (42 U.S.C. 290dd–2(a)) for purposes of treatment, payment, or health care operations; or a covered entity’s choice, as described in section 164.506 of title 45, Code of Federal Regulations, or any successor regulation, to obtain the consent of the individual to use or disclose a record referred to in such section 543(a) to carry out treatment, payment, or health care operation.” the circumstances under which information that a patient has provided to a health care provider regarding such patient’s history of opioid use disorder should, only at the patient’s request, be prominently displayed in the medical records (including electronic health records) of such patient; what constitutes the patient’s request for the purpose described in subparagraph (A); and the process and methods by which the information should be so displayed. The Secretary shall disseminate the best practices developed under paragraph (1) to health care providers and State agencies. The potential for addiction relapse or overdose, including overdose death, when opioid medications are prescribed to a patient recovering from opioid use disorder. The benefits of displaying information about a patient’s opioid use disorder history in a manner similar to other potentially lethal medical concerns, including drug allergies and contraindications. The importance of prominently displaying information about a patient’s opioid use disorder when a physician or medical professional is prescribing medication, including methods for avoiding alert fatigue in providers. The importance of a variety of appropriate medical professionals, including physicians, nurses, and pharmacists, having access to information described in this section when prescribing or dispensing opioid medication, consistent with Federal and State laws and regulations. The importance of protecting patient privacy, including the requirements related to consent for disclosure of substance use disorder information under all applicable laws and regulations. All applicable Federal and State laws and regulations. The Secretary of Health and Human Services shall annually notify health care providers regarding permitted disclosures under Federal health care privacy law during emergencies, including overdoses, of certain health information to families, caregivers, and health care providers. For the purposes of carrying out subsection (a), the Secretary of Health and Human Services may use material produced under section 7053 of this Act or section 11004 of the 21st Century Cures Act (42 U.S.C. 1320d–2 note). Model programs and materials for training health care providers (including physicians, emergency medical personnel, psychiatrists, psychologists, counselors, therapists, nurse practitioners, physician assistants, behavioral health facilities and clinics, care managers, and hospitals, including individuals such as general counsels or regulatory compliance staff who are responsible for establishing provider privacy policies) concerning the permitted uses and disclosures, consistent with the standards and regulations governing the privacy and security of substance use disorder patient records promulgated by the Secretary under section 543 of the Public Health Service Act (42 U.S.C. 290dd–2) for the confidentiality of patient records. Model programs and materials for training patients and their families regarding their rights to protect and obtain information under the standards and regulations described in paragraph (1). facilitate communication between substance use disorder treatment providers and other health care providers to promote and provide the best possible integrated care; avoid inappropriate prescribing that can lead to dangerous drug interactions, overdose, or relapse; and notify and involve families and caregivers when individuals experience an overdose. periodically review and update the model program and materials identified or developed under subsection (a); and disseminate such updated programs and materials to the individuals described in subsection (a)(1). In identifying, reviewing, or updating the model programs and materials under this section, the Secretary shall solicit the input of relevant stakeholders.” The following shall apply with respect to the contents of any record referred to in subsection (a): Whether or not the patient, with respect to whom any given record referred to in subsection (a) is maintained, gives written consent, the content of such record may be disclosed as follows: Except as otherwise authorized by a court order under subsection (b)(2)(C) or by the consent of the patient, a record referred to in subsection (a), or testimony relaying the information contained therein, may not be disclosed or used in any civil, criminal, administrative, or legislative proceedings conducted by any Federal, State, or local authority, against a patient, including with respect to the following activities: The prohibitions of this section do not apply to any interchange of records— The provisions of sections 1176 and 1177 of the Social Security Act [42 U.S.C. 1320d–5, 1320d–6] shall apply to a violation of this section to the extent and in the same manner as such provisions apply to a violation of part C of title XI of such Act [42 U.S.C. 1320d et seq.]. In applying the previous sentence— in subsection (b) of such section 1176— No entity shall discriminate against an individual on the basis of information received by such entity pursuant to an inadvertent or intentional disclosure of records, or information contained in records, described in subsection (a) in— For purposes of this section: Not later than 1 year after the date of enactment of this Act, the Secretary of Health and Human Services, in consultation with appropriate legal, clinical, privacy, and civil rights experts, shall update section 164.520 of title 45, Code of Federal Regulations, so that covered entities and entities creating or maintaining the records described in subsection (a) provide notice, written in plain language, of privacy practices regarding patient records referred to in section 543(a) of the Public Health Service Act (42 U.S.C. 290dd–2(a)), including— Not later than 1 year after the date of enactment of this Act [Oct. 24, 2018], the Secretary of Health and Human Services (in this section referred to as the ‘Secretary’), in consultation with appropriate stakeholders, including a patient with a history of opioid use disorder, an expert in electronic health records, an expert in the confidentiality of patient health information and records, and a health care provider, shall identify or facilitate the development of best practices regarding— In identifying or facilitating the development of best practices under subsection (a), as applicable, the Secretary, in consultation with appropriate stakeholders, shall consider the following: Not later than 1 year after the date of the enactment of this Act [Oct. 24, 2018], the Secretary of Health and Human Services (in this section referred to as the ‘Secretary’), in consultation with appropriate experts, shall identify the following model programs and materials (or if no such programs or materials exist, recognize private or public entities to develop and disseminate such programs and materials): The model programs and materials described in paragraphs (1) and (2) of subsection (a) shall address circumstances under which disclosure of substance use disorder patient records is needed to— The Secretary shall— (Source: (July 1, 1944, ch. 373, title V, § 543, formerly Pub. L. 91–616, title III, § 321, Dec. 31, 1970, 84 Stat. 1852, as amended Pub. L. 93–282, title I, § 121(a), May 14, 1974, 88 Stat. 130; Pub. L. 94–371, § 11(a), (b), July 26, 1976, 90 Stat. 1041; Pub. L. 94–581, title I, § 111(c)(1), Oct. 21, 1976, 90 Stat. 2852; renumbered § 522 of act July 1, 1944, and amended Pub. L. 98–24, § 2(b)(13), Apr. 26, 1983, 97 Stat. 181; renumbered § 543, Pub. L. 100–77, title VI, § 611(2), July 22, 1987, 101 Stat. 516; Pub. L. 102–321, title I, § 131, July 10, 1992, 106 Stat. 368; Pub. L. 102–405, title III, § 302(e)(1), Oct. 9, 1992, 106 Stat. 1985; Pub. L. 105–392, title IV, § 402(c), Nov. 13, 1998, 112 Stat. 3588; Pub. L. 116–136, div. A, title III, § 3221(a)–(h), Mar. 27, 2020, 134 Stat. 375–378.))