v0.4.2: add PVT
This commit is contained in:
parent
5b6fbb8766
commit
5e397019fc
8 changed files with 727 additions and 51 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Patient Monitor Simulation (PaMSim) — v0.4.1
|
||||
# Patient Monitor Simulation (PaMSim) — v0.4.2
|
||||
|
||||
A two-window, Rust/GTK4 patient-monitor simulator for teaching on Fedora Linux.
|
||||
|
||||
|
|
@ -130,7 +130,7 @@ Admin → **Pulse oximetry** has two additional controls:
|
|||
|
||||
| Setting | Pleth waveform | Monitor display |
|
||||
| --- | --- | --- |
|
||||
| **0 — None** | No waveform | SpO₂ `--`, PR `--`, **NO SIGNAL**; no stars |
|
||||
| **0 — None** | No waveform | Flashing **NO READING**, PR `--`; no stars |
|
||||
| **1 — Poor** | Small, irregularly amplitude-distorted pulse | 1 star (★) |
|
||||
| **2 — Adequate** | Medium, smoothly damped pulse | 2 stars (★★) |
|
||||
| **3 — Good** | Full nominal, smoothly damped pulse | 3 stars (★★★) |
|
||||
|
|
@ -143,7 +143,7 @@ remains derived from mechanically captured QRS complexes.
|
|||
|
||||
The degraded waveform uses deterministic, smoothly interpolated pseudo-noise
|
||||
that scales only existing pleth pulses: it cannot manufacture pulses during
|
||||
PEA, ventricular fibrillation or asystole. Unplugging a sensor or selecting
|
||||
PEA, PVT, ventricular fibrillation or asystole. Unplugging a sensor or selecting
|
||||
quality 0 hides even previously buffered pleth samples immediately. ECG and
|
||||
ART continue unaffected. The **Show on monitor** checkbox still hides the
|
||||
entire SpO₂ row; sensor/quality controls leave the row visible so the status
|
||||
|
|
@ -151,15 +151,18 @@ can be taught.
|
|||
|
||||
## ECG and mechanical coupling
|
||||
|
||||
- ECG rhythms: sinus, atrial fibrillation, monomorphic ventricular tachycardia,
|
||||
- ECG rhythms: sinus, atrial fibrillation, monomorphic ventricular tachycardia
|
||||
(potentially perfusing), pulseless ventricular tachycardia (PVT),
|
||||
ventricular fibrillation and asystole.
|
||||
- Mechanical capture: **1:1**, **2:1**, **3:1**, **None (PEA)**, or deterministic
|
||||
pseudo-random capture (~65%). PR is derived from conducted QRS events, never
|
||||
controlled by a pulse-rate slider.
|
||||
- A captured QRS leads to an ART upstroke after a schematic **120 ms**, and a
|
||||
peripheral pleth pulse after **300 ms**. Pleth is strongly damped/filtered.
|
||||
- VF, asystole and PEA suppress mechanical pulses; old samples scroll out of
|
||||
view. NIBP is a static, separately entered cuff reading.
|
||||
- PVT, VF, asystole and PEA suppress mechanical pulses; the ART trace then
|
||||
drifts smoothly at 0–5 mmHg rather than representing a pulsatile pressure.
|
||||
Previous pressure samples scroll out of view. NIBP is a static,
|
||||
separately entered cuff reading.
|
||||
|
||||
## Invasive arterial pressure and PPV (new in v0.3)
|
||||
|
||||
|
|
@ -205,7 +208,7 @@ The five **Show on monitor** checkboxes affect the presentation only:
|
|||
|
||||
| Checkbox | Hidden monitor content |
|
||||
| --- | --- |
|
||||
| ECG | ECG waveform, HR and rhythm label |
|
||||
| ECG | ECG waveform, HR and rhythm alarm (when present) |
|
||||
| Pulse oximetry | Pleth waveform, SpO₂ and PR |
|
||||
| Invasive arterial blood pressure | ART waveform, pressure values, MAP and PPV label |
|
||||
| Capnography | CO₂ waveform, EtCO₂ and RR |
|
||||
|
|
@ -287,3 +290,13 @@ were not available in the environment where this ZIP was prepared.
|
|||
**Build verification:** ZIP integrity and patch application were checked.
|
||||
The GTK4 application and Rust tests were not compiled in the packaging
|
||||
environment; run `cargo test` and `cargo run --release` on Fedora.
|
||||
|
||||
|
||||
## v0.4.2 — Rhythm, sensor and missing-reading alarms
|
||||
|
||||
- **VT** remains potentially perfusing. The new **PVT** (pulseless ventricular tachycardia) rhythm retains organized broad QRS complexes but produces no arterial/pleth pulses. VF and asystole are also pulseless regardless of capture selection.
|
||||
- **ECG**: a flashing **ARRHYTHMIA** message for VT, PVT and VF; a flashing **ASYSTOLE** message for asystole. These event alarms do not depend on numerical HR limits.
|
||||
- **SpO₂**: when the probe is disconnected, a flashing **NO SENSOR** replaces the saturation reading. Quality 0, loss of mechanical capture or a pulseless rhythm results in flashing **NO READING** (no numerical SpO₂/PR). Sensor disconnection takes precedence. No pleth waveform is displayed in these conditions.
|
||||
- **ART**: without mechanical pulses (including PVT/VF/asystole/PEA), the simulated invasive pressure line has slow non-pulsatile drift between **0 and 5 mmHg**. The numerical blood-pressure reading remains unavailable (`--/--`), rather than misrepresenting this baseline as true systolic and diastolic pressures.
|
||||
- **ECG rhythm name** has been removed from the monitor; only HR and the associated alarm message, when present, are visible. The instructor continues to select the rhythm in Admin.
|
||||
- Numerical alarm thresholds and the Adult preset from v0.4.1 are unchanged. Synthetic demonstration behavior only; not suitable for clinical decisions.
|
||||
|
|
|
|||
Loading…
Reference in a new issue