Skip to main content
Case Study HealthTech · B2B Peru · 2024

OXICARE DadeMedical:
Real-Time B2B Medical Logistics

We transformed the operations of a medical oxygen distributor that managed everything with spreadsheets and phone calls. We designed and implemented a comprehensive B2B system with real-time inventory tracking, an order portal, and operational analytics that eliminated critical bottlenecks.

+70%
Operational efficiency
-60%
Management time
100+
B2B clients
99.9%
Uptime

01 — The Challenge

A critical supply chain managed with Excel and WhatsApp

DadeMedical distributes medical oxygen to clinics, hospitals, and home-care patients in Lima. A critical supply chain where an inventory failure can have direct consequences for human lives.

When they came to us, they were operating with shared Excel spreadsheets via WhatsApp, phone orders without confirmation, and no real visibility into stock levels across multiple warehouses. Operators spent hours confirming availability to B2B clients.

The technical challenge involved building a system with real-time updates (WebSockets), a multi-role B2B client portal, integration with their existing invoicing system, and a mobile app for delivery drivers — all without disrupting operations during the transition.

02 — The Solution

B2B platform with full logistics chain visibility

We designed an event-driven system with three main layers: a real-time inventory core, a B2B client portal, and an operational dashboard for the internal team. The transition used a 6-week gradual rollout to avoid any disruption.

Real-Time Inventory

Stock updated per second via WebSockets. Automatic alerts when an item reaches critical minimum stock, with severity-based escalation.

B2B Client Portal

Multi-role access: clients see real-time availability, create orders, track deliveries, and download invoices from a unified interface.

Operational Dashboard

Performance metrics, optimized delivery routes, inventory movement history, and efficiency reports per warehouse and driver.

Driver Mobile App

Offline-capable PWA that lets drivers confirm deliveries, report incidents, and update order status from the field without connectivity.

03 — Tech Stack

Event-driven architecture designed for reliability

Frontend
Next.js 14TypeScriptTailwind CSS
Real-Time
WebSocketsRedis Pub/SubSSE
Backend API
Node.jsFastifyPrisma ORM
Database
PostgreSQLRedis CacheS3
Infrastructure
AWS ECSRDSCloudFront
DevOps
GitHub ActionsDockerDatadog

04 — Process

6 months from zero to full operation without interruptions

01
Mo 1

Audit & Discovery

We mapped the complete operational flow, interviewed drivers, operators, and B2B clients. Defined system architecture and transition plan.

02
Mo 2–3

System Core

Real-time inventory engine, REST + WebSocket API, database, and alert system. Load tests simulating peak operations.

03
Mo 3–4

B2B Portal & Dashboard

Client and operator interfaces, integration with existing invoicing system. Closed beta with 5 pilot clients for validation.

04
Mo 5

Mobile App & Rollout

Offline-capable PWA for drivers. Gradual rollout by zones to avoid disruption. Internal team training.

05
Mo 6

Optimization & Stabilization

Fine-tuning based on real data, performance improvements, Datadog alert configuration, and full system documentation.

05 — Results

Transformed operation, measurable results

+70%
Overall operational efficiency
-60%
Order management time
100+
Active B2B clients on platform
99.9%
System uptime in production
<500ms
Average update latency
0
Disruptions during transition

"Before, confirming stock availability took hours. Now our clients see it in real time from their portal. Praximond understood that in our industry, response speed isn't a nice-to-have — it's a critical necessity."

— Aldo Lama, CEO · OXICARE DadeMedical · Lima, Peru

06 — Lessons Learned

What this project taught us

Gradual rollout is non-negotiable

In critical operations, never do big-bang releases. Our zone-by-zone rollout allowed us to detect and fix 3 edge cases that tests had not covered.

Design for field users first

Drivers operate one-handed, in sunlight, with intermittent connectivity. Offline support was a late decision that should have been day 1.

WebSockets are overkill without debouncing

One inventory movement triggered 12 cascading updates. Implementing debouncing and batching reduced WS traffic by 85% with no perceptible impact.

Have a Similar Project?

We can digitize your operations with the same technical rigor and focus on business continuity. Schedule a 30-minute session.