Remote Patient Monitoring Demo

Single-file browser simulation of BLE proximity payload, double-signing, validation, replay checks, and immutable-style in-memory ledger.

Ready.
1
Initialize
2
Measure
3
Review Ledger

Devices / Actors

Peripheral Medical Device

BLE sensor capturing measurements and creating the first signed payload.

Central Device

Patient phone or central processor receiving BLE payloads and applying a second signature.

Validator Network

Healthcare-provider validators that verify signatures, proximity, and replay constraints.

Ledger

Blockchain-style storage for accepted and validated measurement records.

Clinician Dashboard

Provider system consuming validated records for monitoring and decisions.

Current Local Demo Architecture

flowchart LR

UI Portal UI
portal.html
-->
API Local Demo API
portal-server.js
simulate peripheral-->
BLE BLEService.js
simulated peripheral
sign / verify-->
CRYPTO CryptoUtils.js
sign/verify
validation + replay checks-->
BC BlockchainService.js
validation + replay checks
-->
MEM In-memory Ledger

Intended System Architecture (Target)

flowchart LR

D Peripheral Device
BLE sensor
signed measurement-->
C Central Device
phone/app
add central signature + timestamp-->
V PoA Validators
healthcare providers
validate rules, signatures,
proximity, replay-->
M Measurement Contract
-->
L Immutable Ledger
-->
H Provider Systems / Dashboard

Flow (End-to-End)

  1. Peripheral captures measurement and signs payload.
  2. Central receives via BLE (proof-of-proximity signal), adds timestamp, signs again.
  3. Validator checks:
    • peripheral signature valid
    • central signature valid
    • proximity window valid
    • challenge not replayed
  4. If valid, record is accepted and written to ledger.
  5. Providers query/read validated records.

3D Activity View (Live Demo Pipeline)

Animated scene of Peripheral → Central → Validators → Ledger → Dashboard. Submit a measurement to watch packets move through the system.

Actors: Peripheral, Central, Validators, Ledger, Dashboard
Camera auto-orbits. Green packets = accepted. Red = rejected.
Live Metrics
Total attempts0
Accepted0
Rejected0
Ledger records0
Last statusReady
Node Details

Peripheral Device

BLE sensor that signs the initial measurement payload.

  • Role: data origin
  • Current status: waiting for measurement
Click any node label for details.
Simplified 3D representation for communication and debugging, aligned to the local demo and target architecture.

Capture & Validate

1) Device & Validator Setup

2) Measurement

3) Ledger

In-memory only Records disappear on page refresh.

Tx Hash Measurement Timestamps Validator Challenge (hashed)