In Development

CPET Platform

Digital transformation of cardiopulmonary exercise test data

cpet-platform
cpet-platform

The Problem

📄

Paper-Based CPET Reports

Cardiopulmonary exercise test results were printed on paper or saved as static PDFs, making it impossible to search, compare, or digitally process the data for longitudinal analysis.

📉

No Trend Analysis

Without digitized historical data, clinicians couldn't track patient progress over multiple tests. Comparing VO2max improvements or fat oxidation changes across months required manually pulling archived files.

✍️

Manual Data Entry

Breath-by-breath metabolic data from COSMED K5 equipment was manually transcribed into spreadsheets, introducing transcription errors and consuming valuable clinical time.

Before

Paper printouts and static PDFs for CPET results

After

Digital reports with interactive charts and automated analysis

Before

Manual spreadsheet transcription of breath-by-breath data

After

Direct data import from COSMED K5 with automated processing pipeline

Before

No way to compare patient results across multiple test sessions

After

Longitudinal trend analysis with VO2max and FATMAX progression tracking

Approach

Structured Data Pipeline for Clinical Precision

The platform ingests raw breath-by-breath data from COSMED K5 equipment and processes it through a standardized pipeline: parsing raw CSV exports, applying smoothing algorithms (30-second rolling averages), calculating derived metrics (VO2max, VT1/VT2, FATMAX), and generating publication-quality reports. TimescaleDB hypertables store time-series data efficiently, enabling sub-second queries across thousands of data points per test. UUID-based patient identification with encrypted subject names ensures HIPAA-compliant data handling throughout the pipeline.

Define
Execute
Collect
Report

BDD Pipeline Flow

Key Features

test-data-entry
test-data-entry

Test Data Entry

Streamlined interface for importing breath-by-breath metabolic data from COSMED K5 exports. Supports multiple test protocols (Bruce, Ramp) with automatic parameter detection and validation of physiological ranges.

automated-report-generation
automated-report-generation

Automated Report Generation

One-click generation of comprehensive CPET reports including VO2max, ventilatory thresholds (VT1/VT2), FATMAX zone, and exercise prescription. Exports to PDF with publication-quality charts and clinical interpretation guidelines.

patient-trend-analysis
patient-trend-analysis

Patient Trend Analysis

Longitudinal visualization of patient progress across multiple CPET sessions. Track VO2max improvements, fat oxidation rate changes, and ventilatory threshold shifts over weeks and months with interactive comparison charts.

multi-protocol-support-(bruce,-ramp)
multi-protocol-support-(bruce,-ramp)

Multi-Protocol Support (Bruce, Ramp)

Supports industry-standard exercise protocols including Bruce (staged treadmill) and Ramp (continuous incremental). Protocol-specific analysis templates ensure accurate threshold detection regardless of test methodology.

Architecture

SPAREST APITime-series SQLReport ExportCSV Import
Browser
React + Vite
FastAPI
PostgreSQL + TimescaleDB
PDF Generation
COSMED K5 Data
Client
Server
Database
Service
External

Results

B×B
Breath-by-Breath

High-frequency metabolic data processing from COSMED K5

PDF
Digital Reports

Automated publication-quality CPET reports

2+
Test Protocols

Bruce and Ramp protocols with protocol-specific analysis

UUID
Patient Tracking

Encrypted identification for compliant longitudinal tracking