mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Moved Oximeter Information under Statistics in Daily Details tab
This commit is contained in:
parent
c3738a5b72
commit
e67afcd896
20
daily.cpp
20
daily.cpp
@ -822,16 +822,6 @@ void Daily::Load(QDate date)
|
||||
} // if (!CPAP)
|
||||
html+="<table cellspacing=0 cellpadding=0 border=0 width='100%'>\n";
|
||||
|
||||
if (oxi) {
|
||||
html+="<tr><td colspan=5 align=center> </td></tr>";
|
||||
html+=QString("<tr><td colspan=5 align=center><b>%1</b></td></tr>\n").arg(tr("Oximeter Information"));
|
||||
html+="<tr><td colspan=5 align=center><hr/></td></tr>";
|
||||
html+="<tr><td colspan=5 align=center>"+oxi->machine->properties[STR_PROP_Brand]+" "+oxi->machine->properties[STR_PROP_Model]+"</td></tr>\n";
|
||||
html+="<tr><td colspan=5 align=center> </td></tr>";
|
||||
html+=QString("<tr><td colspan=5 align=center>%1: %2 (%3)\%</td></tr>").arg(tr("SpO2 Desaturations")).arg(oxi->count(OXI_SPO2Drop)).arg((100.0/oxi->hours()) * (oxi->sum(OXI_SPO2Drop)/3600.0));
|
||||
html+=QString("<tr><td colspan=5 align=center>%1: %2 (%3)\%</td></tr>").arg(tr("Pulse Change events")).arg(oxi->count(OXI_PulseChange)).arg((100.0/oxi->hours()) * (oxi->sum(OXI_PulseChange)/3600.0));
|
||||
html+=QString("<tr><td colspan=5 align=center>%1: %2\%</td></tr>").arg(tr("SpO2 Baseline Used")).arg(oxi->settings_wavg(OXI_SPO2Drop));
|
||||
}
|
||||
if ((cpap && !isBrick) || oxi) {
|
||||
html+="<tr height='2'><td colspan=5> </td></tr>\n";
|
||||
|
||||
@ -882,6 +872,16 @@ void Daily::Load(QDate date)
|
||||
html+="<tr><td colspan=5> </td></tr>\n";
|
||||
|
||||
}
|
||||
if (oxi) {
|
||||
html+="<tr><td colspan=5 align=center> </td></tr>";
|
||||
html+=QString("<tr><td colspan=5 align=center><b>%1</b></td></tr>\n").arg(tr("Oximeter Information"));
|
||||
html+="<tr><td colspan=5 align=center><hr/></td></tr>";
|
||||
html+="<tr><td colspan=5 align=center>"+oxi->machine->properties[STR_PROP_Brand]+" "+oxi->machine->properties[STR_PROP_Model]+"</td></tr>\n";
|
||||
html+="<tr><td colspan=5 align=center> </td></tr>";
|
||||
html+=QString("<tr><td colspan=5 align=center>%1: %2 (%3)\%</td></tr>").arg(tr("SpO2 Desaturations")).arg(oxi->count(OXI_SPO2Drop)).arg((100.0/oxi->hours()) * (oxi->sum(OXI_SPO2Drop)/3600.0));
|
||||
html+=QString("<tr><td colspan=5 align=center>%1: %2 (%3)\%</td></tr>").arg(tr("Pulse Change events")).arg(oxi->count(OXI_PulseChange)).arg((100.0/oxi->hours()) * (oxi->sum(OXI_PulseChange)/3600.0));
|
||||
html+=QString("<tr><td colspan=5 align=center>%1: %2\%</td></tr>").arg(tr("SpO2 Baseline Used")).arg(oxi->settings_wavg(OXI_SPO2Drop));
|
||||
}
|
||||
|
||||
if (cpap) {
|
||||
html+="<tr><td colspan=5> </td></tr>";
|
||||
|
Loading…
Reference in New Issue
Block a user