MedicAl Wallet: turning any lab report into validated health data, at a cost that scales

Lab reports arrive in every layout, language and quality. MedicAl Wallet needed to extract every parameter, unit and reference range reliably, keep AI costs under control from 1,000 to 1,000,000 users, and protect medical data at every step.

Sector
Digital health
Platforms
iOS, Android, web dashboards
AI cost
€0.12 to €0.18 per 2 page report
Stack
AI Vision, Node.js, PostgreSQL, AWS

Context

MedicAl Wallet gives patients one secure, patient owned health record connected to doctors, pharmacies and laboratories, on iOS, Android and the web.

Its core promise depends on one hard problem: reading medical documents correctly. The original OCR centric flow broke on every new layout.

The challenge

  1. 01

    Unpredictable documents

    Every laboratory formats reports differently, and patients upload photos as often as PDFs.

  2. 02

    Trust

    A wrong value in a health record is worse than no value. Uncertainty has to be visible.

  3. 03

    Cost at scale

    AI per document costs must stay profitable as the user base grows.

  4. 04

    Privacy

    Medical data requires GDPR compliance, anonymisation and strict access control.

Our approach

  1. 1

    AI Vision as the primary extractor

    We replaced brittle OCR flows with AI Vision extraction, returning structured, schema validated output with a confidence score for every value.

  2. 2

    Uncertainty handled explicitly

    Low confidence extractions are flagged for review instead of being silently saved, and name mismatches between report and account are detected during processing.

  3. 3

    One canonical parameter dictionary

    A multilingual dictionary unifies values that labs report under different names, languages or spellings, so charts and trends stay reliable.

  4. 4

    Hybrid routing for growth

    Documents are routed between OCR and AI Vision by document type, confidence and cost thresholds. Stable, well known lab layouts move to OCR as volume grows, keeping cost per document low without losing quality.

  5. 5

    Security and quality

    Personal data is anonymised before it reaches any AI model, identifiable data is separated from processing pipelines, and 75%+ test coverage gates every release in CI/CD.

Architecture

Personal data is anonymised before cloud processing. Role based access, ownership checks and audit trails protect every record.

Results in detail

PhaseDelivered
1. AI driven enhancementAI Vision migration, schema validation, confidence scoring, cost monitoring, hybrid routing design, 75% test coverage, GDPR and anonymisation, security hardening
2. Platform expansionDoctor's Portal from the ground up, dashboard refactor with real time global search, full Albanian localisation, pharmacy and laboratory marketplace
3. Data and clinical featuresDatabase refactor separating analyses from parameter history, categorised doctor chat, Parameters screen with historical charts, enforced app version upgrades
4. Platform improvementsGrouped notifications, free tier upload limits, duplicate account detection, name mismatch detection, improved charts and admin views

Key results.

€0.12 to €0.18
AI cost per two page report
75%+
Automated test coverage on critical paths
1K to 1M
Active users modelled, profitable at every scale
4
Delivery phases shipped

Have a problem like this one? Talk to the engineers who solved it.

Thirty minutes with an engineer who has solved it before. You leave with a rough scope and a straight answer on fit.

Book a call