Cross-Community Access (XCA) is an Integrating the Healthcare Enterprise (IHE) profile that enables a Health Information Exchange (HIE) to query and retrieve patient-specific clinical documents from other distinct, remote HIEs. It operates on a federated model, meaning a central initiating gateway broadcasts a request to multiple responding gateways without requiring a centralized patient index, preserving local governance.
Glossary
Cross-Community Access (XCA)

What is Cross-Community Access (XCA)?
Cross-Community Access (XCA) is an IHE integration profile that defines a federated query and retrieve mechanism allowing a health information exchange to locate and fetch patient clinical documents from other connected remote communities.
The profile standardizes SOAP-based web service transactions, specifically the Cross-Gateway Query and Cross-Gateway Retrieve operations, to locate XDS.b documents across community boundaries. By translating patient identifiers via a Patient Identifier Cross-reference (PIX) or Patient Demographics Query (PDQ) manager, XCA creates a scalable, peer-to-peer network for nationwide semantic interoperability without consolidating clinical data into a single repository.
Core Characteristics of XCA
Cross-Community Access (XCA) defines a peer-to-peer, federated mechanism for locating and retrieving patient clinical documents across distinct health information exchanges without requiring a centralized repository.
Federated Query and Retrieve
XCA enables a Health Information Exchange (HIE) to broadcast a clinical query to multiple remote communities simultaneously. Rather than centralizing data, it uses a federated architecture where each community maintains sovereignty over its own records. The initiating gateway sends a Cross-Gateway Query transaction (ITI-38) to discover available documents, followed by a Cross-Gateway Retrieve transaction (ITI-39) to fetch the selected documents. This peer-to-peer design eliminates the need for a national patient index.
Document Registry and Repository Actors
The XCA profile defines two primary system actors:
- Initiating Gateway: The system that originates the query on behalf of a local clinician, broadcasting requests to known remote gateways.
- Responding Gateway: The system that receives the query, searches its local document registry, and returns metadata about matching patient documents. Behind the Responding Gateway, a Document Registry actor stores metadata (author, type, date) while a Document Repository actor stores the actual clinical content. This separation allows for efficient metadata-level discovery before committing to large file transfers.
Patient Identity Resolution
XCA relies on Patient Identifier Cross-Referencing (PIX) or Patient Demographics Query (PDQ) profiles to resolve patient identity across communities. When a query arrives, the Responding Gateway must map the initiator's patient identifier to a local identifier using a pre-established cross-reference. This demographic matching—often using probabilistic algorithms on name, date of birth, and gender—is critical to ensure that documents from the correct patient are returned without a universal master patient index.
XDS Document Metadata Standards
XCA queries and responses use the Cross-Enterprise Document Sharing (XDS) metadata model, specifically the ebXML Registry Information Model (ebRIM). Each document is described by a rich set of metadata attributes:
- DocumentEntry.classCode: The type of document (e.g., Discharge Summary)
- DocumentEntry.formatCode: The technical format (e.g., C-CDA, PDF)
- DocumentEntry.confidentialityCode: The sensitivity level for privacy masking This standardized metadata envelope ensures that a querying clinician can evaluate the relevance of a document before initiating a bandwidth-intensive retrieval.
Home Community ID and Routing
Each community in an XCA network is uniquely identified by a Home Community ID, typically formatted as an OID (Object Identifier) or a URN. This identifier is embedded in every document's globally unique identifier, allowing the Initiating Gateway to route a retrieve request back to the specific Responding Gateway that holds the document. This routing mechanism is stateless; the Initiating Gateway does not need to maintain a persistent connection, making the architecture resilient to intermittent network failures.
Asynchronous Web Services Exchange
XCA transactions are built on SOAP-based web services and support both synchronous and asynchronous message exchange patterns. For large documents or slow-responding communities, the profile specifies an Asynchronous Web Services Exchange option. The Responding Gateway can immediately return an acknowledgment and later push the results to a designated endpoint. This prevents gateway timeouts during complex cross-community retrievals and supports high-latency, rural healthcare networks.
Frequently Asked Questions
Essential questions and answers about the IHE Cross-Community Access (XCA) integration profile, a cornerstone of federated health information exchange.
Cross-Community Access (XCA) is an Integrating the Healthcare Enterprise (IHE) integration profile that defines a federated query and retrieve mechanism for locating and fetching patient clinical documents across distinct, connected health information exchange communities. It operates on a hub-and-spoke model where a central Initiating Gateway broadcasts a standardized query to multiple Responding Gateways in remote communities. Each Responding Gateway searches its local registry for relevant documents, returns metadata, and then allows the initiator to retrieve the full document payload. This architecture ensures each community maintains sovereignty over its own patient data while enabling cross-community semantic interoperability.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Core standards and architectural patterns that enable federated document sharing across health information exchanges.
Health Information Exchange (HIE)
The organizational or technological entity that implements XCA to mobilize clinical data. An HIE acts as a gateway, using XCA's federated query mechanism to locate patient records across connected communities. Key operational models include:
- Centralized: Single repository with a master patient index
- Federated: Peer-to-peer queries via XCA, leaving data at the source
- Hybrid: Combining both architectures for regional coverage
Cross-Enterprise Document Sharing (XDS.b)
The foundational IHE profile upon which XCA builds. XDS.b defines a document registry and repository model for sharing clinical documents within a single Affinity Domain (a community using a common set of policies). XCA extends this by enabling cross-community queries, allowing an XDS.b community to reach into another remote XDS.b community's registry to locate and retrieve patient documents.
Consolidated CDA (C-CDA)
The standardized XML document format that XCA typically retrieves. C-CDA defines the structure and semantics for common clinical document types:
- Continuity of Care Document (CCD): A summary of a patient's current health status
- Discharge Summary: Hospital course and follow-up instructions
- Progress Note: Encounter-specific clinical observations XCA queries return these structured documents, enabling semantic interoperability between communities.
Master Patient Index (MPI) & EMPI
The patient identity backbone required for XCA to function. An Enterprise Master Patient Index (EMPI) cross-references patient identifiers across multiple source systems within a community. When an XCA query arrives, the local MPI resolves the patient's identity using probabilistic matching algorithms that weigh demographic fields (name, DOB, gender) to link records despite inconsistencies, ensuring the correct documents are returned.
Direct Secure Messaging
A complementary push-based protocol to XCA's pull-based query model. While XCA fetches documents on demand, Direct uses S/MIME-encrypted SMTP to push clinical information directly to a known, trusted recipient's inbox. Both are often deployed together in HIE architectures: Direct for point-to-point transitions of care, and XCA for broad, federated query across unknown communities.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us