v0.4.1: optimize alarms
This commit is contained in:
parent
49c25bf5bb
commit
5b6fbb8766
6 changed files with 672 additions and 63 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Patient Monitor Simulation (PaMSim) — v0.4.0
|
||||
# Patient Monitor Simulation (PaMSim) — v0.4.1
|
||||
|
||||
A two-window, Rust/GTK4 patient-monitor simulator for teaching on Fedora Linux.
|
||||
|
||||
|
|
@ -40,11 +40,14 @@ The monitor can be resized and toggled fullscreen with **F11**; **Esc** exits
|
|||
fullscreen. On Wayland, move the monitor to the presentation screen before
|
||||
activating fullscreen. Fullscreen does not lock down the computer.
|
||||
|
||||
## Numerical alarm limits (new in v0.4.0)
|
||||
## Numerical alarm limits (v0.4.0; layout and presets updated in v0.4.1)
|
||||
|
||||
Each displayed numeric measurement has an **independent optional lower (↓) and
|
||||
upper (↑) alarm threshold** in the corresponding Admin section. Alarm fields
|
||||
are text inputs; leave a field **blank** (displayed as `off`) to disable just
|
||||
upper (↑) alarm threshold** in the corresponding Admin section. The lower
|
||||
and upper entries are placed **in the same row as the corresponding slider**.
|
||||
Derived values with no separate slider (PR, ART MAP, NIBP MAP) have their own
|
||||
compact alarm rows. The Admin window opens wider to accommodate these controls.
|
||||
Alarm fields are text inputs; leave a field **blank** (displayed as `off`) to disable just
|
||||
that threshold. With both fields blank, the whole numeric alarm is disabled.
|
||||
The value may equal either limit without triggering an alarm; only readings
|
||||
strictly below/above the respective threshold are out of range. If both limits
|
||||
|
|
@ -64,11 +67,40 @@ each channel, with an arrow for the corresponding direction. A disabled
|
|||
boundary is displayed as `---`. For instance:
|
||||
|
||||
```text
|
||||
⚠ SYS ↑180 ↓80
|
||||
MAP ↑--- ↓60
|
||||
DIA ↑--- ↓---
|
||||
⚠ SYS ↓80 ↑180
|
||||
MAP ↓60 ↑---
|
||||
DIA ↓--- ↑---
|
||||
```
|
||||
|
||||
### Alert presets
|
||||
|
||||
The **Alert presets** dropdown at the top of Admin offers **Custom** (manual)
|
||||
and **Adult**. Choosing **Adult** immediately sets all alarm limits and updates
|
||||
the lower/upper text fields alongside the sliders. It changes *only* alarm limits:
|
||||
it does not change heart rate, blood pressure, channel visibility or any other
|
||||
simulated physiological setting. Editing any alarm field after applying Adult
|
||||
switches the selector to **Custom** without changing other alarm limits. Select
|
||||
**Adult** again to reapply the complete preset.
|
||||
|
||||
| Parameter | Lower | Upper |
|
||||
| --- | ---: | ---: |
|
||||
| HR (bpm) | 60 | 100 |
|
||||
| SpO₂ (%) | 90 | --- |
|
||||
| PR (bpm) | --- | --- |
|
||||
| ART SYS (mmHg) | 80 | 180 |
|
||||
| ART MAP (mmHg) | 60 | 100 |
|
||||
| ART DIA (mmHg) | --- | --- |
|
||||
| PPV (%) | --- | 10 |
|
||||
| NIBP SYS (mmHg) | 80 | 180 |
|
||||
| NIBP MAP (mmHg) | 60 | 100 |
|
||||
| NIBP DIA (mmHg) | --- | --- |
|
||||
| EtCO₂ (mmHg) | 30 | 50 |
|
||||
| RR (/min) | 10 | 20 |
|
||||
|
||||
`---` denotes a disabled threshold. Adult is a **teaching convenience preset**,
|
||||
not a clinically validated set of alarm limits. Initially the selector is
|
||||
**Custom**, with all limits disabled (as in v0.4.0).
|
||||
|
||||
When a number violates a configured limit, **that number flashes by inverting
|
||||
its foreground and background colors** (500 ms inverted / 500 ms normal).
|
||||
Each pressure component (SYS, DIA, MAP) and the PPV reading flash independently. The waveform
|
||||
|
|
|
|||
Loading…
Reference in a new issue