← Platform Foundation

FEAT-ZONE-PARTICIPANTS

Managed participants

The platform manages every organisation that takes part in a zone's healthcare economy — hospitals and clinics today; insurers, pharmacies, and partner laboratory networks next — through one lifecycle. Each participant gets its own sealed data space, its own credentials, and its own place in the zone; what kind of participant it is (and everything that kind implies — provisioning shape, access policy, connectors, certification) is contributed by the module that introduces the type, not hardcoded in the platform.

Why this matters

Today the platform manages exactly one kind of organisation: the healthcare-provider customer organisation. Its lifecycle — create the FHIR storage Project, the root Organization, departments, credentials, users, the zone link; suspend; dispose with a grace period — is durable, audited, and battle-tested, but it is written for hospitals.

The insurance gateway introduces a second kind: the insurer, which needs a sealed data boundary of its own (products, coverage rules, member cover record, its side of every exchange) but has no departments, no clinicians, no edge devices, and a very different access-policy shape. Pharmacies and partner laboratory networks are visibly next in line. Cloning the customer organisation lifecycle per kind would fork the most safety-critical provisioning code in the platform; wedging every kind into the hospital shape would bend the isolation model.

The platform's answer is the same meta-pattern it already uses for clinical modules, lab device types, and membrane operator bundles: a generic engine plus pluggable contributions. The platform owns the participant lifecycle once; a module registers a participant type that contributes what is specific to that kind.

What's in the box

One lifecycle, many kinds

The platform owns the general lifecycle of a managed organisation: provisioning its sealed data boundary, its root organisation record, service credentials and keys, the zone link, suspend, and dispose after a grace period — with the audit trail throughout, and all of it as durable workflows, exactly as the customer-organisation lifecycle works today. The healthcare-provider customer organisation becomes the first registered participant type rather than the only possibility.

Participant types are module contributions

A module introducing a new kind of participant registers a participant type contributing:

  • Provisioning specifics — what the type's Project contains beyond the generic skeleton (an insurer type seeds a plan registry; a provider type seeds departments).
  • A configuration schema — the git-config shape under which organisations of this type are declared (the same declarative configuration flow customer organisations use today).
  • An access rules template — what the type's service accounts and staff may touch, reviewed once per type rather than per organisation.
  • A certification manifest — the data classes the type handles and the connectors it is allowed to operate, the same declaration shape membrane operator bundles carry.

Participants are principals

Every managed participant is an organisation record principal in the sense of: it can co-own data classes, hold key parts, and appear in partner link relationships with other participants. An insurer–provider contract, a hospital–partner-lab agreement, and a pharmacy network membership are all the same FHIR shape with the same cryptographic consequences (contract end is a key deadline).

Isolation is unchanged

A participant's Project is exactly as sealed as a customer organisation Project is today — the standard multi-customer isolation boundary. Nothing about being an insurer or a pharmacy weakens the wall; talking across the wall is the business of brokered participant exchange, never of shared access.

What customers and operators experience

  • A platform operator onboards an insurer with the same reviewed git-config change used to onboard a hospital; the lifecycle console shows providers and insurers side by side with the same suspend / dispose controls.
  • A module author shipping a pharmacy module registers a participant type and inherits the entire provisioning, credential, audit, and teardown machinery — writing only what is pharmacy-specific.
  • A compliance officer reviews one access rules template and one certification manifest per participant type, not one ad-hoc policy per onboarded organisation.
  • An insurer's administrator manages the insurer's own configuration inside the insurer's own sealed space — with no visibility into any provider, and no provider visibility into the insurer.

Limits and trade-offs

  • A participant type is a reviewed platform change. Types ship with modules and are certified like operator bundles; operators cannot invent new types from configuration alone.
  • The generic lifecycle stays minimal. Anything only one type needs belongs in that type's contribution, not in the engine — the engine grows by subtraction from today's customer organisation lifecycle, not by accretion.
  • Existing customer organisations are the first migration. The healthcare-provider customer organisation must become participant type №1 without behaviour change; the framework is proven by re-expressing what already works before it hosts anything new.
What it rests on
0 / 6 passing 3 without a result yet
  • kept by its basis its basis has no result Every customer organisation has its own sign-in authority, and a credential issued for one is refused by every other before anything in it is read. REQ-SES-EACH-CUSTOMER-IS-ITS-OWN-AUTHORITY
    Based on 1 promise
    • not cited Every tenant is its own OIDC authority with its own issuer URL, discovery document, key set and token endpoint; relying parties trust exactly one tenant's authority, never the store's. A token from any other tenant fails signature verification before any claim is read. REQ-DBO-AUTH-TENANT-SCOPED-ISSUER
  • kept by its basis its basis has no result Which participants an installation serves is on record and can be asked, and a participant declaration that cannot be read is named for a person to fix. REQ-PAR-WHO-TAKES-PART-IS-ON-RECORD
    Based on 1 promise
    • not cited What a deployment has been told to serve is records in the managing tenant, applied from whatever source declares them like any other configuration — so what is declared can be asked of the store rather than read off a node's disk, and a declaration that will not parse is a card naming the file rather than a line in a boot log. A deployment with no managing tenant records nothing and serves exactly as before: recording what is declared is not a condition of honouring it. REQ-DBO-TEN-A-DECLARATION-IS-A-RECORD
  • 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
  • gap: not yet stated Every kind of participant — provider, insurer, pharmacy, laboratory network — goes through one lifecycle. FEAT-GAP-fe1b55cc
  • gap: not yet stated A new kind of participant arrives with a module, bringing how it is set up, configured, given access and certified. FEAT-GAP-ca6aa92b
  • gap: not yet stated A participant has its place in its zone and its partner links, and a contract ending is a key deadline. FEAT-GAP-ee1157d4