Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Custom user events / interpretation
#1
Custom user events / interpretation
I'm very interested in the use of Custom CPAP User Event Flagging. However, whenever I raise the Flow restriction %, the number of flagged events increases. Does this make sense? I'd expect to score a lower event number at higher restriction %.

How should the flow restriction % be interpretated? It seems to work the other way around and I'm a bit lost here.

Thanks for helping me out.
Post Reply Post Reply
#2
RE: Custom user events / interpretation
It's just the opposite... When you set flow restriction to 80%, SleepyHead, and therefore OSCAR, interprets that as flow restricted to 80% of normal... not much restriction at all, really....not 'restricted by 80%'

I'm not sure if we should address the confusion by re-wording the descriptive text - easy --- or by changing the code - harder, and affects current users of User Flags...
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#3
RE: Custom user events / interpretation
Thank you pholynyk, this helps!
And speaking for myself, a descriptive text would do (i.e. in the Oscar Wiki).
Have a nice day!
Post Reply Post Reply
#4
RE: Custom user events / interpretation
I've always thought of it as flow percentage so the lower number the worse it is.
Post Reply Post Reply
#5
RE: Custom user events / interpretation
Interesting, Gideon. I remember being confused when I first used the User Flags, as I had permabear's concept.
Yours is a good (better?) way to think about it, so perhaps some clarification in a tool tip would be in order.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#6
RE: Custom user events / interpretation
Another question if that's okay. If I define Flag 1 as 70% / 8,0 sec and Flag 2 as 70% / 6,0 sec I witness lower Flag 2 events reported compared to Flag 1.

I interpret 6 sec as '6 seconds and more' so I'd expect the number of 8 sec events (Flag 1) to be included in the number of 6 sec events (Flag 2). So in my mind Flag 2 should be higher than Flag 1. 
Where do I go wrong?

Thanks again for elaborating!
Post Reply Post Reply
#7
RE: Custom user events / interpretation
My thought, years ago when I was playing with it, on SH pre-OSCAR that it. I never saw correspondence with OA and H events, at least not a strong one.
I thought it MIGHT be excluding OA and H events, since they were covered elsewhere, Phil, what does the code say about flagging these events?
Post Reply Post Reply
#8
RE: Custom user events / interpretation
I'm not sure. The ResMed loader doesn't do anything about User Flags. They must be detected in the calculation or analysis routines, so I'll have to look into those.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#9
RE: Custom user events / interpretation
OK, in the calc files there is a class called FlowParser which has the routine flagUserEvents. That routine does its thing and finds events, but as its last thing, it checks a user Preference flag called allowDuplicates. If duplicates are not allowed, then a scan of existing events is made to see if this potential event falls within another event. If duplicates are allowed, or there is no previous event, then this new event is added to the list.

Long story short, if duplicates are not allowed, and UF1 has a longer duration than UF2 (with the same restriction), then - because UF1 is checked before UF2 - the potential UF2 events which fall within a UF1 event will be ignored, and only the UF2 events longer than the UF2 duration but shorter than the UF1 duration will be flagged. This may be unexpected, but I think is the most useful case. If you wish the 'covered' UF2 flags to be counted, then you can change the flag in the Preferences window and purge and reload the data.

'Nuff said ?

Nope. As Geer1 points out below, the Preferences item no longer shows up. Duplicates (shadowed) are never counted.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#10
RE: Custom user events / interpretation
Back when I first set user flags it made sense to me (20% being less flow than 50%) although I just set them that way based on someone's recommendation and not thinking about it. Now that I know the definition of an apnea is 90% flow reduction and hypopnea is 50% flow reduction it doesn't make as much sense although like you say can be a wording thing and explained in the disclaimer easily enough.

The main issue with the calculations are that they are inconsistent which is one reason I stopped paying attention to mine. It wasn't that uncommon for me to see more 20% events to be flagged than 50% events. I just tried playing with the 6 vs 8 second durations (both at 50%) and see inconsistent results, some nights 8 is higher as expected, other nights 6 is higher.

As Gideon notes you never see these user flags where apnea are flagged and upon closer inspection you never see multiple user flags for the same event. Obviously the code tries to avoid flagging events with multiple flags. I assume it is that part of the code that is making these results confusing.

Edit: I see you found what I presumed to be the issue.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Data interpretation - Luna G3 Big Ultima Energy 3 76 04-14-2024, 06:27 PM
Last Post: johnathanb76
  Oscar Data Interpretation UPDATED Johand77 1 96 04-10-2024, 08:37 PM
Last Post: Sleeprider
  OSCAR data interpretation Johand77 8 175 04-10-2024, 02:45 PM
Last Post: Johand77
  Trying to Reduce CA Events chrotteg 42 1,218 04-09-2024, 05:17 PM
Last Post: stevew168
  Are any of these events real? BigWing 6 188 04-09-2024, 02:40 PM
Last Post: jcp519
  [Treatment] Most events are Central Apnea / Clear Airway joeblough 7 191 04-08-2024, 04:00 PM
Last Post: joeblough
  Excessive Events jerrydaw 1 107 04-06-2024, 11:20 AM
Last Post: Jay51


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.