MEDICO
Client
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.
The Journey
Phase 1
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
Phase 2
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
Phase 3
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
Phase 4
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
Phase 5
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
Phase 6
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
Results
0%
Faster report drafting
0
Case workflow stages
0
Compliance documents delivered
0
Staff permission tiers
Report drafting time cut from hours to minutes — freeing practitioners to focus on clinical judgment instead of admin
Replaced a patchwork of spreadsheets and generic tools with one purpose-built system covering the entire case lifecycle
Full compliance documentation pack delivered — NHS DSPT, DCB0129/DCB0160, and 14 formal compliance documents — without engaging separate consultants
Multi-tenant architecture onboards new practices with complete data isolation, zero infrastructure changes per tenant
Version-controlled reports with doctor signature support produce court-ready PDFs to professional medico-legal standards
Start a project
Have something in mind?
Whether it's a new website, a custom software system, or a brand refresh — let's talk about how we can help.
Start a Conversation