Why this matters
A hospital is not flat. It has wards, clinics, departments, satellite sites, outpatient units, training units — each with different staff, different module needs, different operational rhythms. A platform that treats the customer organisation as a single undifferentiated unit forces all of that variety into one bucket: every clinician sees every module, every worklist, every menu item. That's not how clinical work happens; it's how clinicians abandon software.
The opposite extreme — one customer organisation per department — fragments the patient. A patient seen in cardiology and nephrology lives in two customer organisations? The patient timeline is split, the audit trail is split, the clinical record is split. The customer boundary, designed to protect the customer, becomes an obstacle to the customer's own care continuity.
The right model is one customer organisation per customer with organizational sub-structure inside. Departments, sites, and units are first-class within the customer organisation; clinical modules bind to the organisations that use them; the patient timeline crosses departments seamlessly because they are all in one customer organisation.
What's in the box
-
One customer organisation is one customer. One customer, one boundary; that's the boundary documented elsewhere as Customer Data Isolation.
-
Org tree inside the customer organisation. Each department, site, or unit is a FHIR organisation record resource with
partOfpointing at its parent (the hospital, or another department). Tree depth is up to the customer. -
Modules bind to organisations, not to the customer organisation. Hogwarts Laboratory has the Lab module; Outpatient clinic has Visit Assistant; Cardiology has both. Module assignment is per-(org, module).
-
A customer organisation has what its kind offers. A hospital, a jurisdiction's zone and the service provider are different kinds; each kind decides the platform pages its top-level organisation has and the modules its departments may be given. A module is where it is bound — not in the departments below until bound there too — and works over its department and those under it.
-
Menu reflects (user, organisation, module). When a clinician selects an organizational context, the platform's web shell filters navigation to that organisation's enabled modules. Modules contribute their navigation; the platform composes it.
-
Permissions combine four facets. Authorisation asks: this clinician, in this organisation, for this module, performing this action — granted or denied? Roles are organisation-level; the combination with
(organisation, module, action)is what's checked at runtime. -
One module, many bindings. The Lab module exists once in the codebase; it appears under Laboratory, Cardiology, and Emergency in the menu — the same module, three contexts. Module-internal logic uses the organizational context to scope worklists, ordering destinations, and result delivery.
-
URL structure carries the org segment. Every module-bearing URL has the shape
/o/{tenant}/{org}/{module}/{action}. The customer organisation admin assigns each Organization a unique code when the org tree is defined; that code is what appears in URLs and in bookmarks. The org segment is mandatory — URLs that omit it are redirected to the organisation's root organisation. -
Audit captures organizational context. Every audit event records which organisation the action happened in, so retrospective queries can be scoped per department.
Standards we lean on
- HL7 FHIR organisation record resource with
partOf— the standard shape for the tree. - HIPAA 45 CFR 164.308(a)(3) — Workforce Security. Role-based access matched to organizational structure.
- ISO/IEC 27001 Annex A.6 / A.9 — access control. Permissions combined from organizational role and resource context.
What customers and operators experience
- A hospital admin onboarding defines the org tree: Hogwarts Hospital → Laboratory department, Outpatient clinic, Cardiology ward, Emergency department — declared in the configuration repo as FHIR organisation record resources.
- Each organisation gets the modules it uses. Module enablement is a configuration decision per-(org, module).
- A clinician's menu reflects the structure. Working in
Cardiology, they see "Cardiology > Lab > Pending orders" and
"Cardiology > Visits > Today's appointments". Switching context
changes the menu — same login, same customer organisation, different scope —
and the URL bar reflects the change too: moving from the main
lab to a satellite lab swaps
/main-lab/for/satellite-lab/in every module link. - A patient seen in Cardiology and Outpatient appears in one chronological timeline. The org context tells where each encounter happened; the timeline crosses departments because they share the customer organisation.
- A new department added is a configuration change — declare the Organization, list its modules, set its staff. The platform applies the change without any module-side installation.
- A department reorganised (renamed, merged, moved under a new parent) is a configuration change too — history persists, audit persists, only the tree shape changes.
- A compliance officer reviewing access sees the full
(clinician, organisation, module, action)tuple in audit. "Who in Cardiology placed lab orders this month" is one query.
Limits and trade-offs
- One organizational tree per customer organisation. A multi-organisation network is modelled as several customer organisations if data must stay separate, or as one customer organisation with multiple top-level organisations if it doesn't.
- Module enablement is per-organisation, not per-clinician. A clinician's view of available modules is determined by the organisation they are working in, not by personal preferences. This keeps clinical context predictable.
- Org-tree changes propagate immediately. Removing a department's module access takes effect on next request. Audit of past actions persists; new actions don't.
- Reshuffles cost configuration review. A department merge or rename is a configuration change in git, reviewed before merge. The customer cannot do this in a hurry; that's deliberate.
- Cross-organisation sharing within a customer organisation is governed by organisation-level rules. Whether cardiology can read outpatient's notes is a customer organisation policy, not a per-organisation setting.