mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-22 13:40:45 +00:00
Only Hypopnea's on ResMed need the +10?
This commit is contained in:
parent
f9fbd84866
commit
0ad08d3aca
@ -503,7 +503,6 @@ bool ResmedLoader::LoadEVE(Session *sess,EDFParser &edf)
|
|||||||
do {
|
do {
|
||||||
t+=tolower(data[pos++]);
|
t+=tolower(data[pos++]);
|
||||||
} while ((data[pos]!=20) && (pos<recs)); // start code
|
} while ((data[pos]!=20) && (pos<recs)); // start code
|
||||||
duration+=10;
|
|
||||||
if (!t.isEmpty()) {
|
if (!t.isEmpty()) {
|
||||||
//code=MC_UNKNOWN;
|
//code=MC_UNKNOWN;
|
||||||
if (t=="obstructive apnea") {
|
if (t=="obstructive apnea") {
|
||||||
@ -519,7 +518,7 @@ bool ResmedLoader::LoadEVE(Session *sess,EDFParser &edf)
|
|||||||
EL[1]=new EventList(code,EVL_Event);
|
EL[1]=new EventList(code,EVL_Event);
|
||||||
sess->eventlist[code].push_back(EL[1]);
|
sess->eventlist[code].push_back(EL[1]);
|
||||||
}
|
}
|
||||||
EL[1]->AddEvent(tt,duration);
|
EL[1]->AddEvent(tt,duration+10); // Only Hyponea's Need the extra duration???
|
||||||
} else if (t=="apnea") {
|
} else if (t=="apnea") {
|
||||||
code=CPAP_Apnea;
|
code=CPAP_Apnea;
|
||||||
if (!EL[2]) {
|
if (!EL[2]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user