Counterweight patient dashboard — weight tracking, goals and latest readings
Digital Health · NHS · Case Study

Digitizing World-Class Clinical
Protocols for National Scale

ClientCounterweight Ltd.
LocationUnited Kingdom
IndustryDigital Health / NHS
Partnership5+ years (since 2020)
Counterweight Ltd. logo
Flutter (Mobile + Web)Offline-First ArchitectureNHS Compliance & DtACBackend Redesign (REST API)MFA & Security HardeningSanity CMS IntegrationGetStream Chat

Context

Counterweight is a UK-based digital health provider specializing in evidence-based weight management and Type 2 diabetes remission. Their clinical credibility is world-class — their core protocol supplied the intervention arm for the landmark DiRECT trial, the largest randomized controlled trial for T2D remission to date.

Despite a clinically proven programme partnered with the NHS, Counterweight's growth was being crippled by manual, non-scalable internal processes. The early tech prototype lacked the robustness needed for large-scale patient management.

Counterweight — clinician-led digital health programme

The Challenge

A Clinical Triumph Blocked by Technical Limitations

Drowning in Manual Workflows

Dietitians were buried in manual onboarding processes and spreadsheet-based patient tracking — making scaling beyond a small cohort practically impossible.

Operations · Scalability

Data Loss in the Field

Patients frequently experienced unreliable internet connectivity, causing data loss when logging daily biometrics — a critical failure point for adherence in chronic care programmes.

Offline · Patient Safety

NHS Security Requirements

To secure larger NHS contracts, the platform urgently needed enterprise-grade security: penetration testing, DtAC compliance, MFA, and device integrity checks.

NHS · DtAC · Compliance

Fragile Early Architecture

The early microservices/GraphQL prototype lacked robustness for large-scale patient management, creating instability as the programme grew.

Architecture · Reliability

Our Role

MaxyLogic approached this not just as coders, but as a strategic HealthTech partner — transforming Counterweight's clinical protocols into a scalable digital ecosystem without compromising medical programme integrity.

Platform architecture redesignNHS compliance & DtAC preparationFlutter cross-platform developmentOffline-first engineeringDietitian web portalSanity CMS integrationSecurity hardening & PEN testing support5+ year ongoing partnership

Solution — Two Phases

Phase 1

NHS Compliance & Architecture

We transitioned the backend from a fragile microservices/GraphQL setup to a highly stable monolithic REST API — dramatically improving reliability and reducing operational complexity. Simultaneously we prepared the platform for NHS information security reviews.

  • Backend simplified to stable REST API monolith
  • MFA implementation & rooted/jailbreak device detection
  • Security penetration testing & DtAC submissions supported
Counterweight app — log weight biometric screen

Phase 2

Flutter + Offline-First Patient App

Using Flutter, we built a high-performance patient app for iOS and Android, later extending the exact same core logic to Desktop/Web — a single codebase for every platform. The offline-first architecture was the defining technical achievement.

  • Offline access to educational modules & biometric logging
  • Conflict-safe sync when connectivity returns — zero data loss
  • One Flutter codebase: iOS, Android & Web/Desktop
Counterweight patient app — home dashboard with latest readings
Counterweight — patients supported by the digital health programme

Core Platform Features

The unified digital ecosystem now seamlessly connects patients, dietitians, and e-commerce in a single, clinically integrated platform.

Patient App

  • Biometric logging — weight, BP, HbA1c, mood
  • Rich educational content with audio & video
  • Habit tracking & goal setting
  • Real-time chat with dietitian (GetStream)
  • Offline-first with zero data loss

Dietitian Command Centre

  • Centralized patient cohort management
  • Automated content release schedules (Sanity CMS)
  • Clinical progress monitoring
  • Appointment & workflow management
  • Admin & reporting dashboard

Integrated E-commerce

  • In-app ordering of meal replacement products
  • Clinically designed supplement range
  • Seamless checkout within patient journey
  • Order history & subscription management
Counterweight — dietitian and patient real-time chat interface
Counterweight app — educational article page

Article & Education

Counterweight app — log weight screen

Biometric Logging

Counterweight app — my progress chart

Progress Tracking

Counterweight — NHS programme scale and patient outcomes

Business Impact

From a manually operated clinical programme to a national-scale digital health service — serving multiple NHS regions.

NHS

National expansion — platform secured contracts across multiple NHS regions including North West London, Cornwall, and Suffolk

100 → 1000s

Platform scaled from fewer than 100 active patients to thousands, drastically reducing dietitian onboarding complexity

86%

T2D remission rate among target achievers — supported by high patient engagement and biometric tracking in the app. ~50% discontinued diabetes medications entirely.

Counterweight app — my progress chart
Counterweight patient app — home dashboard

MaxyLogic is highly organized, structured, and always meets deadlines. They're a team player who helped us design and develop our mobile offering. Very responsive to fix issues in a timely way and transparent in their work.

L

Laura Sloman

CEO · Counterweight Ltd.

NHS Security & Compliance

Built to NHS Standards

Healthcare platforms operating within the NHS face among the most stringent security and compliance requirements in the world. Every architectural decision we made was designed to pass these reviews and unlock access to larger NHS contracts.

DtAC (Digital Technology Assessment Criteria) preparation
Security penetration testing supported and passed
Multi-factor authentication (MFA) across all user types
Rooted & jailbroken device detection for clinical integrity
Audit logging for all clinically sensitive data operations
Sanity CMS for secure, controlled content release

DiRECT Trial Protocol

Counterweight's clinical programme supplied the intervention arm for the DiRECT trial — the largest RCT for Type 2 diabetes remission. MaxyLogic digitised that world-class protocol at national scale.

Tech stackFlutter · REST API · GetStream · Sanity CMS · MFA · DtAC · iOS · Android · Web

Translate Your Clinical Vision Into a Scalable Platform

At MaxyLogic, we don't just build apps — we translate complex clinical protocols into highly secure, scalable digital products that improve patient lives. Let's build yours.