moce patches

This commit is contained in:
GABRIEL Sebastian 2026-11-13 10:59:24 +01:00
commit 5665d68db0
37 changed files with 1472 additions and 570 deletions

View file

@ -1,4 +1,4 @@
# Patient Monitor Simulation (PaMSim) — v0.6.7
# Patient Monitor Simulation (PaMSim) — v0.6.8
A Rust/GTK4 patient-monitor simulator with two main windows for teaching on Fedora Linux.
@ -6,6 +6,29 @@ A Rust/GTK4 patient-monitor simulator with two main windows for teaching on Fedo
> plethysmography and capnography are schematic mathematical approximations. The
> simulation has no clinical validation and is not a medical device.
## Header controls: selective alarm pause and settings (v0.6.8)
Two touch/mouse controls are drawn at the far right of the monitor header:
- **Yellow bell (rightmost):** pauses only the *currently active* audible
alarm conditions for **120 seconds**. The caption `paused for x s` counts
down the remaining seconds. Pressing the bell again replaces the suppressed
set with the conditions active at that moment and restarts the 120-second
timer. A newly triggered alarm condition sounds normally, even if another
alarm of the same priority is paused. When a condition clears, it loses its
paused status so a later recurrence can sound. Pauses never change visual
alarms or the separate beat-synchronous QRS sound. Pressing the bell when
no alarms are active does not start a countdown.
- **Gear (left of bell):** opens a black/light-grey monitor-side settings panel
with **QRS beep**, **Audible alarms**, **Alert presets** (`Custom`, `Adult`),
an editable **Patient name** field and the attribution
`PaMSim by Critical Care Club Austria, (c) 2026`. It does **not** create
an on-screen keyboard. **Apply** synchronizes settings with Admin;
**Cancel/Esc** discards changes. The Adult preset affects alarm limits only.
Other channel touch menus are unchanged. NIBP retains its explicitly requested
manual measurement, automatic measurement and interval controls.
## Smooth HR transitions (v0.6.7)
Changing the HR slider now preserves the recent history of *mechanically
@ -703,3 +726,13 @@ saturation determines the pitch in eleven steps from 740 to 87 Hz; otherwise
ECG QRS or ART pulses trigger a fixed 500 Hz tone. The two-tone alarm sounds
remain unchanged. Added regression tests for band boundaries, event selection
and single-tone WAV output.
### v0.6.8 — Monitor header controls and selective audible-alarm pause
Added a yellow bell button with a 120-second pause countdown and a grey settings
gear to the monitor header. The pause suppresses only alarm conditions active
when pressed, with automatic un-silencing of new/recurrent conditions; visual
alarms and QRS tones continue. The global monitor settings window contains
QRS and audible-alarm switches, alert preset selection, patient name and
attribution, and synchronizes its changes with Admin.