v0.4.2: add PVT
This commit is contained in:
parent
5b6fbb8766
commit
5e397019fc
8 changed files with 727 additions and 51 deletions
|
|
@ -146,14 +146,15 @@ fn create_admin(app: &Application, params: SharedParams,
|
|||
let ecg = group(&controls, "ECG");
|
||||
add_visibility(&ecg, params.borrow().show_ecg, params.clone(), |p, show| p.show_ecg = show);
|
||||
add_dropdown(&ecg, "ECG rhythm", &[
|
||||
"Sinus rhythm", "Atrial fibrillation", "Ventricular tachycardia",
|
||||
"Ventricular fibrillation", "Asystole",
|
||||
"Sinus rhythm", "Atrial fibrillation", "Ventricular tachycardia (VT)",
|
||||
"Pulseless ventricular tachycardia (PVT)", "Ventricular fibrillation", "Asystole",
|
||||
], params.clone(), |p, selected| {
|
||||
p.ecg_rhythm = match selected {
|
||||
1 => EcgRhythm::AtrialFibrillation,
|
||||
2 => EcgRhythm::VentricularTachycardia,
|
||||
3 => EcgRhythm::VentricularFibrillation,
|
||||
4 => EcgRhythm::Asystole,
|
||||
3 => EcgRhythm::PulselessVentricularTachycardia,
|
||||
4 => EcgRhythm::VentricularFibrillation,
|
||||
5 => EcgRhythm::Asystole,
|
||||
_ => EcgRhythm::Sinus,
|
||||
};
|
||||
});
|
||||
|
|
@ -210,7 +211,7 @@ fn create_admin(app: &Application, params: SharedParams,
|
|||
});
|
||||
let conduction_hint = gtk::Label::new(Some(
|
||||
"Pulse rate is derived from captured QRS events.
|
||||
ART and pleth are delayed; VF and asystole always have no pulse."
|
||||
ART and pleth are delayed. VT can be perfusing; PVT, VF and asystole are pulseless."
|
||||
));
|
||||
conduction_hint.set_xalign(0.0);
|
||||
conduction_hint.set_wrap(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue