Updated for 2026. Behavioral-health integrations now commonly include an AI-summarization or AI-coding hop, and that hop is often off-BAA. Pair this guide with our HIPAA AI architecture reference implementation and telehealth compliance architecture for HIPAA and state prescribing before assuming the EHR vendor's BAA covers the AI layer. Revised November 15, 2026 to add the CMS prior authorization rule (CMS-0057-F).
The integration surface is the compliance surface
When a multi-site behavioral health provider, a community mental-health center, or a substance-use treatment network starts a compliance review, the conversation almost always opens with a version of the same sentence: "Our EHR vendor told us they're fully HIPAA-compliant and Part-2-aware." It can come from a CIO who recently signed Netsmart, a CCO evaluating Qualifacts, or a COO in the middle of a Valant migration. It is almost never wrong. It is almost always beside the point.
The EHR vendor's compliance posture covers the EHR. The HHS Office for Civil Rights, which has enforced Part 2 as well as HIPAA since the Secretary delegated that authority in August 2025, does not stop at the EHR. It follows the data, to the clearinghouse that submits the claim, to the prior-authorization portal the case manager uses, to the lab that processes a urine drug screen, to the HIE feed that pushes a discharge summary to a physical-health partner. At every one of those boundaries, a consent decision was made, or, more commonly, was assumed away, and at every one of those boundaries the audit has a question to ask.
The exposure for behavioral health providers follows a consistent pattern. The orgs most at risk are not the ones that picked the wrong EHR. They are the ones that picked a credible EHR with the right BAA, scoped their compliance program to that EHR, and then watched PHI travel through five integrations that the program never looked at. The integration with the clearinghouse retains diagnoses on a system the EHR vendor doesn't control. The integration with the eligibility-check service caches member data for ninety days. The lab interface logs the full HL7 message body to a non-BAA observability stack. None of those gaps are EHR gaps. All of them are findings.
The integration surface is the compliance surface because the integration surface is where consent posture either survives or dies. Inside the EHR, a Part-2 patient's chart carries a flag that gates redisclosure. Outside the EHR, in the 837P claim, in the 270/271 eligibility round-trip, in the C-CDA summary, that flag is either preserved by deliberate engineering or quietly stripped by default integration behavior. Most behavioral health orgs have not asked the question. The audit will ask it for them.
This field guide is for the CIO, CCO, or COO at a 50-to-500-employee behavioral health organization who is responsible for the answer. It walks through what 42 CFR Part 2 actually requires after the 2024 amendments, the six failure modes most common in BH integrations, where to start with the major EHR platforms on Part 2, what the billing-clearinghouse contract has to say, where AI fits and where it does not, and how the 21-day Diagnostic runs when it is scoped to the EHR-to-billing integration. The close is three actions any BH CIO can take this month.
42 CFR Part 2 in plain English, for a CIO
Part 2 is the federal rule that governs records of patients treated for substance-use disorders by federally-assisted programs. It sits beside HIPAA, not inside it. For a CIO who is fluent in HIPAA, the most useful framing is: Part 2 is HIPAA with a tighter consent rule, a narrower redisclosure rule, and a specific audit-trail expectation that HIPAA on its own does not require.
Three things matter for the architecture decisions a CIO has to make.
First, the consent rule. Under HIPAA, treatment, payment, and operations (TPO) generally do not require patient authorization for PHI to move between covered entities. Under Part 2, even routine TPO disclosures of substance-use treatment records have historically required specific written patient consent. The 2024 amendments aligned Part 2 with HIPAA in a meaningful way: a single patient consent can now cover all future TPO disclosures, rather than requiring a fresh consent for each one. Architecturally it changes very little. The org still has to capture the consent, attach it to the right record, propagate the consent state to every downstream system that touches the record, and demonstrate at audit that every disclosure either had an active consent or fell into a narrow exception (medical emergency, court order, audit/evaluation, qualified service organization). The consent token has to travel. It usually doesn't.
Second, the redisclosure rule. A Part 2 record that leaves the program carries limits on redisclosure with it. Since the 2024 amendments, a covered entity or business associate that receives the record under a treatment, payment, and operations consent may redisclose it as HIPAA allows, except for use in proceedings against the patient (42 CFR 2.33(b)). Other recipients remain bound by the terms of the consent. The mechanism is the notice that has to accompany every disclosure made with consent, in a long form or a one-sentence form, together with a copy of the consent or a clear explanation of its scope (42 CFR 2.32). If the EHR sends a C-CDA to a primary-care partner via an HIE and the C-CDA does not carry the notice, the disclosure is non-compliant on its face. HIE feed configurations at BH providers often strip the notice somewhere in the pipeline because the interface engine flattens metadata it doesn't recognize.
Third, the audit trail, and the two-disclosure test we use for it. Part 2 gives the patient a right to an accounting of disclosures made with consent in the three years before the request (42 CFR 2.25). The 2024 final rule tolled the compliance date for that section until HHS revises the matching HIPAA accounting provision, so confirm with counsel whether it is in force yet; the log has to exist before the right can be honored either way. The working test is to pick two disclosures at random from the prior twelve months and produce: who initiated the disclosure, what consent or exception authorized it, what specifically was disclosed, who received it, and what redisclosure notice accompanied it. The program that can produce that record in under an hour is in good shape. The program that needs three days to reconstruct it from EHR audit logs, clearinghouse reports, and HIE delivery receipts has a gap a reviewer will find, even if the underlying disclosure was lawful.
The 2024 amendments also strengthened patient rights, introduced Part-2-specific breach notification aligned to HIPAA's, and clarified that violations can now carry HIPAA-equivalent civil and criminal penalties, under the same Social Security Act provisions that apply to HIPAA (42 CFR 2.3). The financial stakes are no longer hypothetical. A Part 2 finding used to feel like a corrective-action plan. After the amendments, it feels like a HIPAA settlement.
For the architecture, three implications follow. The consent state must be a first-class data element in every system that handles substance-use records, not a flag inside the EHR alone. The redisclosure notice must travel on every outbound channel, not selectively. And the disclosure-accounting log must be queryable across the EHR, the clearinghouse, the HIE feed, and the lab interface, not reconstructable only after a regulator asks. None of those are EHR-vendor decisions. All of them are integration decisions.
The six common failure modes in behavioral health integrations
Six failure modes recur in BH integrations. Each is written below as an illustrative scenario, not a specific case. None of them sit inside the EHR. All of them sit at an integration boundary the org's compliance program had not scoped.
Failure mode 1: PHI in clearinghouse logs and SFTP archives. A multi-state outpatient SUD provider routed claims through a national clearinghouse under a standard BAA. The clearinghouse retained 837P submission files in an SFTP archive for seven years, including F-series ICD-10 codes. The provider had a BAA with the clearinghouse and assumed that closed the loop. The audit asked who at the clearinghouse could access the SFTP archive, and the clearinghouse could not produce a role-based access list that distinguished BH claims from physical-health claims. The finding was a Part 2 redisclosure violation through inadequate access controls at the business associate. Remediation of a gap like this is slow and requires a contract renegotiation.
Failure mode 2: Prior-authorization integration leaking diagnoses. A community mental-health center used a third-party prior-auth automation tool that sat between the EHR and several payer portals. The tool pulled ICD-10 codes, CPT codes, and clinical notes from the EHR via API and posted them to the payer. The tool's own operational logs, for retry, debugging, and SLA reporting, captured the full payload. The vendor's BAA covered the tool's primary database. It did not enumerate the operational logs as a covered system. PHI sat in a non-BAA-covered log store for the lifetime of the vendor's debug retention. The fix was vendor-side; the finding was provider-side.
Failure mode 3: Clinical-document exchange that doesn't honor consent. A behavioral health hospital participated in a regional HIE for care coordination. The HIE feed pushed C-CDA discharge summaries to any participating provider that requested them. The EHR's outbound feed honored a Part-2-consent flag on the patient record, but only at the patient level, not the encounter level. A patient who had consented to share a 2022 outpatient therapy episode also had a 2023 detox admission that was never separately consented. The C-CDA aggregated both. The HIE distributed both. The audit caught it on an accounting-of-disclosures request.
Failure mode 4: Lab integration with insufficient minimum-necessary. A SUD provider's EHR was integrated with a national reference lab for urine drug screens. The HL7 ORM message included the full demographic block, the ordering clinician, and, because the EHR template defaulted to "send all relevant clinical context", the active problem list, including non-substance-use diagnoses. The lab needed the order, the identifier, the specimen, and a small subset of history. It did not need the full problem list. The integration violated minimum-necessary on every order.
Failure mode 5: Telehealth recording retention. A BH provider adopted, during the post-2020 telehealth expansion, a video platform that recorded sessions by default. Some recordings landed in a cloud bucket with 90-day retention; others landed in the EHR media module under indefinite retention. The provider had no consistent policy. When the audit asked for the disclosure-accounting log of session recordings, the provider could produce it for the EHR-stored recordings and not the bucket-stored ones, which were also accessible to IT without role-based gating distinguishing BH from non-BH content. The finding was on access controls and disclosure accounting; the underlying issue was unscoped recording retention.
Failure mode 6: Integration vendor with no Part-2-aware BAA. The meta-failure behind the others. The org's BAA template was written for HIPAA. It addressed PHI handling, breach notification, sub-processor flow-down, and audit rights. It did not address Part-2-specific obligations: acknowledgment of the redisclosure limits, consent-state propagation, Part-2-specific breach reporting, qualified-service-organization status where applicable. Several integration vendors had executed the BAA truthfully and were not architected for Part 2. At audit, the regulator asked for the Part-2 addendum on the clearinghouse BAA. There wasn't one. The finding was a business-associate-management deficiency under HIPAA and a Part-2 redisclosure failure simultaneously.
The pattern across all six scenarios: the EHR is not the problem. The integration is the problem. In each scenario the EHR's BAA is real and its internal controls are defensible. The finding sits one boundary outside the EHR, at the clearinghouse, the prior-auth tool, the HIE, the lab, the video platform, or the BAA template itself. And the compliance program was scoped to the EHR, while the engineering team that built the integrations had no Part-2 experience.
What to ask each EHR vendor
Behavioral health EHR is a fragmented market. Six platforms cover most of the mid-market: Netsmart (myAvatar, myEvolv, CareManager), Qualifacts (CareLogic, Credible, InSync), Sigmund (AURA), Valant, TheraNest, and SimplePractice. They serve overlapping but distinct segments, Netsmart and Qualifacts dominate large multi-site community-mental-health and SUD networks, Sigmund concentrates in residential and inpatient SUD, Valant serves mid-size outpatient psychiatry, and TheraNest and SimplePractice dominate small-group and solo-practice telehealth-first practices.
Four dimensions determine integration-era compliance posture, as distinct from clinical workflow fit. We have not tested these products, and vendors change quarterly, so the table gives the question to put to each vendor and what a good answer looks like, not a rating.
| Dimension | Ask the vendor | A good answer |
|---|---|---|
| Part 2 awareness in the core product | Was 42 CFR Part 2 a design constraint, and can the product mark a record or an encounter as Part 2 and carry that mark with it? | Segmentation at the encounter level, shown in a demo on a test record |
| Integration audit logging | For each outbound path (HL7, API, C-CDA, HIE feed), what is logged, where, and can we query it? | A queryable log for every integration path, not only for actions inside the product |
| Consent management granularity | Does consent attach to the patient or to the encounter, and does the product support the single consent for treatment, payment and operations that the 2024 amendments allow? | Consent at both levels, configurable per program, with a revocation that stops later disclosures |
| Clearinghouse and billing posture | Which clearinghouse handles claims, is it under the vendor's BAA or ours, and will it sign a Part 2 addendum? | A named clearinghouse with Part 2 terms in writing before the first claim goes out |
Two practical observations. First: expect EHR fit for Part 2 to track the EHR's historical customer base. Netsmart, Qualifacts, and Sigmund sell to organizations where Part 2 is a daily operational fact. Valant, TheraNest, and SimplePractice sell to clinicians for whom Part 2 is a sometimes-applies overlay. That is a statement about positioning, not a verdict on any product. The vendors are positioned for different buyers, and the buyer that is wrong about which segment they sit in will discover it in the audit.
Second: no EHR, however strong its Part 2 design, can close the integration surface on its own. Encounter-level consent inside the EHR settles nothing about the outbound feed. The C-CDA generator either honors that consent on outbound feeds or it does not, depending on configuration. The clearinghouse retention either matches the EHR's or it does not. The compliance program either looks at the boundary or it does not. The questions above are a starting point, not a finish line.
Billing integration as audit surface
For most BH providers in the US mid-market, the revenue cycle passes through one or two clearinghouses, Change Healthcare/Optum, Availity, Waystar, Inovalon, and a handful of regional players cover most of the segment. The clearinghouse is the single highest-volume PHI integration in the organization. Every 837P submission, every 277CA acknowledgment, every 835 remittance carries the patient identifier, the diagnosis (often F-series ICD-10), the rendering provider, the service location, and the dates of service. For a Part-2-covered program, every one of those records is a substance-use treatment record on the wire.
The clearinghouse contract has to do four specific things. A standard clearinghouse BAA, written for HIPAA, rarely does any of them explicitly.
One: explicit acknowledgment that the records contain Part-2-protected information. The standard HIPAA BAA treats PHI as a single category. A Part-2-aware addendum names substance-use records as a covered subcategory and binds the clearinghouse to the limits that still travel with the record, above all the bar on its use in proceedings against the patient. Without this, the clearinghouse's sub-processors are operating under HIPAA alone, with no acknowledgment of the limits Part 2 keeps.
Two: enumerated retention and access controls for Part-2 records. The addendum should specify retention duration, the role-based access controls that govern who at the clearinghouse can read those records, and the logging that supports a disclosure-accounting request. "We follow HIPAA-compliant practices" is not enough.
Three: redisclosure notice handling. The 837P has no native field for the Part-2 redisclosure notice. The addendum should specify how the notice is conveyed, typically through the clearinghouse's acknowledgment of Part-2 status across the relationship rather than per-claim, and bind the clearinghouse to honor it on any onward transmission.
Four: a disclosure-accounting cooperation clause. When the provider receives an accounting-of-disclosures request from a patient, the clearinghouse must be contractually obligated to produce, within a defined SLA, the record of which payers received which claims over the prior three years, the look-back period Part 2 sets for an accounting. Most clearinghouse standard BAAs do not include this clause.
A clearinghouse that serves the BH market should know how to execute a Part-2 addendum. The provider has to ask. The 1-page addendum that closes the most common gap is the most leveraged document a BH CIO can put on the desk this quarter, one email to the clearinghouse account team to get it drafted, and it closes one of the most common Part-2 gaps. The four clauses above are the outline; have counsel turn them into the document.
The CMS prior authorization rule at the integration boundary
The CMS Interoperability and Prior Authorization final rule (CMS-0057-F), released January 17, 2024, puts its obligations on payers, and a behavioral health provider meets them at the prior-authorization boundary this guide has already flagged. The payers covered are Medicare Advantage organizations, state Medicaid and CHIP fee-for-service programs, Medicaid managed care plans, CHIP managed care entities, and Qualified Health Plan issuers on the Federally Facilitated Exchanges. Employer-sponsored commercial plans are not on that list, and none of the rule applies to prior authorization for drugs. The CMS rule page, last modified October 8, 2026, still gives the same two compliance dates, and the fact sheet notes that exact dates vary by type of payer.
The first date has passed. The operational provisions generally began on January 1, 2026. Under them, covered payers other than the exchange plan issuers must send prior authorization decisions within 72 hours for expedited requests and seven calendar days for standard ones. Every covered payer must give a specific reason for a denial, whatever channel the request came in on, and must post prior authorization metrics on its website each year, with the first set due by March 31, 2026.
The second date is January 1, 2027. By then covered payers must run a Prior Authorization API that is populated with the payer's list of covered items and services, identifies the documentation required for approval, and takes a request and returns an approval, a denial with a specific reason, or a request for more information. They must also run a Provider Access API that shares claims and encounter data, USCDI data elements and prior authorization information with in-network providers who have a treatment relationship with the patient, unless the patient opts out.
Three things follow for a provider. Sort the payer list into covered and not covered, and for the covered ones log the date each request went in and the date and reason that came back. A late decision or a denial with no specific reason is then a documented departure from the rule, which is what an escalation to the plan rests on. Store the denial reason as data against the authorization record, not as a fax image or a phone note, because CMS wrote the requirement to make resubmission easier and the reason is where a resubmission starts. And put the 2027 APIs on the integration inventory now. When a payer's Prior Authorization API goes live, the EHR or the prior-auth tool will send clinical documentation to it over a new outbound path, and failure mode 2 applies to that path as it does to a payer portal: what is sent, what the vendor logs, and whether the consent on file covers it. The fact sheet says nothing that relaxes Part 2. Ask the EHR vendor when it will connect, since CMS also adds an Electronic Prior Authorization attestation measure for MIPS eligible clinicians beginning with the 2027 performance period.
AI in behavioral health: the substance-use specialness
Behavioral health is the segment where AI runs into Part 2 the hardest, and where the architecture choices that work for physical health do not transfer cleanly. The constraints are not theoretical. They are operational.
The consent posture is the issue. Under HIPAA, an AI scribe drafting a progress note from a session transcript is operating inside the TPO frame, generally fine. Under Part 2, the same workflow on a substance-use session has more questions to answer. Did the patient consent to AI processing of the record specifically? Does the consent template cover the AI vendor as a recipient under the 2024 single-consent model? Does the AI vendor's logging, prompt, completion, retrieval context, sit on Part-2-aware infrastructure or only HIPAA-compliant infrastructure? Can the AI workflow produce a disclosure-accounting record that names the patient, the recipient, and the basis for the disclosure?
Expect the Part-2 posture of AI scribe vendors to be uneven. A vendor that has invested in BH will have extended its BAA template to include Part-2 acknowledgment, logging that supports disclosure accounting, and clinician-side consent capture flows. A vendor that has not is operating under its HIPAA template and assuming TPO covers the use case. For BH workflows specifically, the second posture is not durable.
The practical guidance for BH providers: AI works well today in administrative workflows and works poorly in clinical workflows without specific guardrails. Where it works: prior-authorization letter drafting; billing-code suggestion (advisory, never final submitter); documentation cleanup from clinician dictation, with a Part-2-aware vendor; policy generation, board-document prep, and regulatory-evidence drafting from non-PHI inputs. Where it does not work yet: clinical decision support that runs autonomously without prescriber co-sign; risk stratification where the input includes Part-2 records distributed to a model vendor whose BAA does not explicitly cover Part 2; AI summarization that pushes substance-use records into a downstream system that has not been independently scoped.
The framework from our HIPAA AI Architecture reference, pick the architecture before the model, applies in BH with one tightening. In BH, Architecture D (PHI never leaves the trust boundary; only de-identified or non-PHI representations cross to the model) is more often the right starting answer than in physical health. The de-identification has to be defensible, Safe Harbor or Expert Determination, documented, but once it is, the workflow ships safely while the org figures out the Part-2-specific BAA conversation with its preferred AI vendor.
Where the Diagnostic fits
When a behavioral health provider engages us on the Diagnostic, we scope it to the EHR-to-billing integration surface and run the 21-day review against it. The review produces a written report that the CIO hands to the board, the CCO hands to the auditor, or the leadership team hands to a new clearinghouse partner during procurement. The structure is below; we publish it here because it is more useful as a reference than as a sales pitch, and because most of it can be done internally if the org has the bandwidth to run it.
Days 1–4: Scope and inventory. We document every system that touches a Part-2 record. The EHR. The clearinghouse. The eligibility-check service. The prior-auth tool. The HIE feed. The lab interface. The telehealth platform. The collections vendor. For each: data classification, integration mechanism (HL7, API, SFTP, portal), BAA status, Part-2 addendum status, disclosure-accounting capability. Output: a single architecture diagram of the PHI flow, plus a master inventory.
Days 5–9: BAA chain audit. We pull every BAA for every system on the inventory. We check for: HIPAA scope, Part-2 addendum, breach notification SLA, sub-processor flow-down with Part-2 acknowledgment, audit rights, and disclosure-accounting cooperation. Output: a BAA gap register, every component on the chain that does not have a Part-2-adequate BAA.
Days 10–14: Consent and redisclosure walkthrough. We trace the consent state from EHR through every outbound boundary. Does the C-CDA carry the redisclosure notice. Does the 837P route through a clearinghouse with a Part-2 addendum. Does the prior-auth tool log substance-use codes onto an enumerated covered system. Does the HIE feed strip metadata. We run the two-disclosure standard: pick two random disclosures from the prior twelve months and reconstruct who, what, when, why, and notice. Output: consent-and-redisclosure matrix.
Days 15–18: Failure-mode walk-through and remediation prioritization. We run the six failure modes from section three plus four secondary patterns. Each gap is ranked by audit-finding likelihood × cost-to-remediate. Output: prioritized remediation plan with owner, effort, and timeline.
Days 19–21: Report and walkthrough. We deliver the written report, typically 20 to 40 pages. The CIO hands it to the board. The CCO hands it to the auditor. We run a 60-minute walkthrough with the leadership team and provide a 30-day clarifying-question window. The report stands on its own, it does not require us to act on it.
Three actions any BH CIO can take this month, regardless of whether they engage us:
1. Inventory every Part-2 record path and which BAAs cover it. Pull the integration list from IT, the vendor list from procurement, and the workflow list from clinical operations. Map each integration to its BAA and check whether a Part-2 addendum exists. Most orgs cannot do this exercise in a single afternoon, that is the first finding.
2. Send the 1-page Part-2 addendum to the clearinghouse this month. Pick the clearinghouse that handles the highest BH claim volume. Have counsel draft the addendum from the four clauses in the billing section above, and send it. Get it executed. This single document closes one of the most common Part-2 gaps.
3. Run the two-disclosure test internally. Pick two random disclosures from the prior twelve months, one from the EHR, one from the billing/clearinghouse path, and try to reconstruct the full disclosure-accounting record in under an hour. If you cannot, the gap is at the integration logging surface, not the EHR. Fix the logging on the highest-volume integration first.
Three actions, one month, no engagement required. If the inventory or the BAA chain or the disclosure-accounting reconstruction surfaces gaps the org cannot close internally, or if the integration surface is large enough that getting it wrong is expensive, that is where the Diagnostic comes in. $10,000 fixed, 21 days, written report you keep regardless. More on the engagement model at Pass Audits, the practice it belongs to at Security and Governance, the segment context at Behavioral Health, and the Part-2 framework at HIPAA + Behavioral Health.
The EHR Integration Compliance Map paired with this guide covers the neighboring surface: ten general EHR platforms a behavioral health or digital health vendor is likely to integrate with, with a working assumption for each on integration surface, BAA posture, audit-log access, and Part 2 handling. It does not cover the clearinghouse surface or the behavioral health EHRs in the table above. Use it when a referral partner or a customer runs one of those platforms, and verify every cell with the vendor before relying on it.
Static image: roughly the card LinkedIn and X show for this link. Switch to for a clickable version.
Share options unlock once the preview image is ready.
Field notes are public and general. Engagements run under a mutual NDA on a need-to-know basis.
See this on your own systems. Start with the Diagnostic.
A written assessment of the operational problem costing you the most. $10,000 fixed, 21 days. Yours to keep, regardless.
Tell us the problemNo payment and no commitment. A partner replies within one business day.