v0.5.7 — Four-group numerical measurement row

This commit is contained in:
GABRIEL Sebastian 2026-11-12 16:02:08 +01:00
commit a09cd2c4ee
7 changed files with 478 additions and 47 deletions

View file

@ -1,4 +1,4 @@
# Patient Monitor Simulation (PaMSim) — v0.5.4
# Patient Monitor Simulation (PaMSim) — v0.5.7
A two-window, Rust/GTK4 patient-monitor simulator for teaching on Fedora Linux.
@ -6,6 +6,23 @@ A two-window, Rust/GTK4 patient-monitor simulator for teaching on Fedora Linux.
> plethysmography and capnography are schematic mathematical approximations. The
> simulation has no clinical validation and is not a medical device.
## Monitor layout (v0.5.7)
The monitor uses a fixed **3:1 column ratio** over the drawable area:
**75% waveform column / 25% numeric column**, regardless of window size.
The last row is reserved for four equal-width numerical measurement groups:
| Group 1 (25%) | Group 2 (25%) | Group 3 (25%) | Group 4 (25%) |
| --- | --- | --- | --- |
| CO / CI | SVRI · GEDI · ELWI | *(empty)* | NIBP |
The first two groups currently display only their headings, with no numerical
values or simulation logic. The third group is completely empty. The fourth
retains the existing red NIBP readings, cuff gauge, progress bar and alarms.
The NIBP visibility toggle hides **only the fourth group's content**; the
bottom measurement row and other three groups remain present. Disabling one
of the four waveform channels still reflows the remaining rows above it.
## Chest compressions (v0.5.4)
The **Chest compressions** Admin group provides a large **Start Chest Compressions**
@ -80,10 +97,11 @@ Long names are automatically resized or clipped to fit the header.
Waveforms and vital signs disappear together when their respective
visibility checkbox is cleared. Remaining waveform rows expand to use the space.
Hiding a display channel does **not** stop signal generation or physiological
coupling: for example, hiding ECG does not stop ART or pleth pulses. NIBP occupies a dedicated right-column row with an **empty waveform cell** on the
left. All waveform rows and their corresponding numeric boxes share the same
height and horizontal boundaries. NIBP can be hidden independently; its entire
row is then removed and the remaining rows expand evenly.
coupling: for example, hiding ECG does not stop ART or pleth pulses.
The final row is split into four equal-width measurement groups, with **NIBP in
the fourth group**, aligned beneath the regular numeric column. The first
three groups are reserved for future measurements. Hiding NIBP only clears
its own fourth group, without removing the final row.
The monitor can be resized and toggled fullscreen with **F11**; **Esc** exits
fullscreen. On Wayland, move the monitor to the presentation screen before
@ -236,8 +254,8 @@ can be taught.
## NIBP measurement cycle (v0.5.0)
NIBP is **red**, with a dedicated value box in the **right-hand numeric column**.
An **empty left-hand waveform cell** occupies the same row, keeping every numeric
value box horizontally aligned with its waveform region. The previous static
The bottom measurement row has three placeholder groups to its left, keeping
NIBP aligned with the standard right-hand numeric column. The previous static
NIBP footer has been removed. In Admin, choose an interval
of **1, 3, 5, 10, 20, 30, or 60 minutes** (default 5). The initial cuff cycle
begins when the simulation starts; subsequent intervals run **from the end of
@ -366,9 +384,10 @@ The five **Show on monitor** checkboxes affect the presentation only:
| Capnography | CO₂ waveform, EtCO₂ and RR |
| NIBP | Timed cuff-measurement values and red right-column value box |
Remaining visible waveform rows and the NIBP-only row share an equal
Remaining visible waveform rows and the bottom measurements row share an equal
portion of the available height and remain aligned across both columns; zero
waveform channels is supported.
waveform channels is supported. Hiding NIBP leaves the three future measurement
placeholders visible.
## ECG morphology correction (v0.3.1)
@ -500,3 +519,11 @@ The delayed CPR pleth waveform no longer wraps its trailing portion into the nex
### v0.5.6 — CPR pleth filter persistence
Corrects the underlying cause of the v0.5.5 test failure: in pulseless rhythms, the simulation had reset the pleth low-pass filter at every 250 Hz sample, preventing CPR-induced signals from accumulating. The filter now persists during good-quality chest compressions while QRS-triggered mechanical pulses are still cleared. Stopping CPR in VF/PVT immediately restores no reading. Additional regression coverage includes PVT.
### v0.5.7 — Four-group numerical measurement row
The monitor now uses a 75%/25% waveform/numeric column split. The final
row has four equally sized measurement groups: CO/CI; SVRI/GEDI/ELWI;
reserved empty; and the unchanged NIBP readout. Only headings are rendered
in the first two groups; the third has no content. NIBP can be hidden without
removing the final row. No physiological simulation behavior was modified.