Design system case studyLive · Version 1.0

Spine · Clinical operations

Designing consistency for software where mistakes matter.

Spine is the role-aware design system for Hospital OS. It turns patient safety, permissions, accessibility and clinical workflow into reusable interface standards — one operating language across five teams and every handoff between them.

14
Documentation chapters
Principles through governance and migration
5
Role workspaces
Reception, clinical, diagnostics, pharmacy, operations
7
System states
Including restricted, offline and partial
6
Reproducible renders
Captured from the running app with Playwright
Role
Product Designer · Systems Designer
Scope
Design system · Documentation · Front-end
Status
Live · Version 1.0
Built with
Next.js · React · TypeScript · Tailwind

01 / The problem

Hospital work is rarely a single-screen task.

One outpatient journey moves through reception, consultation, diagnostics, pharmacy and revenue. Each team has its own software habits, its own vocabulary and its own idea of what “done” means. Every handoff is a chance to lose context, duplicate work or make an unsafe assumption.

ONE OUTPATIENT JOURNEY · FIVE TEAMSReceptionIdentity, consentHANDOFFcontext can dropConsultationHistory, notesHANDOFFcontext can dropDiagnosticsOrders, resultsHANDOFFcontext can dropPharmacyMedicationHANDOFFcontext can dropBillingRevenue closeFour handoffs. Four chances to lose identity, ownership or system state.Spine exists to make the journey legible across every one of them —one visual and interaction language, adapted per role.

Context is not portable

A note written in consultation has to mean the same thing in pharmacy, without the pharmacist reading the whole chart.

Roles need different things

Reception needs breadth and speed. A clinician needs depth. Building for both by building for neither is the usual outcome.

Consistency is a safety feature

When the same action looks different in two workspaces, people slow down or guess. In a hospital, guessing has consequences.

02 / Patient identity

The one component that appears on every screen.

Wrong-patient error is the failure mode a clinical system exists to prevent. So the answer to “who am I looking at, and may I act?” is never more than zero clicks away — the identity bar is persistent, unscrollable and identical in all five workspaces.

Meera NairAllergy
42 y · MRN HOS-024718 · OPD-26-08154
Location
Internal Medicine · OPD 4
Allergy
Penicillin
Consent active
Persistent

The bar never scrolls away. Wrong-patient error is the failure mode this system exists to prevent.

Allergy is loud

Not a field in a panel three clicks deep. It sits beside the name, in red, at every workspace.

Consent is visible

Whether you may act is part of who you are looking at, not a separate check.

The same bar renders in reception, consultation, diagnostics, pharmacy and operations. Only the actions beside it change.

03 / Role workspaces

Same object. Five densities.

A generic clinical UI serves everybody equally badly. Spine keeps one model and varies three things per role: how much is shown, what can be done, and what is deliberately withheld. Changing the model per role would have produced five products to maintain.

Reception
Wide, shallow
Identify and verify
IdentityConsentAppointmentPayer
Deliberately absent — Clinical notes, results, prescriptions
Clinician
Deep, contextual
Decide and document
HistoryAllergiesResultsOrders
Deliberately absent — Billing codes, revenue status
Diagnostics
Queue-driven
Receive and report
OrderSpecimenStatusReport
Deliberately absent — Full chart, financials
Pharmacy
Verification-first
Check and dispense
PrescriptionAllergyInteractionStock
Deliberately absent — Consultation notes
Operations
Aggregate
Monitor and unblock
ThroughputBottlenecksSLAAudit
Deliberately absent — Individual clinical detail
The rule

Every workspace renders the same patient object. What changes is density, available actions and permission — never the underlying model.

Hiding information is a design decision with a clinical consequence, so each omission is recorded rather than assumed.

04 / System states

What the screen says when things are not fine.

Most design systems document the happy path thoroughly and the rest in a paragraph. In hospital software the exception states are where harm happens, so each one is a first-class pattern with its own rules about what it must say.

Loading

Skeleton shaped like the content

Empty

Explains why, offers the next action

Partial

States what is missing, not just that data is incomplete

Warning

Clinical risk surfaced before the action, not after

Error

Names the cause and the recovery path

Offline

Says what is safe to do while disconnected

Restricted

Shows that data exists, and who can unlock it

Restricted is not the same as empty. A clinician who sees nothing assumes nothing exists. A clinician who sees a locked record knows to ask. In a hospital that difference is a safety property, not a nicety.

05 / Privacy, access and audit

Emergencies are designed for, not designed out.

A permission model that makes urgent access impossible gets worked around with shared logins — which is worse than what it was protecting against. So break-glass access exists, requires a reason, and is visible in the record afterwards.

