← Connected Healthcare

FEAT-PARTICIPANT-EXCHANGE

Brokered participant exchange

Participants never read each other's data. Every exchange between two of them — a claim from a hospital to an insurer, a question about who a patient is, a referral to a partner lab — goes through a broker the platform runs: a narrowly permitted account carrying out one durable process, checking consent as it crosses the privacy boundary, and leaving an audit record at each step. The platform provides that broker once, and each kind of exchange declares who it connects, what it carries, and what it is allowed to cross.

Why this matters

The platform's isolation model is absolute: each participant's data boundary is sealed, and no query can reach across one. That is the right default — it is what makes the customer organisation isolation promise credible — but healthcare is inherently multi-party. A hospital asks an insurer whether a patient is covered. A specimen routes to a partner laboratory. Data must cross, and the question is only on whose terms.

Answered ad hoc, one broker at a time — lab partner routing, the insurance gateway, whatever comes next — each flow re-solves the same problem. They share one mechanical core — and re-implementing that core per flow multiplies exactly the code that a privacy audit most needs to trust.

What's in the box

One broker engine

Every brokered exchange is built from the same five parts, owned by the platform:

  • A narrowly bounded account — the broker holds the least access that lets it read the request on one side and deliver it on the other: access rules per data boundary, and per service tier, so it can never reach beyond the exchange it is carrying.
  • A crossing of the privacy boundary — where the flow carries identity or personal data, the broker resolves or pseudonymises through the privacy boundary, consent-checked against the consent ledger, never around it.
  • A durable workflow — each exchange runs as one workflow made of steps, and every step is recorded as it completes. A restart picks up where it stopped rather than starting again, a step that failed can be retried on its own, and the record of the steps is itself the audit trail of who asked what and what was answered.
  • Zone scope — a broker operates within a zone, resolving services against that zone's service catalogue and identities against its identity store.
  • Operator-bundle connectors — where a flow leaves the platform (an insurer's core system, a national registry), the external leg is a certified operator bundle, one per external system.

Gateway types are module contributions

A module registers a gateway type declaring the participant types it connects, the FHIR resources it exchanges, the privacy boundary data classes it may cross, its workflows, and its access rules scope. The declaration is the review surface: a compliance officer certifies a gateway type once, the way operator bundles and participant types are certified.

The insurance gateway is the first gateway type: eligibility, pre-authorisation, claim adjudication, and payment-advice relay between provider and insurer participants.

Intra-zone first, cross-zone by design

Exchange within one zone is the common case. Cross-zone exchange — a referral to another jurisdiction — is the harder mode the engine must also carry: re-pseudonymise and re-encrypt at the zone boundary, so an identifier or key from one zone never travels raw into another.

What customers and operators experience

  • A compliance officer audits one engine and a short list of declared gateway types, instead of several bespoke brokers with subtly different consent and audit behaviour.
  • A module author building the next multi-party flow registers a gateway type and writes only the flow's own workflow steps — the account bounding, crossing of the privacy boundary, and audit trail come with the engine.
  • A platform operator sees every cross-participant exchange in one operational surface: workflow state, retries, and the connector health of each external leg.
  • A participant's data-protection officer can answer "what leaves our space, to whom, under what consent?" from the gateway-type declarations and the per-crossing audit events.

Limits and trade-offs

  • A broker is a chokepoint on purpose. Latency-sensitive flows (a point-of-care eligibility check) must fit their budget inside workflow-step and connector round-trips; caching belongs inside the gateway type, never as a bypass.
  • No generic "send FHIR anywhere". A gateway type's declared resources and data classes are a closed list; widening it is a reviewed change, not a runtime option.
  • The engine is proven by a working gateway type, not by invention. An engine with no working reference is speculation; the insurance gateway is that reference.
What it rests on
0 / 10 passing 6 without a result yet
  • kept by its basis its basis has no result Organisations never read each other's data: they exchange only through a zone they share, under that zone's rules. REQ-PEX-ONLY-THROUGH-A-SHARED-ZONE
    Based on 2 promises
    • cited, no result Two tenants never deal with each other directly. Work between them is carried up from the asker to the lowest zone both belong to and down to the owner, that zone's rules govern it, and it is permitted only where every zone on the way permits the process. Tenants under no shared zone, or in none, have no route, and are told so by name. REQ-DBO-ZONE-WORK-CROSSES-THROUGH-THE-LOWEST-ZONE-TWO-TENANTS-SHARE
      Cited by: cloud.jengu.dbo.tenant.ZonesFormATreeTest#workCrossesThroughTheLowestSharedZone
    • cited, no result A tenant's declared dependencies name only what stands above it: a jurisdiction, a face root, its service provider, or the projection that serves a jurisdiction on another face. A dependency on a tenant beside it — a stream of that tenant's records it never agreed to — is refused by name, naming both, because two tenants never deal with each other directly; what one needs of another is asked for through their zone. An upstream nothing declares yet is a wait, as before. REQ-DBO-ZONE-A-TENANT-TAKES-ONLY-FROM-WHAT-STANDS-ABOVE-IT
      Cited by: cloud.jengu.dbo.tenant.ZonesFormATreeTest#aTenantTakesOnlyFromWhatStandsAboveIt
  • kept by its basis its basis has no result What may cross is declared per zone, and a zone can only narrow what the zone above it allows. REQ-PEX-A-ZONE-ONLY-NARROWS
    Based on 1 promise
    • cited, no result What members may do for each other is a jurisdiction's to permit, by process, and only a zone permits it: a zone that lists none permits none, and a tenant that is not a zone listing any is refused. A zone permitting a process the zone it belongs to does not is refused at its declaration, naming both zones and the process, because a jurisdiction is bound by the one above it and may be stricter, never looser. REQ-DBO-ZONE-A-ZONE-ONLY-NARROWS-THE-ZONE-IT-BELONGS-TO
      Cited by: cloud.jengu.dbo.tenant.ZonesFormATreeTest#aZoneOnlyNarrows
  • kept by its basis its basis has no result Whatever carries an exchange records it, keeps no copy of it, and cannot read the answer it carries. REQ-PEX-A-CARRIER-KEEPS-NOTHING
    Based on 2 promises
    • not cited Work asked for across is carried up to the lowest zone the two tenants share and down to the one whose data it is, where the run that does it is authored over the same inputs, naming the run it answers — once, however often it is carried. The asker's trail records the hand-over to the carrier as it records any participant taking work, and every zone on the way records that the crossing passed, from where and to where, on a chain of its own rooted in the crossing, and keeps no run of it. REQ-DBO-ZONE-WORK-IS-CARRIED-THROUGH-THE-ZONES-THAT-KEEP-NO-COPY
    • not cited What the owner's answer names is carried back to the run that asked, sealed to the reader the asker named — under the key the asker's own authority holds for it — and to nobody else: nothing the carrier holds opens it, and the zones on the way back record only that the crossing passed again. The run that asked is then offered to that reader alone. A reader that offered no key is sent nothing, and its run says why. REQ-DBO-ZONE-THE-ANSWER-COMES-BACK-SEALED-TO-THE-READER-ALONE
  • kept by its basis its basis has no result An organisation can always say what it shared, with whom, when, who opened it, and which zones may touch its data. REQ-PEX-THE-OWNER-KNOWS-WHAT-LEFT
    Based on 3 promises
    • not cited The tenant whose data is asked for answers it: a participant of its own takes the run the request was carried to, decides, and commits its answer as the record its zone's exchange declares — a List naming what it shares — written in its own store, so the owner keeps the account of what it shared, when and for which run. A step the owner did not declare may write what the exchange declares and nothing else. REQ-DBO-ZONE-THE-OWNER-ANSWERS-WITH-WHAT-IT-SHARES
    • not cited When the asker's reader opens what came back, the owner learns of it: the access is recorded on the owner's own document, under the owner's run, naming the reader, the tenant it was opened in and the run it was opened for, with the reader's signed link as evidence — and every zone on the way records that the answer was opened and by whom, never which document. Each report is recorded once, however often it is carried. REQ-DBO-ZONE-AN-OPENING-ACROSS-IS-THE-OWNERS-TO-SEE
    • cited, no result A tenant reads on one register everyone whose process may touch its data: the service provider's processes and, below them, one row for each process every zone above it permits, naming the zone, nearest first. A jurisdiction's row is required and applied — membership is the agreement — so declining one is refused by name, naming the zone that declares it. REQ-DBO-ZONE-A-TENANTS-ZONES-ARE-ON-ITS-REGISTER
      Cited by: cloud.jengu.dbo.tenant.ZonesFormATreeTest#aTenantsZonesAreOnItsRegister
  • kept by its basis its basis has no result No exchange asked for is lost silently: one that cannot be carried says why. REQ-PEX-NO-EXCHANGE-IS-LOST-SILENTLY
    Based on 1 promise
    • not cited Every crossing asked and still ready at the asker is carried, however close in time to another and however many wait at once: the carrier finds them in the asker's store rather than after a position in its work. One the carrier finds and cannot carry says why on the asker's run by the next pass, so no crossing is lost without a reason. REQ-DBO-ZONE-EVERY-CROSSING-ASKED-IS-CARRIED
  • cited, no result An identified patient's result goes to the customer's zone as work crossing to it, each record by value and the patient by its identifier alone, and the zone's registry decides on it by its own rules. REQ-PEX-A-RESULT-REACHES-THE-ZONES-REGISTRY
    Cited by: cloud.jengu.platform.zone.AnIdentifiedResultIsReportedToItsZoneTest#aResultWithoutItsOrderOrSpecimenStaysInTheTenant, cloud.jengu.platform.zone.AnIdentifiedResultIsReportedToItsZoneTest#aTubeTheEdgeNeverHeldIsReportedAsItsOrderNamesIt, cloud.jengu.platform.zone.AnIdentifiedResultIsReportedToItsZoneTest#eachRecordGoesByValueAndTheResultIsNamedByItsIdentifier, cloud.jengu.platform.zone.AnIdentifiedResultIsReportedToItsZoneTest#thePatientIsTheIdentifierThatPassedTheFloorAndNothingMore, cloud.jengu.platform.zone.AnIdentifiedResultIsReportedToItsZoneTest#theZonesParticipantHandsItToTheZonesRegistryAndAnswersByItsVerdict
  • gap: not yet stated Consent is checked as data crosses the privacy boundary in an exchange. FEAT-GAP-a22803d9
  • gap: not yet stated An exchange crossing between zones re-pseudonymises and re-encrypts what it carries. FEAT-GAP-e1a4f7fb
  • gap: not yet stated A failed step of an exchange is retried on its own. FEAT-GAP-41041cbf
  • gap: not yet stated Operators see every exchange on one screen. FEAT-GAP-485d2d8b