Platform modules
One platform. Twelve modules. Built for UK medical cannabis.
ClinicalFlow is a modular monolith — one deployable app with strict internal boundaries enforced in code. Each module below maps to a published ADR or PRD in our design corpus.
Multi-tenancy
Every record carries a tenant_id; access is gated by TenantScopedDb. Cross-tenant clinician membership supported for shared care across organisations.
Identity & RBAC
Passport.js session auth, 2FA TOTP, role-aware portals. Patients, nurses, specialists, pharmacist IPs, dispensing pharmacists, tenant admins, platform admins.
Patient journey
Self-registration, eligibility screening, consent capture, consultation booking, ongoing care.
SCA authoring
Specialists author Shared Care Agreements with explicit GREEN/AMBER/RED limits on indication, product, dose and review cadence.
SCA enforcement engine
Evaluates every prescription at write-time and dispense-time. GREEN auto-approves, AMBER warns, RED blocks and escalates.
Wet-ink prescribing (FP10PCD)
MHRA-compliant Schedule 2 wet-ink flow. SignatureProvider abstraction lets us swap to digital when permitted.
Dispensing
Dispense queue, FP10PCD verification, partial dispensing, returns. Built for real pharmacy operations.
CD register & inventory
Schedule 2 controlled-drug register, batch and stock tracking, reconciliation reports.
Pharmacy connectivity
Takoda1 PMR onboarding first; generalised provider interface for further UK pharmacy management systems.
Escalation workflow
AMBER/RED prescription events auto-route from pharmacist IPs back to the supervising specialist with full context.
Audit emitter & ClinicalScopedDb
Tamper-evident audit on every clinical write. Commercial admins physically cannot read clinical records.
Reporting, DSPT & DSAR
Compliance portal, audit reports, DSAR tooling, CQC and DSPT evidence packs.
Want the deep dive?
Our design corpus includes 38 PRDs, 10 ADRs and 9 architecture diagrams. We'll walk you through the modules relevant to your role on a call.
Book a technical walkthrough