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.