Why this matters
A SaaS vendor onboarding a hospital cannot answer "what exactly is configured for us, and how do we know?" with screenshots of an admin panel. Hospital compliance teams expect to review what the vendor is setting up before it goes live, and to see every change made afterwards — preferably in a form their own technical team can read directly.
Configuration through an admin UI alone has predictable failure modes: operators forget what they changed, manual setups drift between sites, and there is no peer review. In a regulated environment, "the configuration was right at some point" is not enough — the question is "who changed it, when, and why".
A git repository solves both at once: change goes through review like code, history is immutable, and the customer can audit their own configuration without depending on the vendor for a report. That same artefact is also what protects the customer if everything else is lost — a recovery anchor, not just a record.
What's in the box
-
Git as the source of truth. Customer configuration — modules, practitioners, enrollment keys, integration bindings — lives as text in a git repository. The platform reads from it on startup and reconciles on change. There is no separate internal configuration store.
-
Customer-owned repository. The repository typically lives on the customer's own GitHub (or equivalent) under their organisation. The platform connects with a read/write token the customer issues and can revoke at any time. Configuration sovereignty stays with the customer.
-
FHIR as the configuration format. Practitioners, organisations, locations, healthcare services, and schedules are stored as FHIR resources in the repo — the same shape they take in the runtime data store. The customer's setup work produces a standard FHIR description of their hospital, reusable beyond this platform.
-
Changes in a draft of one's own. A person changes the configuration on the platform's pages — its organisation, its people, its connections — into a draft of their own, reviews every record it changes and applies it whole. Nothing the customer organisation runs on changes before that, and a draft keeps up with what others applied meanwhile, showing where the two meet.
-
People and what their roles may do are configuration. Who works where, as what, and what each role permits are records in the repository like the rest, each person's files named by a neutral key rather than anything that identifies them. A person closed there can no longer sign in; a role nobody describes permits nothing.
-
Two pathways, one history. Routine changes go through the platform's pages and their drafts, which commit them to git. Larger or higher-risk changes are drafted as pull requests against a staging branch, validated against a staging deployment, then merged. Both end up in the same history; no path bypasses it.
-
Idempotent reconciliation. Re-running the platform against the repo converges to the repo's state. There is no separate "apply" step that could drift. The same property makes the repo a rebuild source: a freshly-deployed platform pointed at the repo restores the customer's operational configuration without any vendor-side state. For a jurisdiction's shared configuration — its vocabularies and profiles — applying is the store's own recorded act: the platform declares the set, and what was applied and what could not be is answered by the store, not by a log.
-
Branch-per-environment. Production, staging, and zone-specific deployments each follow their own branch. Promoting a change from staging to production is a merge — exactly the change the customer reviewed and tested is what reaches production.
-
Rollback by revert. A change that turned out wrong is rolled back like any code change: revert the merge, the platform reconciles. The rollback itself appears in the history as a commit anyone can read.
-
Secrets sealed in git. A secret the configuration needs — a connection's password, a person's sign-in — is kept in the repository sealed, openable only with the customer organisation's own key and its owner's, and never shown by the platform once taken. A leaked repo never leaks a live credential. A person's own password or PIN is committed apart from everybody's drafts, by the platform, saying only that personal data was updated.
-
Recovery anchor. If runtime state, backups, and cloud infrastructure were all lost, the git repo alone is enough to bring the platform back into a known operational shape. The repo is the last resort for the system, not for patient records.
Practices we follow
- GitOps. Configuration as code, declarative reconciliation, pull-request review, audit through commit history. Standard cloud-native practice applied to customer organisation setup.
- HL7 FHIR Conformance resources — Practitioner, Organization, Location, service entries, Schedule. The same resources used for clinical reference are used for platform configuration.
- ISO/IEC 27001 change control. Reviewed change with full audit trail of who, what, when, why — git satisfies the standard's expectation directly.
What customers and operators experience
- A hospital onboarding sees its customer organisation configuration assembled as a git change — reviewed by the vendor's operations team, shared with the customer's compliance officer for sign-off, then merged.
- A compliance officer can clone the configuration repository and read, in plain text, exactly what is configured. No admin-UI access required for compliance questions.
- A customer's IT team sees the history of every change — who made it, when, and the diff. Disputes resolve to a commit.
- A vendor operator drafting a substantial change opens a pull request, gets review, merges. Routine changes go through the admin UI and still commit back to git.
- A non-trivial change is drafted in staging, tested in a staging environment that mirrors production, then merged. Configuration mistakes are caught before reaching the running ward.
- A change that turned out wrong is rolled back the same way any code change is — a git revert, a reconciliation, and the rollback itself a commit in the history.
- A CIO planning for worst-case can answer "what if everything else is lost?" with: as long as the configuration repo survives, the operational shell of the hospital is rebuildable.
- A regulator sees configuration as code with full version history — the same evidence model they already trust for software systems.
Limits and trade-offs
- Git is the source of truth, full stop. No shadow store inside the platform; the canonical answer is always the repo. The admin UI is a way to write to git, not a way around it.
- Customers without git skills need vendor support. A small hospital without a technical team will rely on the vendor to draft and review changes — the value is real but the access is not free.
- Staging discipline is required. The promotion model only protects production if changes are actually tested in staging. Emergency hot-fixes are flagged in audit; routine reliance erodes the workflow.
- Live operational state is not in the repo. Sessions, device liveness, queue depths belong in monitoring. The repo describes intent, not instantaneous state.
- Repo continuity is a customer responsibility when they own the repo. Backups, access control, and recovery sit with whoever owns it.
- Repo-based recovery is operational shell only. The shape of the system, not its clinical data. Clinical recovery still depends on data backups.