Written and maintained by CASRAI Editorial Board
Last updated
An opt-out Health Information Exchange (HIE) is a clinical data-sharing governance model in which a patient’s electronic health records are automatically made discoverable and accessible to authorized healthcare providers across a regional, statewide, or national Health Information Exchange (HIE) network for Treatment, Payment, and Healthcare Operations (TPO), unless the patient submits a formal directive (an HIE opt-out form or electronic revocation) instructing the network to block external query access to their records.
What Is the Difference Between Opt-In and Opt-Out Consent in Health Information Exchanges?
Under the federal HIPAA Privacy Rule (`45 CFR § 164.506`), covered entities are permitted to disclose Protected Health Information (PHI) to other providers for treatment purposes without obtaining a separate patient authorization. However, state HIE statutes, Regional Health Information Organizations (RHIOs), and national interoperability frameworks enforce one of five distinct patient consent management architectures:
| HIE Consent Model | Default Data-Sharing State | Patient Action Required | Operational & Clinical Trade-Offs |
|---|---|---|---|
| No-Consent / Mandatory TPO | Shared for HIPAA TPO | Patients cannot opt out of core treatment exchange | Maximizes clinical completeness in emergency care; limited to jurisdictions without statutory HIE opt-out mandates. |
| Standard Opt-Out (All-or-Nothing) | Shared by default across the HIE | Patient submits an HIE Opt-Out Directive to block network queries | High patient participation rates (>90–95%); opting out typically hides all non-restricted clinical records from HIE queries (except where emergency “break-the-glass” or public health reporting applies). |
| Opt-Out with Granular Exceptions | Shared by default for general medical care | Patient can opt out globally OR selectively restrict specific providers/sensitive data categories | Balances broad care coordination with granular protection for behavioral health, HIV, genetic, or reproductive records. |
| Standard Opt-In | Blocked by default across the HIE | Patient must sign an affirmative consent form before any HIE query returns records | Maximizes affirmative autonomy but historically creates high administrative friction and incomplete emergency department charts when patients have not yet signed a form. |
| Opt-In with Exceptions (“Break the Glass”) | Blocked by default for routine care | Affirmative consent required for routine access; emergency override permitted | Allows treating clinicians in life-threatening emergencies to attest to an emergency condition and temporarily bypass the opt-in block, triggering a mandatory compliance audit. |
Crucial Operational Distinction for Patients and Registrars: Submitting an HIE opt-out directive stops outside organizations from querying the patient’s consolidated record through the HIE’s central index or federated gateway. It does not delete records inside the local EHR of the hospital where care was delivered, nor does it block mandatory statutory reporting to public health registries (such as communicable disease, immunization, or prescription drug monitoring programs [PDMPs]).
How Does a Record Locator Service (RLS) Respect Patient Privacy Preferences?
In federated HIE architectures—such as CommonWell Health Alliance, Carequality, eHealth Exchange, and Qualified Health Information Networks (QHINs) operating under TEFCA—patient medical records are usually not copied into a single monolithic database. Instead, the network relies on an Enterprise Master Patient Index (EMPI) paired with a Record Locator Service (RLS).
An RLS is a central directory of metadata pointers that maps a matched patient identity to the specific hospital, clinic, or laboratory OIDs (Object Identifiers) or FHIR server endpoints where that patient has had clinical encounters—without storing the underlying clinical findings inside the directory itself. When a patient exercises an opt-out preference, the RLS and document-sharing infrastructure enforce privacy across three technical layers:
- Pointer Suppression at the RLS / MPI Layer: When a patient’s global opt-out status is recorded (`Consent.provision.type = “deny”`), the Record Locator Service suppresses or removes the patient’s location pointers from outbound responses to **IHE PIX/PDQ** (Patient Identifier Cross-Referencing / Patient Demographics Query), **IHE XCPD** (Cross-Community Patient Discovery), or FHIR `$match` queries. To an external querying hospital, the RLS returns zero external document locations.
- IHE BPPC (Basic Patient Privacy Consents) and XDS.b Registry Filtering: In document-based exchanges built on **IHE XDS.b** (Cross-Enterprise Document Sharing) and **IHE XCA** (Cross-Community Access), patient consent directives are registered as structured **IHE BPPC** documents containing a machine-readable `confidentialityCode` policy OID. When an external clinician executes a Registry Stored Query (`ITI-18`), the Policy Enforcement Point (PEP) evaluates the active BPPC policy against the requester’s role and Purpose of Use (`TREAT`, `ETREAT` [Emergency Treatment], `HPAYMT`, `HRESCH`) before returning any `DocumentEntry` metadata.
- HL7 FHIR
ConsentResource and IHE PCF (Privacy Consent on FHIR): In modern API architectures, patient opt-in and opt-out rules are represented using the normative HL7 FHIRConsentresource. The resource specifies `status` (`active`), `scope` (`patient-privacy`), `category` (e.g., LOINC `59284-0` Consent Document), `patient`, `policyRule`, and a structured `provision` block (`type: deny | permit`, `actor[]`, `purpose[]`, `securityLabel[]`, and `data[]`) evaluated dynamically by the FHIR server’s authorization engine prior to returning clinical resources.
How Are Sensitive Behavioral Health Records Segmented Under 42 CFR Part 2?
Even when a patient participates in an opt-out HIE for general medical care, certain categories of sensitive clinical data cannot be swept into general “all-or-nothing” HIE pools without specialized legal consent and technical segmentation. The prime federal example is 42 CFR Part 2 (Confidentiality of Substance Use Disorder [SUD] Patient Records), which governs federally assisted substance use disorder treatment programs (contrasted in detail in 42 CFR Part 2 vs. HIPAA):
- Why 42 CFR Part 2 Cannot Rely on Passive HIE Opt-Out Alone: While general HIPAA permits treatment disclosures without written consent, 42 CFR Part 2 requires the patient’s affirmative written consent before a Part 2 program (or an HIE holding Part 2 records) can disclose SUD records. Under the 2024 HHS Final Rule implementing Section 3221 of the CARES Act, a patient may now sign a single written consent for all future Treatment, Payment, and Healthcare Operations (TPO) disclosures, and recipient covered entities/HIEs may redisclose those records in accordance with HIPAA (except for legal/criminal proceedings against the patient, which still require a specific court order or separate consent). However, obtaining that initial affirmative Part 2 TPO consent—and accompanying every disclosed record with the mandatory federal prohibition-on-redisclosure notice—remains strictly required.
- Technical Enforcement via HL7 DS4P (Data Segmentation for Privacy): To share general medical records across an opt-out HIE while withholding or gating 42 CFR Part 2, HIV, reproductive health, or adolescent behavioral health records, health systems implement the HL7 Data Segmentation for Privacy (DS4P) standard and the HL7 Healthcare Privacy and Security Classification System (HCS):
- Confidentiality Security Labels: Clinical documents (C-CDA) and individual FHIR resources (`meta.security`) are tagged with confidentiality vocabulary codes (`N` = Normal, `R` = Restricted, `V` = Very Restricted) and sensitivity category codes (such as `ETH` for substance abuse information, `PSY` for psychiatry, `HIV`, or `SDV` for sexual assault/domestic violence).
- Obligation and Refrain Codes: When a Part 2 record is disclosed under a valid TPO consent, the security header attaches the refrain code `REDISC` (prohibiting unauthorized redisclosure) and `42CFRPart2` policy markers so the receiving HIE and EHR preserve the Part 2 segmentation boundary downstream.
Implications for Clinical Research and Secondary Data Governance
For clinical researchers and academic medical center Honest Brokers linking EHR cohorts with regional HIE records:
- Selection Bias in Opt-Out vs. Opt-In Cohorts: Observational studies drawing longitudinal outcomes from an HIE must account for differential opt-out rates across demographic groups and sensitive disease states, which can introduce informative censoring in readmission or mortality tracking.
- Purpose-of-Use Enforcement (`HRESCH` vs. `TREAT`): HIE opt-out models authorize automated clinical query access only for Treatment (`TREAT`) (and in some networks, narrow Care Coordination / Healthcare Operations). Querying an HIE for research cohort discovery (`HRESCH`) requires either an IRB waiver of authorization paired with an HIE-level data use agreement or explicit patient research consent (`Consent.scope = “research”`).
Frequently Asked Questions
What is the difference between opt-in and opt-out consent in Health Information Exchanges?
In an opt-out HIE, a patient’s health records are automatically made available to authorized clinicians across the network for treatment unless the patient submits an opt-out directive to block sharing. In an opt-in HIE, a patient’s records are blocked from network exchange by default until the patient signs an affirmative consent form authorizing participation.
How does a Record Locator Service (RLS) respect patient privacy preferences?
A Record Locator Service (RLS) stores only metadata pointers indicating which participating hospitals hold records for a given patient. When a patient opts out of the HIE, the RLS suppresses those location pointers from outbound patient-discovery and document-registry queries (enforced via IHE BPPC policies or FHIR `Consent` resources with `provision.type = “deny”`), preventing external providers from discovering or retrieving the records.
How are sensitive behavioral health records segmented under 42 CFR Part 2?
Because federally assisted Substance Use Disorder (SUD) records under 42 CFR Part 2 require affirmative written patient consent (including single-consent TPO under the 2024 CARES Act alignment rule) and cannot be shared under passive HIE opt-out defaults, EHRs and HIEs use HL7 Data Segmentation for Privacy (DS4P) security labels (`R` / `V` confidentiality and `ETH` sensitivity tags in C-CDA headers or FHIR `meta.security`) to withhold or separately gate Part 2 data and attach mandatory redisclosure notices.