Access history · Meera NairHOS-024718
09:14
Verified identity
Reception · Priya S.
MRN HOS-024718 · consent captured
09:41
Opened chart
Dr. A. Menon
Within care relationship
09:52
Ordered CBC, CRP
Dr. A. Menon
Reason recorded
10:06
Break-glass accessReview
Dr. R. Iyer
Outside care team · reason required · flagged for review
11:20
Dispensed
Pharmacy · K. Rao
Penicillin allergy check passed
Access is never silently denied or silently granted. Reading a record outside your care relationship is possible, requires a reason, and is visible afterwards — the design assumes emergencies happen and makes them accountable rather than impossible.

06 / Documentation structure

Fourteen chapters, four jobs.

The chapters are not an alphabetical index. They group by what they are for: the shared vocabulary, the parts that make it a hospital rather than a generic product, the obligations that are not negotiable per screen, and the machinery that keeps the system alive after the person who wrote it moves on.

Foundations
4

The shared vocabulary everything else is built from

Overview
Principles
Foundations
Components
Clinical
4

Where the system stops being generic and becomes a hospital

Clinical patterns
Role workspaces
External referral
System states
Obligations
3

The requirements that are not negotiable per screen

Accessibility
Content and language
Privacy, access and audit
Longevity
3

How the system survives the people who wrote it

Information architecture
Governance
Release and migration

Documentation that stays true

The reference images are captured from the running application with Playwright, not exported from Figma. Documentation that drifts from the build is worse than none — teams stop trusting it, then stop reading it.

One command regenerates every render at a consistent viewport, so the system’s own documentation cannot quietly go stale.

07 / Governance

How the system survives the people who wrote it.

Most design systems fail for organisational reasons rather than visual ones. Spine documents contribution, review, ownership and release with the same care as the components.

01
Propose

A team hits a gap and writes the case, with the workflow it blocks

02
Review

Checked against principles, accessibility and clinical safety

03
Decide

Adopt, adapt an existing pattern, or decline with the reason recorded

04
Document

States, permissions and content rules written before code

05
Release

Versioned, with a migration path for what it replaces

Declining a request is a documented outcome, not a silence. A design system that only ever says yes becomes a component dump; one that says no without a reason gets routed around. Both fail the same way — teams stop trusting it and fork.

08 / The system itself

Everything above, deployed.

A design system that only exists as a case study is a proposal. This one is built and running — fourteen chapters, five role workspaces and every state documented against the interface that implements them.

Live design system

The system, running

Not screenshots of a design file — the deployed documentation site. Jump to a chapter below, or open it full screen.

Open full screen ↗
spine-design-system.vercel.app/#overview

Loading overview…

Overview — System scope, the OPD journey and who each workspace is for.

09 / Principles

The decisions that shaped everything else.

Principle 01

The patient is never ambiguous

Identity, allergy and consent sit in a persistent bar that never scrolls away, in every workspace. Wrong-patient error is the failure mode a clinical system exists to prevent, so the answer to “who am I looking at?” cannot be more than zero clicks away.

Principle 02

Density follows role, structure does not

Reception, clinicians, diagnostics, pharmacy and operations see the same underlying object rendered at different depths. Changing the model per role would create five products; changing only the density and permissions keeps one.

Principle 03

Restricted is not the same as empty

A clinician who sees nothing assumes nothing exists. One who sees a locked record knows to ask. Distinguishing absence from denial is a safety property, and it earns its own state rather than collapsing into a blank panel.

Principle 04

Emergencies are designed for, not designed out

Break-glass access is possible, requires a stated reason, and is visible in the record afterwards. A system that makes urgent access impossible gets worked around with shared logins — which is worse than the thing it was protecting against.

Principle 05

Language is part of the interface

Clinical writing is terse for a reason, and terse writing goes wrong in specific ways. Terminology, label structure and multilingual behaviour are documented alongside components, because a correct component with the wrong words is still an unsafe screen.

Principle 06

Governance is a design deliverable

Contribution, review, ownership and release are documented as carefully as the components. A system that only says yes becomes a component dump; one that says no without a reason gets routed around. Both end in teams forking it.

Scope, honestly

Spine is a portfolio design-system case study and interface prototype built around Hospital OS, a conceptual platform. It is not production medical software and has not been through clinical validation. The demonstration data is fictional. What it is meant to show is how the safety, permission and workflow requirements of a clinical product translate into interface standards a team could actually build against.

Continue exploring

The platform Spine was built for.

Hospital OS — 11 operational domains and 42 departments, mapped from vendor research before a single screen was drawn.