Commit Graph
6 Commits
Author SHA1 Message Date
prathiyuman e417ada576 fix: resolve stale waveform duplicates and throttle bypass for real-time streaming 2026-07-15 15:02:17 +05:30
prathiyuman 14f3d45e53 feat: real ECG/Pleth waveform streaming + clinical monitor UI redesign
- schemas.py: Add ecg_wave and pleth_wave List[int] fields to NormalizedVitals
- contec_parser.py: Extract raw 8-bit waveform samples from binary packets
  - 286/288-byte (Subtype 21): bytes[8..263] = Pleth waveform (256 samples)
  - 989-byte (Subtype 20): bytes[8..903] = ECG waveform, downsampled 4x -> 224 pts
- dashboard.html: Full clinical monitor redesign
  - Scrolling sweep waveform engine (ECG green, Pleth cyan, Resp amber)
  - Real samples fed from WebSocket ecg_wave / pleth_wave arrays
  - Synthetic fallbacks when no live data
  - Right panel: HR, SpO2, RR, NIBP, Temp with range badges
  - MRN-only verification overlay
  - Minimal-mode support for iframe embedding
2026-07-15 13:37:14 +05:30
prathiyuman 554771abfe feat: implement 4-point demographic synchronization & patient validation 2026-07-15 11:33:48 +05:30
prathiyuman f7483d615d Fix CMS8500 SpO2 offset in 288-byte packet 2026-07-13 15:52:48 +05:30
prathiyuman 84b8acc904 refactor: implement packet parsing heuristics and introduce device-level state caching to throttle database writes and vitals updates 2026-07-11 14:24:14 +05:30
rkcsh a4972b3251 Implement patient vital signs monitoring system with Contec CMS7000PLUS integration and real-time dashboard 2026-07-08 14:14:03 +05:30