Perform an IHE XCA Cross-Gateway Query to discover documents across federated health information exchanges

domain: profiles.ihe.net · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Construct a Cross-Gateway Query (ITI-38) request as a standard XDS AdhocQueryRequest but addressed to the Initiating Gateway endpoint rather than a local registry
  2. Include the homeCommunityId attribute on the AdhocQueryRequest to indicate the target community, or omit it to allow the Initiating Gateway to fan the query to all known Responding Gateways
  3. The Initiating Gateway forwards the query to each Responding Gateway's ITI-38 endpoint and aggregates the RegistryObjectList responses
  4. Inspect the returned ExtrinsicObjects for the homeCommunityId attribute on each entry — this identifies which community holds the document
  5. Issue a Cross-Gateway Retrieve (ITI-39) targeting the appropriate Responding Gateway, supplying DocumentRequest elements that each include homeCommunityId, repositoryUniqueId, and documentUniqueId

Known gotchas

Related routes

Discover a patient's identity across communities using IHE XCPD Cross-Community Patient Discovery
profiles.ihe.net · 5 steps · unrated
Implement IHE Mobile access to Health Documents (MHD) to publish and retrieve clinical documents using FHIR DocumentReference and List resources as an alternative to XDS
profiles.ihe.net/ITI/MHD · 5 steps · unrated
Query documents using IHE MHD ITI-67 Find Document References and retrieve content via ITI-68
healthcare-fhir · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans