Dialysis Calc

Fluid removal tracking for hemodialysis patients

Pebble Smartwatch Medical Utility Open Source
PRE-TREATMENT
Pre: 75.3 kg
Dry: 72.0 kg
Time: 3:30
Delta: 0.2 kg
K: 3.3 kg
UFR: 0.94/hr
Range: 3.1-3.5
POST-TREATMENT
Post: 72.1 kg
Removed: 3.2 kg
Goal: 3.3 kg
Var: -0.1 kg
Achieved: 97.0%
DIALYSIS CALC
K: 3.3 kg
UFR: 0.94/hr
Time Round

Features

Pre-Treatment Calculations

Enter your pre-treatment weight and dry weight target to automatically calculate fluid removal goals, UFR, and expected ranges.

📈

Real-Time Metrics

View ultrafiltration rate (UFR), optimistic and pessimistic removal estimates, and goal targets at a glance during treatment.

Post-Treatment Analysis

Track actual fluid removal, calculate variance from goals, and see your achievement percentage with color-coded feedback.

💾

History Storage

Automatically stores up to 15 treatment records in a circular buffer for trend analysis and record keeping.

🔄

Session Recovery

Automatically resume interrupted treatment sessions. Your data is preserved even if you exit the app mid-treatment.

Always On Your Wrist

Quick, discrete access to treatment metrics without reaching for your phone during 3-4 hour dialysis sessions.

Treatment Workflow

1

Enter Pre-Treatment Data

Input your current weight, dry weight target, treatment duration (1-8 hours), and delta tolerance (0.2 or 0.4 kg). The app calculates your goal removal (K), UFR, and expected range.

2

Monitor During Treatment

Reference your calculated metrics at any time during your dialysis session. The app stays ready on your wrist for quick checks.

3

Record Post-Treatment Weight

Long-press SELECT to move to post-treatment. Enter your final weight to see actual removal, variance from goal, and achievement percentage.

4

Save and Review

Press SELECT to save the treatment to history. Your data is stored for future reference, and the app resets for your next session.

Supported Devices

Pebble Original / Steel

Aplite Platform
144x168 monochrome

Pebble Time / Steel

Basalt Platform
144x168 64-color LCD

Pebble Time Round

Chalk Platform
180x180 circular LCD

Technical Specifications

Specification Value
Memory Footprint < 10 KB RAM
Persistent Storage ~1 KB (15 treatment records)
Weight Input Range 30.0 - 200.0 kg (0.1 kg precision)
Treatment Duration 1 - 8 hours (15-minute increments)
Delta Options 0.2 kg or 0.4 kg
History Capacity 15 treatments (circular buffer)
Numerical Precision Fixed-point arithmetic (no floats)

Get Dialysis Calc

Download the app or build from source

Download .pbw View on GitHub

Transfer the .pbw file to your phone and open with the Pebble app to install.

Building from Source

# Clone the repository
git clone https://github.com/grahamg/dialysis-pebble-app.git
cd pebble-app

# Build for all platforms
./pebble.sh build

# Install to emulator
./pebble.sh install --emulator basalt

# Install to watch via phone
./pebble.sh install --phone <phone-ip-address>

Medical Disclaimer

This application is intended as a convenience tool for tracking dialysis treatment metrics. It is not a medical device and should not be used as a substitute for professional medical judgment. Always follow your healthcare provider's instructions for dialysis treatment management.