- Index:
- 02
- Industry:
- Healthcare & Legal
- Year:
- 2025
- Duration:
- Ongoing
- Status:
- Ongoing
MEDICO
A purpose-built, ongoing case management platform for medical-legal expert witnesses, from multi-tenant architecture and AI-powered report drafting to full NHS compliance documentation. Currently extending the software with a Google Maps API integration that auto-calculates mileage and travel time for accurate, fully automated invoices.
| Ref | Claimant | Instructing party | Status |
|---|---|---|---|
| MC-1042 | R. Adeyemi | Glenmuir Legal | Drafting |
| MC-1039 | J. Mackay | Struan Reid LLP | Records |
| MC-1035 | S. Boyle | Kinloch Partners | Review |
| MC-1031 | H. Farooq | Glenmuir Legal | Served |
| MC-1028 | A. Ferguson | Marwick Fyfe | Drafting |
| MC-1024 | L. Chisholm | Kinloch Partners | Closed |
| MC-1021 | K. Nesbitt | Struan Reid LLP | Records |
Medical-legal work sits at the intersection of healthcare, law, and business, and the tooling has never kept up. Practitioners were juggling spreadsheets, email threads, and generic CRMs to manage complex caseloads. Every case passes through up to 20 workflow stages, involves multiple parties, and must produce court-ready reports to exacting standards. On top of that, the sector demands full UK GDPR compliance, NHS data security frameworks, and clinical risk management documentation. No purpose-built solution handled all of this.
We designed MEDICO as a multi-tenant platform from the ground up with full data isolation per practice. The centrepiece is an AI transcription pipeline, doctors upload consultation audio, which flows through OpenAI Whisper for transcription and GPT-4o for intelligent report formatting, producing a structured medico-legal report draft in minutes instead of hours. The pipeline supports custom medical vocabulary per tenant and learns from corrections over time. We paired this with a visual Kanban board tracking cases through 20 workflow statuses, a practice CRM, financial management with Xero integration, appointment scheduling, and automated communications, all wrapped in role-based access across four permission tiers.
Platform Architecture & Multi-Tenancy
We laid the foundation with a multi-tenant architecture that gives each medical practice its own fully isolated environment, separate data, separate configurations, separate branding. Row-level security ensures one practice can never see another's data.
- →Multi-tenant architecture with complete data isolation per practice
- →Row-level security enforced at the database layer
- →Four role-based permission tiers tailored to medical-legal workflows
- →Tenant provisioning that onboards new practices with zero infrastructure changes
| Ref | Claimant | Instructing party | Status |
|---|---|---|---|
| MC-1042 | R. Adeyemi | Glenmuir Legal | Drafting |
| MC-1039 | J. Mackay | Struan Reid LLP | Records |
| MC-1035 | S. Boyle | Kinloch Partners | Review |
| MC-1031 | H. Farooq | Glenmuir Legal | Served |
| MC-1028 | A. Ferguson | Marwick Fyfe | Drafting |
| MC-1024 | L. Chisholm | Kinloch Partners | Closed |
| MC-1021 | K. Nesbitt | Struan Reid LLP | Records |
Case Management & Workflow Engine
The heart of the platform is a visual Kanban board that tracks every case through up to 20 workflow stages, from initial instruction through examination, report drafting, review, and final submission. Each case maintains a full audit trail.
- →Visual Kanban board tracking cases through 20 workflow stages
- →Full audit trail for every case action, status changes, uploads, and communications
- →Automated notifications to solicitors and team members at key milestones
- →Practice CRM with solicitor and referring party management
- →Appointment scheduling with calendar integration
AI Transcription & Report Generation
The feature that changes everything. Doctors upload consultation audio, and the AI pipeline produces a structured medico-legal report draft in minutes, not hours. OpenAI Whisper handles transcription with custom medical vocabulary, then GPT-4o formats the output into a court-ready report structure.
- →AI transcription pipeline turning consultation audio into structured report drafts
- →Custom medical vocabulary per tenant, the system learns specialist terminology
- →Version-controlled reports with full revision history
- →Doctor signature support for court-ready PDF generation
- →Correction learning, the pipeline improves from practitioner edits over time
Mr Adeyemi presents today for an independent orthopaedic assessment following a road traffic collision in March. Can you describe how the accident happened?
I was stationary at the lights when a van struck the rear of my vehicle. My neck and lower back have been sore ever since, it has not really settled.
On examination there is reduced cervical rotation to the left, approximately 60% of expected range, with paraspinal tenderness at C5 to C7.
It is worse first thing in the morning and after sitting at a desk for long periods. I have had six sessions of physiotherapy so far.
Understood. I would expect a further course of physiotherapy alongside a graduated return to normal activity, with review in twelve weeks.
Financial Management & Integrations
We connected the platform directly to the business side of each practice. Xero integration keeps invoicing and accounting in sync without double entry. The financial dashboard gives practice managers real-time visibility into outstanding invoices, revenue by case type, and payment timelines.
- →Two-way Xero integration for invoicing and accounting
- →Configurable fee schedules per practice and case type
- →Financial dashboard with real-time revenue and payment visibility
- →Automated invoice generation tied to case milestones
- →Background job processing via BullMQ for reliable sync and report generation
| Invoice | Case | Amount | Status |
|---|---|---|---|
| INV-2118 | MC-1042 | £1,850 | Sent |
| INV-2117 | MC-1039 | £2,400 | Overdue |
| INV-2116 | MC-1035 | £1,200 | Paid |
| INV-2115 | MC-1031 | £3,150 | Paid |
| INV-2114 | MC-1028 | £980 | Draft |
| INV-2113 | MC-1024 | £2,700 | Paid |
NHS Compliance & Security
Healthcare software in the UK must meet some of the strictest regulatory standards in any sector. We delivered the full compliance documentation pack, NHS DSPT, DCB0129 and DCB0160, and 14 formal compliance documents, all without engaging separate compliance consultants.
- →NHS Data Security and Protection Toolkit (DSPT) compliance
- →DCB0129 and DCB0160 clinical risk management documentation
- →14 formal compliance documents delivered as part of the project
- →Encryption at rest and in transit across all data
- →Comprehensive audit logging and configurable data retention policies
| Time | User | Action | Case |
|---|---|---|---|
| 09:41 | D. Okafor | Viewed case file | MC-1042 |
| 09:38 | Dr. N. Whitfield | Uploaded report draft | MC-1042 |
| 09:12 | M. Pryce | Exported invoice PDF | INV-2116 |
| 08:55 | D. Okafor | Updated case status | MC-1039 |
| 08:30 | System | Nightly backup completed | ALL |
| 08:02 | K. Ross | Downloaded medical records | MC-1035 |
| 07:48 | D. Okafor | Logged in (MFA) | n/a |
| 07:31 | L. Grant | Amended expert details | MC-1031 |
| 07:05 | System | Retention sweep executed | ALL |
Google Maps & Automated Invoicing (In Progress)
The current build phase. We are integrating the Google Maps API directly into the invoicing engine so every case visit, home consultation, and tribunal appearance is billed with pinpoint accuracy. Mileage, routes, and travel time are calculated from verified postcodes and fed straight into the invoice, no spreadsheets, no manual entry, no disputes. The result is invoices that are more detailed, more defensible, and fully automated end-to-end.
- →Google Maps Distance Matrix and Directions APIs wired into the case engine for precise mileage and drive-time calculation
- →Travel and mileage fees auto-populated onto invoices against each practice's configured rate card
- →Multi-stop route optimisation for doctors visiting several claimants in a single day
- →Cached distance lookups with an audit trail, every charge can be traced back to a verified route
- →Tight integration with the existing Xero sync so automated invoices flow through to accounting without a second touch
- 01Report drafting time cut from hours to minutes, freeing practitioners to focus on clinical judgment instead of admin
- 02Replaced a patchwork of spreadsheets and generic tools with one purpose-built system covering the entire case lifecycle
- 03Full compliance documentation pack delivered, NHS DSPT, DCB0129/DCB0160, and 14 formal compliance documents, without engaging separate consultants
- 04Multi-tenant architecture onboards new practices with complete data isolation, zero infrastructure changes per tenant
- 05Version-controlled reports with doctor signature support produce court-ready PDFs to professional medico-legal standards
- Frontend
- Next.js with React, server-side rendering and static generation
- Backend
- NestJS with modular service architecture and dependency injection
- Database
- PostgreSQL with Prisma ORM, row-level security, and schema-level tenant isolation
- Infrastructure
- Azure with Terraform-managed infrastructure as code
- Job Processing
- Redis + BullMQ for background transcription, report generation, and sync tasks
- Multi-Tenancy
- Full data isolation per practice with shared infrastructure and per-tenant configuration
- OpenAI Whisper
- Audio transcription with custom medical vocabulary per tenant
- GPT-4o
- Intelligent report formatting and structured medico-legal output
- Xero
- Two-way accounting sync, invoices, payments, and reconciliation
- Google Maps API
- Distance Matrix and Directions APIs feed live mileage, travel time, and route data into the invoicing engine for accurate, automated billing
- Email & Notifications
- Automated communications to solicitors and team members at case milestones
- Report Generation
- Consultation audio to structured draft in minutes, not hours
- Tenant Provisioning
- New practices onboarded with zero infrastructure changes
- Background Processing
- BullMQ queues handle transcription and sync without blocking the UI
- Data Isolation
- Row-level security ensures zero cross-tenant data leakage
- →TypeScript strict mode across frontend and backend
- →Full NHS DSPT and DCB0129/DCB0160 compliance
- →UK GDPR compliant with configurable data retention
- →Comprehensive audit logging on all sensitive operations
- →Role-based access control across four permission tiers
- →Infrastructure as code via Terraform
- Next.js
- NestJS
- TypeScript
- PostgreSQL
- Prisma
- OpenAI Whisper
- GPT-4o
- Google Maps API
- Redis
- BullMQ
- Azure
- Terraform
Flora & Fable Floristry
Brand identity, bespoke e-commerce storefront, postcode delivery engine, and self-service admin dashboard for a Glasgow floristry business.
favicon & van decal
- · Grown-up and gentle, never twee
- · Sentence case for headings, no exclamation marks
- · Name the flowers, name the grower where we can
Have a project?
Web, software and brand work for businesses across the UK. Tell us what you are building.
Glasgow GFX Print Studio
- Visit
- The Pentagon Business Centre
Unit 204b, 36–38 Washington Street
Glasgow G3 8AZ - Call
- 0141 345 5841
- Hours
- Mon–Fri 9:00–18:00
Sat 10:00–18:00
Sun closed - Service area
- Glasgow, Hamilton, Paisley, East Kilbride, Motherwell. Free delivery across Central Scotland on orders over £50.