Support Apnea Board & OSCAR  

Difference between revisions of "LoudSnorer:Sandbox"

From Apnea Board Wiki
Jump to: navigation, search

(Time at Pressure)
 
(67 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{OSCAR}}
+
{{cleanup}}
'''<span class="new-win">
 
[https://translate.google.com/translate?hl=af&sl=en&tl=af&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Afrikaans] /
 
[https://translate.google.com/translate?hl=ar&sl=en&tl=ar&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide في الصفحة] /
 
[https://translate.google.com/translate?hl=bg&sl=en&tl=bg&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide български] /
 
[https://translate.google.com/translate?hl=zh_CN&sl=en&tl=zh_CN&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide 中国] /
 
[https://translate.google.com/translate?hl=zh_TW&sl=en&tl=zh_TW&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide 臺灣] /
 
[https://translate.google.com/translate?hl=da&sl=en&tl=da&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Dansk] /
 
[https://translate.google.com/translate?hl=de&sl=en&tl=de&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Deutsch] /
 
[https://translate.google.com/translate?hl=el&sl=en&tl=el&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Ελληνικά] /
 
[https://translate.google.com/translate?hl=es&sl=en&tl=es&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Español] /
 
[https://translate.google.com/translate?hl=fr&sl=en&tl=fr&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Français] /
 
[https://translate.google.com/translate?hl=he&sl=en&tl=he&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide עברית] /
 
[https://translate.google.com/translate?hl=hu&sl=en&tl=hu&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Magyar] /
 
[https://translate.google.com/translate?hl=it&sl=en&tl=it&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Italiano] /
 
[https://translate.google.com/translate?hl=ko&sl=en&tl=ko&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide 한국어] /
 
[https://translate.google.com/translate?hl=nl&sl=en&tl=nl&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Nederlands] /
 
[https://translate.google.com/translate?hl=no&sl=en&tl=no&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Norsk] /
 
[https://translate.google.com/translate?hl=pl&sl=en&tl=pl&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Polskie] /
 
[https://translate.google.com/translate?hl=pt&sl=en&tl=pt&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Português] /
 
[https://translate.google.com/translate?hl=ro&sl=en&tl=ro&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Românește] /
 
[https://translate.google.com/translate?hl=ru&sl=en&tl=ru&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Russkiy] /
 
[https://translate.google.com/translate?hl=fi&sl=en&tl=fi&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Suomalainen] /
 
[https://translate.google.com/translate?hl=sv&sl=en&tl=sv&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Svenska] /
 
[https://translate.google.com/translate?hl=th&sl=en&tl=th&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide ภาษาไทย]  /
 
[https://translate.google.com/translate?hl=tl&sl=en&tl=tl&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Pilipino] /
 
[https://translate.google.com/translate?hl=tr&sl=en&tl=tr&u=https://www.apneaboard.com/wiki/index.php/OSCAR_-_The_Guide Türkçe] </span>'''<br />
 
--> Do not use these buttons when you are on a translated page. Just close this tab to go back. <-- <br />
 
  
==<big><big>'''OSCAR''' - the '''O'''pen '''S'''ource '''C'''PAP '''A'''nalysis '''R'''eporter</big></big>==
 
'''OSCAR''' is software that is compatible with Windows, Mac, and Linux operating systems, developed for reviewing and exploring data produced by supported CPAP, bilevel, ventilators, and related machines used in the treatment of sleep apnea. Oscar requires that data is collected on an SD card which MUST be inserted into the PAP machine during use to record detailed data.
 
<br />
 
 
==Common features of detailed graphs==
 
 
[[File:OSCAR daily screen.png|thumb|none|1000px|Oscar daily screen]] <br />
 
----
 
=== Left side-bar ===
 
{|
 
|[[File:OSCAR Side-bar.png|thumb|none]1000px|Left side bar]]
 
|The left part of the Daily screen is referred to as the ''left side-bar''. It contains details of your machine and its settings, your AHI and other sleep indicators, and the amount of time you were asleep.
 
<br />
 
Starting from the top, the key parts of the left side-bar are
 
# Program identification, menu, and tabs, as found on all screens within OSCAR
 
# The current date. Click the small green arrows to move back & forth by one day. Click the Green arrow & bar >| to move to the latest date with data. Click the small black triangle to make the calendar appear or disappear.
 
# Tabs to select details, events, notes, and bookmarks. These will be discussed in greater detail below.
 
# AHI Summary. This is your '''apnea / hypopnea index''' for the sessions under review. It is the total number of apneas and hypopneas divided by the total hours of sleep. Generally, this will be for the whole night, however, if you have turned any sessions on or off (See No 11 below) then the AHI is given only for the sessions turned on.
 
# Machine type and settings summary. This gives the make and model of the CPAP machine. The PAP mode is the particular algorithm set on the machine (many machines can operate in more than one mode). It also shows the pressure settings. If you hover the mouse cursor over the machine name, the model number and serial number will appear in a pop-up box. '''Note:''' The settings for PC, S, and S/T modes on Philips Respironics System One machines may be displayed as random garbage numbers - this is a known problem and will be fixed in a later release of Oscar.
 
# Session starting, ending, and total times. Shows when the machine was turned on and off, and the total elapsed time. Note that although this is used to calculate the time asleep, the CPAP machine has no way of knowing if you were actually asleep or not.
 
# Event rates per hour. A simplified view of the different types of events you have experienced. Note that some machines display more or fewer event types, and these can be selected in the Event flag selector on the Daily page.
 
# Statistics for pressure, leaks, snores, and respiration. Detailed information about your respiration throughout the night. The statistics panel gives details of your pressures, minute ventilation, respiration rate, and other important parameters. For each parameter (referred to as a 'channel') the panel shows the minimum recorded, the median, 95th percentile and the maximum. Also shown are the total time in apnea, and the time over the leak redline. For Resmed machines, this is 24 L/min. For all machines the redline number can be set in the menu File | Preferences | CPAP.
 
# Machine Settings Details. A more complete set of machine settings giving you the pressure and other settings for your machine. The settings shown will vary according to the type of machine.
 
# Session Information. Each time the machine is started then stopped is called a session. If you sleep right through the night, that is a single session. If you stop the machine for a toilet break then start it again, then two sessions will be recorded.
 
# Buttons (bars) to turn sessions on and off. Clicking on these buttons will include or exclude sessions from the display of the night's data. Clicking on the blue and yellow session buttons will include or exclude sessions from the display of the night's data. This can be useful if (for example) you had a very brief nap in the afternoon and want to exclude it from the night's results. Note that turning a session off will change the calculated AHI for the night. Note also that sessions can be turned on and off using the small green/black buttons in the section information panel. When a session is off the button changes to black / red.
 
 
|}
 
 
----
 
==== The Calendar ====
 
{|
 
|[[File:OSCAR Calendar.png|thumb|left]250px|Calendar]]
 
|
 
The calendar can be useful for navigation, but if you are posting an OSCAR Daily Detail graph on the forum, it should be minimized. To minimize the monthly calendar, just click on the triangle to the left of the current date.
 
 
If you click on a date in the calendar, the daily data for that date loads into the daily data window. It's also important to understand that the data for any particular date is the data for the NIGHT that started on on that date and ended the following morning. And that's true regardless of whether you get to bed before midnight.
 
 
Now, look at the little arrows in the calendar.
 
 
# The two arrows that surround the bubble with the highlighted date move one day backward or forward.
 
# The third outside arrow on the far right ->| will immediately jump to the last date with data.
 
# The two arrows on the blue bar with the month's name allow you to jump forward or backward by a month.
 
# Pressing the downward triangle between the month and the year allows you to quickly change to a different month.
 
# Clicking the year allows you to quickly change to a different year.
 
# Pressing the upward-facing arrow in the bubble with the date in it will hide the calendar and change that triangle to a downward-facing triangle. Clicking the downward-facing triangle will show the calendar. The calendar covers up a lot of useful information and should always be hidden when making screenshots for uploading to a forum.
 
|}
 
----
 
====Pie Chart====
 
{|
 
|[[File:OSCAR Pie chart.png|thumb|left]250px|Pie chart]]
 
<br>
 
|You can see a pie chart depicting the breakdown of your events.
 
 
<!-- Deleted the next paragraph when V1.1.0 is released
 
To turn the pie chart on and off, go to the File menu and select '''File | Preferences | Appearance'''. For posting charts to the forum it's best to turn the pie chart '''off''' as it covers up more valuable information.
 
-->
 
<!-- To be inserted when V1.1.0 is released.-->
 
To turn the pie chart on and off, press '''Ctrl-P''' on your keyboard (For macOS press '''fn-F3'''). Alternatively, use the menu item '''View | Show Pie Chart'''. For posting charts to the forum it's best to turn the pie chart '''off''' as it covers up more valuable information.
 
 
|}
 
 
<!-- Delete this graphic whgen V1.1.0 is released
 
[[File:OSCAR Preferences Appearance.PNG | 800 px]]
 
-->
 
----
 
====Summary Information (AHI, Machine, Hours, Event rates)====
 
Items 4, 5, 6, and 7 in the sidebar image are collectively the summary information. They show your apnea-hypopnea index (AHI), brief details of your machine and its settings, the time you slept, and the events which occurred during your sleep.
 
 
Note that the AHI shown is only for the 'sessions' which are turned on (see below). The summary of events will only show those which are turned on in the event flag selector. The available events will vary among different types of machines.
 
<br><br>
 
----
 
==== Tabs: Details, events, notes and bookmarks ====
 
{| class="wikitable"
 
|- style="vertical-align:top;"
 
|[[File:OSCAR Events tab.PNG|thumb|left]250px|Tabs]]
 
|
 
* The '''Details tab''' is the default view which shows the statistics, machine settings, etc.
 
* The '''Events tab''' Shows every apnea, hypopnea, large leak, and other significant events during the night. The numbers in brackets are the duration of the event in seconds. Clicking on any event will zoom the chart to show that event in detail.
 
* The '''Notes tab''' allows you to keep a daily journal of your sleep experience. There are basic formatting buttons available as well as a slider to register how you feel (on a scale of Zombie to Awesome). You can also enter your weight each day.
 
** The notes for a particular day can be included in the printed report. It's necessary to deselect all graphs except one, using the chart selector menu at the bottom right of the page. To print the report, go to the menu '''File | Print Report'''. Notes you have saved will be included in the printout.
 
** You can export all your notes as an XML file for backup purposes or additional analysis. Use the menu option '''File | Backup Journal'''.
 
** Oscar will calculate your '''body mass index (BMI)''' at the bottom of the Notes section. You must enter your weight each day. You must also enter your height in your profile (see [http://www.apneaboard.com/wiki/index.php?title=Running_OSCAR_for_the_first_time Running Oscar for the First Time] ). If either the weight or height is not entered the BMI calculation will not appear.
 
* The '''Bookmarks tab''' lets you record the time of significant events you may wish to refer back to, such as an exceptionally long apnea.
 
----
 
====Creating a bookmark====
 
Bookmarks are created using the [[http://www.apneaboard.com/wiki/index.php?title=OSCAR_Organization_-_Daily_Page#Tabs:_Details.2C_events.2C_notes_and_bookmarks bookmark tab]] on the daily page:
 
# Click on the tab to open bookmarks
 
# On the flow rate graph, place the cursor on the event you wish to record (eg an apnea)
 
# Click the Add Bookmark button. A bookmark stating the time and date will be created.
 
 
[[File:OSCAR create bookmark.png]]
 
 
You can add text to a bookmark:
 
# Select the bookmark
 
# Double-click the words "Bookmark at xx:xx:xx" in the Notes column
 
# Type in your text
 
# Press Enter.
 
----
 
=====Reviewing bookmarks=====
 
In the [[http://www.apneaboard.com/wiki/index.php?title=OSCAR_Organization_-_Basic_Parts_of_the_OSCAR_Window#The_Right_Side_Bar right sidebar]] click on the Bookmarks button at the bottom of the sidebar. The sidebar will show a list of all the bookmarks which have been created.
 
 
To go to a particular bookmark, click on the date. OSCAR will open the daily page at that particular date. You can then click on a bookmark and OSCAR will adjust the display to show the event which has been selected.
 
 
You can search for particular text in your bookmarks using the search window at the top of the sidebar (under the word Bookmarks).
 
----
 
=====Deleting bookmarks=====
 
On the Daily page, select the bookmark you wish to delete, then click "Remove Bookmark" at the bottom of the panel.
 
 
 
<!--See also [[http://www.apneaboard.com/wiki/index.php?title=Bookmarks&action=edit&redlink=1 Bookmarks]]  -->
 
|}
 
----
 
=== The daily detailed graphs  ===
 
The main part of the daily page is given over to the detailed graphs. These allow you to inspect all the important things which happened during the night, right down to a breath-by-breath review.
 
----
 
====Common features of detailed graphs====
 
Each daily graph chart has a number of features in common:
 
 
* '''Turn graphs on or off:''' You can turn individual graphs on and off using the chart selector at the bottom right corner of the chart area. Click on the selector and a small menu will pop up, listing all the available graphs. Click on any one to turn it on or off. When turned on, the item will show a small green & black icon. If turned off, it will show a red and black icon. The available graphs will depend on your machine, and on settings in the preferences dialog.
 
* '''Zoom level:''' The default view shows the whole night's chart compressed onto a single panel. You can zoom in and out for a closer view as follows: 
 
# Left click anywhere on a graph;
 
# Right click anywhere to zoom out;
 
# Place the cursor on a graph, hold the Ctrl button and rotate the scroll wheel;
 
# Use the keyboard Up Arrow to zoom in and the Down Arrow to zoom out;
 
# To zoom out to the full view you can also right-click on any graph title and select "100% zoom level". Alternatively press and hold the Escape (Esc) key or Down Arrow on your keyboard for a couple of seconds.
 
* '''Time scale:''' Along the bottom of each graph is a time scale to show when events occurred.
 
* '''Pin chart in position:''' Double-click on the title of a graph to pin it in position. Once pinned, the graph will appear at the top of the screen and will not scroll with the other graphs.
 
* '''Resize chart:''' You can change the vertical height of any graph by clicking in the divider line and dragging it up or down.
 
* '''Pop out chart:''' Right-click on the graph label and select "Popout graph". A copy of the graph will be created in its own window, which can then be placed anywhere on the screen. If you pop out more than one graph, they will share a common window.
 
* '''Clone graph:'''  Right-click on the graph label and select "Clone graph". A copy of the graph will be created below the original. The cloned graph can be zoomed independently of all other graphs. To remove the clone, right-click on the title and select "Remove clone".
 
* '''Reset graph layout:''' If you have changed the vertical height of one or more graphs, double click on a graph title and select "Reset graph layout". All graphs will be restored to their normal height.
 
* '''Y Axis:''' If you want to change the vertical scale of a graph, right-click in the label of a graph and select "Y axis". A small pop-up will show, and give the options Autofit, Defaults, and Override. Select override, the adjust the minimum and maximum numbers until the trace on the graph is to your liking. Note that you must keep the mouse cursor within the pop-up - if it strays outside, the pop-up will disappear.
 
<br>
 
[[File:OSCAR Graph Y-axis scaling.png | 600 px]]
 
<br>
 
* '''CPAP overlays:''' Oscar can include a marker for each of the events on any of the graphs. Right-click the graph title and select 'CPAP Overlays'. A pop-up will appear, allowing you to turn on or off each type of event. The events will appear as a short tick along the top of the graph.
 
* '''Oximeter overlays:''' If you have a pulse oximeter synched to Oscar you can display certain parameters using the oximeter overlay option.
 
* '''Dotted lines:''' Oscar will display dotted lines across a graph to aid in reading it. The available lines will vary depending on the particular graph.  Right-click on a graph title and select "Dotted lines". A pop-up will appear, with a list of available lines which you can turn on or off.
 
 
----
 
==Daily (Standard Charts)==
 
To reset the graph order for the Standard Charts click on '''''View/Reset Graphs/Standard'''''<br>
 
These are the charts that are most used to see how your therapy is doing. When submitting for review these charts should be provided in a full night view.  If you wish to submit a partial night highlighting a problem feel free to do so in addition to the full night.
 
*3-Minute view to see the form of the breaths
 
*10-15 minute view to evaluate breathing patterns such as CSR and PP/Periodic Breathing
 
 
 
----
 
===Event Flags===
 
 
[[File:OSCAR event flags.PNG]]
 
 
The Event Flags graph normally appears at the top of the stack. It shows each event (Obstructive Apnea ('''''OA'''''), Central Apnea/Clear Airway ('''''CA'''''), Hypopnea ('''''H'''''), Large Leak ('''''LL'''''), etc.) as a vertical bar. You can select which events to display using the event flag selector at the bottom left of the chart area. The available flags will vary depending on your machine. The graphical display of events is useful in determining whether they occurred at a particular time, in clusters, or spaced throughout the night.
 
 
Each event type in the Event Flags graph will have a corresponding entry in the sidebar summary area.
 
 
[[File:OSCAR sidebar summary.png]]
 
 
First, Events only show if you have had them at some point, OSCAR remembers. If you have NEVER had a Clear Airway/Central Apnea event ('''''CA''''') recorded, none will show. The same for RERAs ('''''RE'''''), though not all machines report RERAs.
 
Second, if you have previously had an event type such as Clear Airway/Central Apnea event ('''''CA''''') recorded, that category will always display even if you have none on the current night.
 
The events shown here are all, alright, almost all, reported by your xPAP machine.
 
  
The exception: In the '''''File/Preferences/CPAP''''' tab there is a section for those of you that may want to experiment called '''''Custom CPAP User Event Flagging'''''. This allows you to define different Flow Restrictions and Event Durations
+
The overview and daily tabs each have one session backup file for graph settings. When OSCAR starts the session backup file is read. and when OSCAR exits the current settings are saved to the session backup file.
  
 +
Users can also save graph settings as a user backup file. Each tab (Daily and Overview) supports 10 user defined setting backups. Each backup supports a user defined description in any language.
  
[[File:OSCAR Custom CPAP Event Flagging.png|500px]]
+
Triggering
----
+
The following picture illustrates a restore operation is almost executed.
====Issue - Positional Apnea====
+
Notice:  
 
+
* The default description is the current time and date in the local format.
Positional Apnea is caused by misalignment of the airway typically tucking the chin down.<br />
+
* Support for multiple languages
It is normally detected by '''clusters of Obstructive and Hypopnea events''' usually associated with an uneven and smaller/narrower Flow Rate chart.
+
* Add button is greyed because the maximum backups have been reached.
 
 
[[File:Severe Positional Apnea.png|500px]]
 
 
 
see the Wiki article [[Optimizing_therapy#Positional_Apnea]]
 
----
 
====Issue - Other====
 
Correlation with other charts indicating cause and effect
 
 
 
----
 
===Flow Rate===
 
ResMed S9, Philips Respironics System One, and Fisher & Paykel Icon machines record Flow Rate data if the card is in the CPAP machine during the night.<br>
 
The DeVilbiss IntelliPAP does NOT record Flow Rate data.
 
 
 
[[File:OSCAR flow rate graph.png]]
 
 
 
This graph is probably the most used in analyzing and interpreting CPAP data. It shows airflow in and out of your lungs throughout the night. The flow above the zero line is inhalation and below the line is exhalation. The events are shown on this graph as well as on the event flags graph. You can zoom in to examine an event more closely.
 
 
 
Placing the cursor on any event will create a small pop-up detailing the type and duration of the event in seconds.
 
 
 
[[File:OSCAR flow rate detail.png]]
 
 
 
Nearly all that is happening throughout the night can be seen in the Flow Rate graph though usually in a zoomed view. Tidal Volumes and Minute Vent can be seen via the 'volume under the curve', flow limits may show as "grassy"  on the full night view but are readily apparent when viewed with the breath waveform is readily distinguished, typically 2-3 minutes.  Leaks may sometimes be distinguished by a difference in volume between inhale and exhale.
 
Periodic Breathing can be confirmed easily on this chart and serious breathing patterns such as CSR can be identified and Flow Limits become readily apparent.
 
----
 
====Issue - Positional Apnea (Chin tucking)====
 
[[File:Severe Positional Apnea FL Closeup.png|800px]]
 
----
 
====Issue - Arousal/Recovery Breathing====
 
[[File:RERA 2.png|800px]]
 
 
 
[[File:RERA 1.png|800px]]
 
 
 
additional examples are in the above sections<br />
 
 
 
 
 
 
 
* [[Issue - Positional Apnea (Chin tucking)]]
 
----
 
====Issue - Periodic Breathing (CSR, PB)====
 
Note: ResMed (incorrectly) labels all periodic breathing as CSR.
 
All Periodic Breathing should be viewed in a zoomed view to identify its properties.
 
 
 
 
 
Philips Respironics machines flag breathing that meets their definition of ''periodic breathing'' (PB). On the Philips Respironics web pages, PB is defined as "Periodic breathing is defined as alternating periods of hyperventilation with waxing/waning tidal volume..."  Typically the waxing and waning pattern must be quite regular in visual appearance and it must present for at least a minute or two for PB to be scored. PB is flagged with a green background on the flow rate data. Often, but not always, there will be CAs (or Hs or sometimes OAs) scored at the nadir of the cycle. Sometimes the System One will only flag the most obvious part of the cycle:
 
 
<br />
 
<br />
[[File:PB_zpsee6cff1e.png]]
+
The user can<br/>
<br />
+
1. Create Backup with current settings and user's description<br/>
A bit of PB now and then is nothing to worry about. However, there is one form of PB that is called Cheyne-Stokes Respiration (CSR) that is clearly associated with some forms of heart disease, including congestive heart failure. CSR is very regular and has a CA at the nadir of the cycle (although the CA may be mis-scored as an OA or a UA). If you have serious heart disease and you see a lot of PB scored in your flow rate data, it is worth mentioning it to your cardiologist as well as your sleep doctor.
+
2. Restore current graph settings from a Backup<br/>
 
+
3. Rename a Backup description<br/>
''Detecting Periodic Breathing on other CPAPs''
+
4. Update an existing Backup with current settings<br/>
 
+
5. Delete a Backup <br/>
Once you know what PB looks like, you can often spot suspicious patterns by simply scrolling through the Flow Rate data in a 5-10 minute window. Any periodic waxing/waning patterns will show up at that magnitude. Whether this is worth doing on a regular basis is another question altogether. Unless you have a co-morbid condition that is associated with PB (such as congestive heart failure), PB is not something you need to spend much time worrying about or trying to locate in your data.
 
 
 
Here's an example of PB that may be CSR pulled from a ResMed machine:
 
<br />
 
[[File:CSR-example_zpsee76d5af.jpg]]
 
<br />
 
----
 
=====Cheyne Stokes Respiration Description (CSR)=====
 
'''CSR breathing'''
 
 
 
 
 
 
 
'''Evaluation  '''https://www.ncbi.nlm.nih.gov/books/NBK448165<br />
 
 
 
Cheyne-Stokes respiration is characterized by alternating apnea and hyperventilation during sleep, mostly in the N1 and N2 sleep, and also when awake. This can be clinically observed and documented with a cyclic variation of breathing pattern with a change in saturation from 90% to 100%. Minute ventilation is not routinely monitored during sleep studies. The hyperventilation is documented by rising and falling chest excursions and the tidal volume. If the patient is on a ventilator, then the cyclical change in tidal volume and minute ventilation can be graphed together. '''The apnea/hyperapnea cycle is around 45 minutes to 75 minutes.'''. This cycle is longer than other causes of central sleep apnea cycle, which ''' typically have a cycle length of 30 to 45 minutes'''. Cheyne-Stokes respiration is worse in the supine position or moving from supine to lateral body position.<br />
 
<br />
 
 
 
 
 
 
 
'''Etiology '''https://www.ncbi.nlm.nih.gov/books/NBK448165<br />
 
Cheyne-Stokes respiration is a specific form of periodic breathing (''' waxing and waning amplitude of flow or tidal volume''') characterized by a '''crescendo-decrescendo pattern of respiration between central apneas or central hypopneas.''' The American Academy of Sleep Medicine (AASM) recommends to score a respiratory event as Cheyne-Stokes breathing if both of the following criteria are met:[/size][/color]
 
 
 
# ''' There are episodes of at least three consecutive central apneas and/or central hypopneas separated by a crescendo and decrescendo change in breathing amplitude with a cycle length of at least 40 seconds (typically 45 to 90 seconds).'''
 
# ''' There are five or more central apneas and/or central hypopneas per hour associated with the crescendo/decrescendo breathing pattern recorded over a minimum of two hours of monitoring.'''<br />
 
<br />
 
 
 
 
 
So, waxing and waning pattern with a central event between them and duration per the above.
 
----
 
 
 
====Issue - PLM (Periodic Leg Movement====
 
[[File:RLS 10Min.png|800px]]
 
----
 
====Issue - Various (Flow Limitation, Snoring, Mouth Breathing)====
 
=====Classes of inspiratory flow shapes=====
 
[[File:Flowlimitations Classes.png]]
 
 
 
====Additional Info - Flow Limitation/UARS and BiPAP====
 
Wiki article on [[Flow Limitation/UARS and BiPAP]], is authored by a well-known MD, who deals extensively with sleep disorders, and is considered an Expert on UARS.
 
Article Subtitles:
 
* UARS: A Critical Link to Optimizing PAP Therapy Results
 
* UARS as Mini-Suffocations
 
* UARS is not Mutually Exclusive of Hypopneas or Apneas
 
* UARS Assessment and Treatment is Critical to Titration Success
 
* “Consensus Medicine” Covered up The Science of UARS
 
* What’s in a Name?
 
* Start Connecting Some Zzzzzots
 
* Can You Feel '''Anxiety''' in your Sleep?
 
* Is '''Bilevel''' the Answer?
 
* UARS Diagnosis and Medicare
 
* Summing Up
 
Brief Summary:<br />
 
for all practical purposes, the following three terms are interchangeable:
 
# UARS (upper airway resistance)
 
# Flow limitation
 
# RERAs (respiratory effort-related arousal)
 
 
 
Monitor your RDI vs your AHI.  RDI = apneas + hypopneas + RERAs/Flow Limitation/UARS.<br />
 
BiLevel for MOST with a diagnosis of UARS<br /> Quoting the article ''"in our clinical and research experience, we are using gaps of '''4 to 12 cm of water''' in our patients. My personal bilevel settings are 21/12.5 for a gap of 8.5.
 
 
 
In our prescriptions for bilevel, I would venture that the '''average gap is in the 5 to 6''' range with tremendous variation, including some with a '''gap of only 2 or 3'''. Those with a lower gap requirement would likely do as well on FLEX or APAP, but to repeat, the large majority of our patients have a gap of 4 or greater."''<br />
 
 
 
This calls for a BiLevel.
 
 
 
----
 
 
 
===Pressure===
 
 
 
A 'common' complaint is that the 'pressure' is so high that it blows too hard.  That is not pressure, that is flow.  All xPAP devices attempt to maintain constant pressure.  When a 'leak' occurs, the pressure delivered by the blower moves more air to compensate and maintain pressure. 
 
 
 
Try this.<br />
 
 
 
# Start your xPAP with your mask off.
 
# Now hold your breath, and close your eyes so the air doesn't blow in them while you
 
# Place your mask on (hand holding is OK).  The 'blowing' stops immediately after you put the mask on as the blower speed returns to normal.  You ca also do this by using your hand to seal the mask.
 
 
 
 
 
====Practical Demonstration of Pressure====
 
It's simple
 
#Take a tall glass of water and a straw
 
#Place the straw down to near the bottom of the glass, now let your youth loose and pretend you are a kid and blow bubbles.
 
<br />
 
<br />
 
<br />
 
<br />
 
How did it feel?  Any issues?  Didn't think so.
 
<br />
 
<br />
 
<br />
 
<br />
 
 
 
What just happened?
 
* You exerted enough force to displace the water and blow bubbles.
 
* This force, assuming 8 inches of water, is equal to the maximum pressure produced by a CPAP, 20 cm of water (cmw).  A BiLevel, the next class of device up, it is 10 inches of water or 25 cmw.  Most therapy is around 4 inches or 10 cmw.
 
<br />
 
<br />
 
 
 
Many xPAP user complain about the "high" pressures involved.  This is just a practical demonstration of the pressures involved in xPAP therapy. It does not mean that you do not have issues related to pressure.
 
  
====Pressure and Mask Pressure====
+
This feature is called Save Layout Settings.
The pressure graph shows the pressure as it varies over time. The mask pressure graph shows the pressure at the mask on a breath-by-breath basis.
 
  
[[File:OSCAR pressure.png]]
 
  
Zooming in shows how the mask pressure is a high-resolution chart sampled 25 times per second, while the pressure is only sampled once per second. Depending on your machine settings there may be several traces shown - usually the inhale pressure (IPAP) and exhale pressure (EPAP).
+
setting that is saved when OSCAR exits and is restored when OSCAR
  
[[File:OSCAR pressure detail.png]]
+
starts.
  
----
+
The Backup File Management feature allows for multiple backups files. Each backup will have a user defined description.
  
===Flow Limit.===
+
User Requirements
Philips Respironics: PR machines do not produce this chart, instead they show FL events on the Events chart.<br><br>
 
ResMed: Flow Limits are calculated as an index, 0-1, indicating the flatness of the breath-form on the flow rate chart.  Zero means none, severity increasing as the index approaches one.  These show as a varying height vertical bar.
 
  
This is an important chart. Flow Limits are the 'foundation' of obstructive events. The least severe of these events are flow limits followed by hypopnea and then obstructive apnea. They are often identified as a fundamental part of RERAs and UARS. <br>
+
1. Create Backup file with current settings and user's description
Note that on this chart flow limits are under-reported as compared to what we can visualize on the flow rate graph discussed above.
+
2. Restore current settings from Backup file
 +
3. Rename Backup file description
 +
4. Update an existing Backup file with current settings
 +
5. Delete Backup file
  
If you have a lot of flow limits here, it is a good idea to review the Flow Rate chart for Flow Limits that do not show in this chart.
 
  
[[File:OSCAR flow limitation.png]]
 
  
====Issue - Pressure Increasing====
 
'''Flow Limits are often the main driver of pressure increases''', especially with ResMed devices.  Seeing Flow Limits in this graph is almost always accompanied by an increase in pressure as the ResMed algorithms depend heavily on the flow limits that are shown in this graph.
 
  
====ResMed - AUTOMATED CONTROL FOR DETECTION OF FLOW LIMITATION - Patent Application====
+
[[File:layoutSettingPicture.jpg|thumb|center|1000px|Layout Settings Manager]]<br />
[https://www.freepatentsonline.com/y2011/0203588.html AUTOMATED CONTROL FOR DETECTION OF FLOW LIMITATION]
 
  
Highlights
 
  
A known algorithm that is used to automatically set patient pressure in APAP machines is called ResMed AutoSet. All in all, the AutoSet device, and its algorithm, is excellent for treating OSA patients.
 
  
The ResMed AutoSet algorithm responds to three things:
 
# flow limitation, 
 
# snore (audible noise) and 
 
# apnoea.
 
  
The ResMed AutoSet algorithm monitors patient flow and raises pressure when it detects flow limitation or snore. Because apnoeas are normally preceded by periods of flow limitation (also called partial obstruction) or snoring, apnoeas are rarely encountered. As a backup measure, pressure is also raised if an apnoea is detected. In the absence of any measured flow disturbance, the pressure is allowed to decay slowly and hopefully an equilibrium pressure will be achieved that allows the patient to sleep arousal-free. The AutoSet algorithm responds proportionally and so a metric is used for each condition to which it responds. The metrics used are: a flattening index for flow-limitation, a calibrated RMS measure of sound averaged over an inspiration for snore and the length of any apnoea detected.
+
<p><b><center>Oscar's embedded Help Menu </center></b></p>
  
A '''flattening index''' is a non-dimensional feature (e.g., a real number) calculated using a patient's inspiration waveform. It attempts to measure essentially how flat-topped the waveform is. A feature of flow limitation is that while the downstream pressure is sufficiently low to keep the tube collapsed the flow-rate will be more or less maintained at a constant value, regardless of changes to the driving pressure. In a patient with flow-limited breathing this equates to an inspiratory waveform with a flat top (i.e., a constant inspiratory flow-rate.)
+
<div style="background:#f4f4f4; border:2px solid green; padding:10px; min-width: 40em; max_width:43em">
  
----
+
    <h4>Help Menu - Manage Layout Settings</h4>
The above is just the start.  The flattening index is a rather complex calculation taking many factor into consideration.  Do read the entire patent application if you really want to get your head spinning,
 
  
----
+
    <p style="color:black;"> 
 +
      This feature manages the saving and restoring of Layout Settings.
 +
      <br>
 +
      Layout Settings control the layout of a graph or chart.
 +
      <br>
 +
      Different Layouts Settings can be saved and later restored.
 +
      <br>
 +
    </p>
 +
    <table width="100%">
 +
        <tr><td><b>Button</b></td>
 +
            <td><b>Description</b></td></tr>
 +
        <tr><td valign="top">Add</td>
 +
<td>Creates a copy of the current Layout Settings. <br>
 +
The default description is the current date. <br>
 +
The description may be changed. <br>
 +
The Add button will be greyed out when maximum number is reached.</td></tr>
 +
                <br>
 +
        <tr><td><i><u>Other Buttons</u> </i></td> 
 +
            <td>Greyed out when there are no selections</td></tr>
 +
        <tr><td>Restore</td>
 +
<td>Loads the Layout Settings from the selection. Automatically exits. </td></tr>
 +
        <tr><td>Rename </td>       
 +
<td>Modify the description of the selection. Same as a double click.</td></tr>
 +
        <tr><td valign="top">Update</td><td> Saves the current Layout Settings to the selection.<br>
 +
        Prompts for confirmation.</td></tr>
 +
        <tr><td valign="top">Delete</td>
 +
<td>Deletes the selecton. <br>
 +
    Prompts for confirmation.</td></tr>
 +
        <tr><td><i><u>Control</u> </i></td> 
 +
            <td></td></tr>
 +
        <tr><td>Exit </td>
 +
<td>(Red circle with a white "X".) Returns to OSCAR menu.</td></tr>
 +
        <tr><td>Return</td>
 +
<td>Next to Exit icon. Only in Help Menu. Returns to Layout menu.</td></tr>
 +
        <tr><td>Escape Key</td>
 +
<td>Exit the Help or Layout menu.</td></tr>
 +
      </table> 
 +
      <p><b>Layout Settings</b></p>
 +
      <table width="100%"> 
 +
        <tr>
 +
<td>* Name</td>
 +
<td>* Pinning</td>
 +
<td>* Plots Enabled </td>
 +
<td>* Height</td>
 +
</tr>
 +
        <tr>
 +
<td>* Order</td>
 +
<td>* Event Flags</td>
 +
<td>* Dotted Lines</td>
 +
<td>* Height Options</td>
 +
</tr>
 +
      </table> 
 +
      <p><b>General Information</b></p>
 +
  <ul style=margin-left="20"; > 
 +
<li> Maximum description size = 80 characters. </li> 
 +
<li> Maximum Saved Layout Settings = 30. </li> 
 +
<li> Saved Layout Settings can be accessed by all profiles. 
 +
<li> Layout Settings only control the layout of a graph or chart. <br> 
 +
            They do not contain any other data. <br>
 +
            They do not control if a graph is displayed or not. </li>
 +
<li> Layout Settings for daily and overview are managed independantly. </li>
 +
  </ul> 
 +
</div>
  
===Leak Rate===
 
  
The leak rate graph indicates whether excessive mask leaking occurred, and to what extent. All CPAP masks are designed to leak or vent surplus air away from the user's nose or mouth. This flushes away the exhaled breath and prevents the user from re-breathing his expelled CO2. The actual amount of this designed leak will vary according to the mask. Anything in excess of that amount is an "additional leak".
+
User Interface
  
Resmed machines show a single trace indicating the additional leak. By default (in accordance with Resmed guidelines), Oscar flags any additional leak over 24 L/min as an excessive or "large leak". You can adjust the red line between acceptable and unacceptable leaks by using '''File | Preferences | CPAP | Flag leaks over threshold'''.
+
Trigger Backup File Management
  
Philips machines show two traces - total leak and additional leak. It is the lower additional leak line that indicates whether the leak is excessive or not.
+
There will be a new push Button at the bottom of the daily and overview
  
[[File:OSCAR Leak graph Resmed.png | 1200 px | Leak graph from Resmed machine showing excessive leakage]]
+
windows in the lower right hand corner - to the left of the graph combo
<br>'''Leak graph from Resmed machine showing excessive leakage'''
 
  
<br>
+
box.
[[File:OSCAR Leak graph Philips.png | 1200 px | Leak graph from Philips machine showing upper and lower traces]]
 
<br>'''Leak graph from Philips machine showing upper and lower traces'''
 
<br>
 
  
----
+
Pressing the Backup push button will trigger all Backup File Management functionality.
===Snore===
 
  
Resmed and Philips machines both show snoring as a graph with the height of the trace indicating the intensity of the snoring. In addition, Philips machines show individual snores as events labeled VS1 and VS2 (vibratory snore 1 and 2). It is usually suggested that VS2 be turned off when presenting screenshots for discussion as the large number of events recorded can overwhelm other data on the charts.
+
Backup File Management
<br><br>
 
[[File:OSCAR Snore.png | 1200 px | OSCAR snore graph from Resmed machine ]]
 
<br>'''OSCAR snore graph from Resmed machine '''
 
  
Snores can be precursors of obstructive events and as such drive pressure increases, especially with Phillips Respironics machines.  
+
The Backup File Management remains uninitialized until triggered by Backup push Button.
  
----
+
When activate a dialog box will be displayed.
  
===Zeo Data===
+
There are 5 push Buttons  - add, restore, rename, update, and delete, each with its own icons and tool-tips.
If data has been imported from a Zeo sleep monitor device, additional graphs will be available, including Sleep stage,  
 
  
[[File:OSCAR Zeo.png | 800 px]]
+
When a new backup is added, it will be given a default description using the current date-time. The description will be put in an edit mode so that the user can rename the description. The description must be a single line in any language.  
  
----
+
The UI can display up to 10 backups.
==Daily (Advanced Charts)==
 
To reset the graph order for the Advanced Charts click on '''''View/Reset Graphs/Advanced'''''<br>
 
  
===Event Flags===
+
Pictures
see Daily (Standard Charts)above for discussion.
 
----
 
  
===Flow Rate===
+
The Backup File Management UI with no backups and a tooltip for the Add button.
see Daily (Standard Charts)above for discussion.
 
====Why Pressure Support (PS/EPR)====
 
''For our purposes, Pressure Support and EPR may be considered the same, with that provided by a BiLevel having the capability of a much higher value and can be applied in smaller increments.''<br />
 
  
The way we know that more pressure support (difference between inhale and exhale pressure) is needed is that there is a relatively long inspiration time compared to expiration time. This happens when a person has considerable airway resistance or obstruction which requires more work and more time to get the volume of air needed to satisfy respiratory needs. Pressure support from bilevel therapy can actually off-load some of the physical effort of inspiration to the machine and help you fill your lungs easier and more rapidly. The increase in ventilation can reduce your CO2 level which affects respiratory drive. This is what causes some of the CA events.
+
Selecting a backup to be restored. Displays Unicode backup names.
  
(looking for chart to demonstrate this)
+
Selecting a backup to be deleted. Notice the confirmation message box.
----
 
  
===Mask Pressure===
+
Detailed view of Icons created.
  
Mask Pressure is used in advanced cases such as for Central Apnea or other breathing issues where the breathing is paced (Timed) such as in some cases of COPD.  It lets us see how the pressure is being delivered.
+
Button Actions
  
====ResMed ASV - Example====
+
Add
  
See the relationship between Pressure and Mask Pressure.  The Pressure chart looks a little jointed, because of its resolution. I view it as the current target pressure. Here there are two plots, the top red one is IPAP or inhale pressure, the bottom green one is EPAP or Exhale pressure, the difference is the intended Pressure Support (or EPR with an AirSense)<br>
+
The Add button saves the current graph settings into a new backup file. The file's description is also saved. The description field is highlighted. The user can then change the description.
Mask Pressure is the Pressure at the mask.  It is recorded in much higher resolution than Pressure is.
 
  
 +
When the backup file limit is reached, the the tooltip will be changed and the button will be greyed out. If the user presses the add button when full then an error message box will be displayed. The delete button frees up space so that new backup can be made.
  
In this example, you can see the shape of the pressure delivered by the Resmed ASV. Compare it to the square-wave which is what Philips gives, even with Flex at 3. Look how normal the resulting respiratory flow rate is.  Midway through this graph is an obstructive UA event (we know it's obstructive because the Resmed doesn't miss a central).  Note how quickly pressure hits the top of the PS setting when a breath is missed. It doesn't step up over 4-breaths, it comes in right away and backs off as soon as respiration is spontaneous.  The Philips lags in both directions. As a result, the Resmed does not very often miss its minute vent target.
+
Restore
  
[[File:ASV Mask Pressure - ResMed.png|800px]]
+
The Restore button loads the saved graphs settings and then exits.
  
----
+
Update
===Tidal Volume===
 
  
Tidal volume is the amount of air that moves in or out of the lungs with each respiratory cycle. It measures around 500 mL in an average healthy adult male and approximately 400 mL in a healthy female. It is a vital clinical parameter that allows for proper ventilation to take place. When a person breathes in, oxygen from the surrounding atmosphere enters the lungs. It then diffuses across the alveolar-capillary interface to reach arterial blood. At the same time, carbon dioxide continuously forms as long as metabolism takes place. Expiration occurs to expel carbon dioxide and prevent it from accumulating in the body. The volume of inspired and expired air that helps keep oxygen and carbon dioxide levels stable in the blood is what physiology refers to as tidal volume.
+
The Update button save the current graph settings in the selected backup file.
  
The normal tidal volume is 6 to 8 ml/kg.  Normal results typically range between 80% and 120% of the prediction.
+
The user is prompted to cancel or continue the update operation.
  
Traditional preset tidal volumes higher than 10 ml/kg have been proved to be associated with increased risk of pulmonary barotrauma and should be avoided. High tidal volumes also decrease venous return and reduce cardiac output.
+
Rename
  
====Calculating Tidal Volume Range====
+
The Rename button puts the selected backup into the edit mode so that the description can be changed. This is the same as a double click on backup file.
female, IBW = 45.5 + (2.3 * (height [in] - 60)); and
 
male,  IBW = 50  + (2.3 * (height [in] - 60)),
 
  
Minimal Tidal Volume = 6 ml/kg * IBW
+
Delete
Maximal Tidal Volume = 8 ml/kg * IBW.
 
  
====Tidal Volume During Sleep====
+
The Delete button deletes the selected backup.
  
Sleep alters respiratory physiology in various ways. REM sleep, in particular, is the sleep phase with the highest degree of breathing irregularity, both in frequency and respiratory rate. During REM, almost all body muscles, including respiratory muscles, become hypotonic, except for the diaphragm. Therefore, a person relies on the diaphragm to maintain an adequate tidal volume during REM. Additionally, respiratory response to hypoxic and hypercapnic stimuli decreases, not to mention the decreased central respiratory drive, which, along with accessory muscle paralysis, leads to a slight decrease in tidal volume and minute ventilation. The change is usually not prominent in healthy individuals but becomes prominent in patients with preexisting respiratory disease.
+
The user is prompted to cancel or continue the delete operation.
  
 +
Details
  
====ASV====
+
All the code for the Backup File Management is contained in a new class BackupFiles.  
Tidal Volume is managed by Philips Respironics ASV for the purpose of managing Central Sleep Apnea.  ResMed ASV maintains a constant Minute Volume to manage Central Sleep Apnea.
 
  
====Clinical Significance====
+
The daily and overview menus are responsible for creating an instance of BackupFiles and calling a method when the Backup button is activated.
I've included these because it is important to understand the potential impact of these Clinical diseases with an xPAP machine.
 
  
=====Restrictive Lung Diseases=====
+
The backup files are created/read using loadSettings and saveSettings methods in gGraphView. The settings filename name is the only parameter. There are no changes made to gGraphView.
  
Restrictive lung diseases are a group of chronic pulmonary conditions characterized by the inability of the lungs to fully expand, owing to problems in the lungs themselves or the structures surrounding them. Interstitial lung diseases, such as idiopathic pulmonary fibrosis and asbestosis, cause progressive fibrosis of the lung tissue. As such, they represent an intrinsic lung pathology that leads to a restrive physiology due to increased stiffness and decreased compliance. Morbid obesity and sarcoidosis are examples of extrinsic problems that cause restriction by limiting chest wall expansion. In restrictive lung disease, the patient adapts a breathing pattern of rapid, shallow breaths to minimize the work of breathing.
+
User Descriptions
  
=====Obstructive Lung Diseases=====
+
The user description is a set of characters up to a maximum length of 60 characters.
  
The hallmark of obstructive lung disease is difficulty expelling air out of the lungs due to progressive airway narrowing. Chronic obstructive pulmonary disease (COPD) and asthma are the two typical examples of obstructive lung disease. Asthma is a reversible condition characterized by airway hyperresponsiveness to various stimuli. It causes episodes of excessive mucous production, bronchoconstriction, and airway narrowing. On the other hand, COPD is an irreversible chronic inflammatory process that leads to a gradual reduction in the lumen of the conducting airways. As the condition progresses, air-trapping ensues, leading to lung hyperinflation. Since the problem in obstructive lung disease is expiratory, breathing with higher tidal volumes helps overcome airway resistance. Therefore, patients acquire a breathing pattern of deep, slow breaths to minimize the work of breathing.
+
It must be a single line.  
  
=====Mechanical Ventilation=====
+
White white space is trimmed from string.
  
Acute respiratory distress syndrome, or ARDS, is a condition characterized by widespread inflammation of the lungs following an inciting pulmonary or extrapulmonary event. ARDS usually causes hypoxemic respiratory failure or critically low arterial oxygen tension necessitating mechanical ventilation. Patients with ARDS already have injured lungs, and mechanical ventilation should follow a lung-protective strategy. In other terms, tidal volumes should be kept as low as possible to prevent volutrauma and barotrauma. The problem in ARDS is that pulmonary edema and distal airway collapse decrease the surface area of the aerated lungs. Therefore, ventilation with large or even regular tidal volumes may cause hyperinflation of the healthy aerated portion of the lungs since air does not reach the already collapsed airways. As a result, alveolar overdistension and lung injury might occur. Generally, lung-protective strategies in patients with ARDS involve administering tidal volumes of approximately 6-8 mL/Kg of ideal body weight.[8][9]
+
Cut and paste work with QT so multi-line strings can be added. The first line of the multi-line string is used.
  
=====Neuromuscular Disease=====
+
Empty descriptions (all white space)  will not change the previous description.
  
Neuromuscular diseases refer to a group of disorders characterized by progressive muscle weakness due to problems in the muscles themselves or the nerves that supply them. Patients with neuromuscular diseases (NMDs) eventually develop respiratory muscle weakness. The diaphragm is the primary muscle of inspiration and is the one most commonly affected in NMDs. Patients with a weak diaphragm rely on other muscles of inspiration, such as the external intercostals, to maintain adequate tidal volume. During REM sleep, there is generalized hypotonia of all respiratory muscles, except for the diaphragm, and a healthy person becomes diaphragm dependent. In patients with NMDs, dyspnea becomes prominent at night due to diaphragmatic weakness. Nocturnal REM-related hypoventilation is one of the earliest signs of respiratory muscle involvement in neuromuscular disease. As the disease progresses, daytime symptoms become prominent, and patients rely on a breathing pattern similar to the one seen in other restrictive lung diseases, i.e., shallow, rapid breathing.[10][11]
+
Backup Files
  
[https://www.ncbi.nlm.nih.gov/books/NBK482502/#:~:text=Tidal%20volume%20is%20the%20amount,proper%20ventilation%20to%20take%20place. Physiology, Tidal Volume] 
+
The file name used is GraphTitle.backupNNN.
----
 
  
 +
where GraphTitle is either "daily" or "overview"
  
===Minute Vent===
+
and NNN is a 3 digit decimal integer - ( 0 <= NNN < limit ).
Minute ventilation, also known as total ventilation, is a measurement of the amount of air that enters the lungs per minute. It is the product of respiratory rate and tidal volume.
 
  
Minute ventilation (or respiratory minute volume or minute volume) is the volume of gas inhaled (inhaled minute volume) or exhaled (exhaled minute volume) from a person's lungs per minute. It is an important parameter in respiratory medicine due to its relationship with blood carbon dioxide levels.
+
This description is NOT a part the real file name but is stored  as name value pair (filename : description). This allows for the description independent from the file name.
  
Normal minute ventilation is between 5 and 8 L per minute (Lpm). Tidal volumes of 500 to 600 mL at 12–14 breaths per minute yield minute ventilations between 6.0 and 8.4 L, for example. Minute ventilation can double with light exercise, and it can exceed 40 Lpm with heavy exercise.
+
Backup descriptions are saved in an descriptions.txt file where the backup file name is associated with the user description.  
  
 +
Each backup has a single line entry in the form
  
====ASV====
+
backupNNN:<Description>The Description can use  unicode characters.   
ResMed ASV maintains a constant Minute Volume to manage Central Sleep ApneaPhilips Respironics ASV manages Tidal Volume for the purpose of managing Central Sleep Apnea.   
 
  
----
+
backup name examples:
  
===Insp. Time===
+
- backup001:My Primary layout
===Exp. Time===
+
- backup002:已成功删除 عذرا ، لا يمكن تحديد موقع ملف. 删除
===Resp. Rate===
+
- backup004:/ ?  ~ :  any character
  
----
+
Currently, the same description can be used for multiple backups.
==Daily (Other Charts)==
 
===AHI===
 
  
This chart is basically a running count of the number of 'events' (OA + CA + H) in the previous 60 minutes. As such, it is not particularly useful, since you can see the clusters in the Event Flags chart at the top, and also see which types of events are occurring.
+
If the description file is corrupted then the backup file name will be used.  
  
The y-value of the OSCAR AHI graph at any given time is the total number of events recorded during the previous 60 minutes of run time in the current session. When a particular event becomes one hour old, it is dropped from the running total. The following image shows a series of 3 events scored within an 8-minute period, followed by over an hour of sleep where no additional OA, CA, or H events were scored. The AHI first increases to 3 and it stays at 3 until each of the three events "age" out of the running total:<br />
+
"eg. backup002"
  
[[File:ahi-graph-balanced_zpsa8d453f9.jpg]]
+
file name examples
  
----
+
- overview.backup008.shg      file name used for 1st backup file
 +
- overview.descriptions.txt      file name used descriptions.
  
===Time at Pressure===
+
Translations
  
The Time at Pressure graphs the amount of time spent at a specific pressure.
+
Translations are required for button labels, tooltip, and message Boxes.
  
=CPAP Algorithims=
+
icons are used on pushButtons.
[[CPAP Algorithms]]
 
To assist in understanding your devices responses
 
  
=OSCAR Calculations=
+
PushButton Labels
This section is new and under development, so please bear with us.<br>
 
Mostly OSCAR is a reporter, it is even in the name, '''OSCAR''' - the '''O'''pen '''S'''ource '''C'''PAP '''A'''nalysis '''R'''eporter.<br />
 
  
 
+
- Add
Here is what OSCAR calculates, including the math behind it.<br>
+
- Restore
 +
- Rename
 +
- Update
 +
- Delete
 +
- Cancel
 +
- Yes
  
----
+
Tooltips
==Insp. Time==
 
*Some ResMed's do not report I and E times, Which ones do not (AutoSet, Elite?). Which ones are "Calculated" by OSCAR?
 
  
----
+
- Add has been inhibited. The maximum number of backups have been exceeded.
==Exp. Time==
+
- Adds new Backup with current settings.
*Some ResMed's do not report I and E times, Which ones do not (AutoSet, Elite?). Which ones are "Calculated" by OSCAR?
+
- Restores settings from the selected Backup.
----
+
- Rename the selected Backup. Must edit existing name then press enter.
==Compliance==
+
- Update the selected Backup with current settings.
There are several different Compliance requirements out there, FAA, DOT, Medical Insurance. These requirements vary by the requiring organization and may even vary by country. It is the certifying organization that determines what the criteria is and it is they who may or may not accept OSCAR data as satisfying their documentation requirements. <br>
+
- Delete the selected Backup.
The compliance requirements vary by the number of days use over a period of time and the required number of hours use per day. If the xPAP is not used during any given day it is considered a "non-compliant" day.
+
- Closes the dialog menuReturns to previous menu.
*Compliance is calculated by OSCAR.   
 
----
 
  
==Respiration Rate, Tidal Volume, and Minute Vent==
+
Message Box
===ResMed===
 
ResMed machines record Respiration Rate, Tidal Volume, and Minute Vent, they are not calculated.
 
  
===SleepStyle CPAP===
+
- Ok to Update?
SleepStyle CPAP does not record these so OSCAR calculates those numbers from the flow graph.
+
- Ok To Delete?
===DeVilbiss===
+
- Maximum number of Backups exceeded.
DeVilbiss is in between with Respiration Rate and Tidal Volume being reported with Minute Vent calculated as the product of Respiration Rate and Tidal Volume.  
 
----
 

Latest revision as of 16:02, 8 March 2024

Cleanup.png


The overview and daily tabs each have one session backup file for graph settings. When OSCAR starts the session backup file is read. and when OSCAR exits the current settings are saved to the session backup file.

Users can also save graph settings as a user backup file. Each tab (Daily and Overview) supports 10 user defined setting backups. Each backup supports a user defined description in any language.

Triggering The following picture illustrates a restore operation is almost executed. Notice:

  • The default description is the current time and date in the local format.
  • Support for multiple languages
  • Add button is greyed because the maximum backups have been reached.


The user can
1. Create Backup with current settings and user's description
2. Restore current graph settings from a Backup
3. Rename a Backup description
4. Update an existing Backup with current settings
5. Delete a Backup

This feature is called Save Layout Settings.


setting that is saved when OSCAR exits and is restored when OSCAR

starts.

The Backup File Management feature allows for multiple backups files. Each backup will have a user defined description.

User Requirements

1. Create Backup file with current settings and user's description 2. Restore current settings from Backup file 3. Rename Backup file description 4. Update an existing Backup file with current settings 5. Delete Backup file



Layout Settings Manager



Oscar's embedded Help Menu

Help Menu - Manage Layout Settings

This feature manages the saving and restoring of Layout Settings.
Layout Settings control the layout of a graph or chart.
Different Layouts Settings can be saved and later restored.


Button Description
Add Creates a copy of the current Layout Settings.

The default description is the current date.
The description may be changed.

The Add button will be greyed out when maximum number is reached.
Other Buttons Greyed out when there are no selections
Restore Loads the Layout Settings from the selection. Automatically exits.
Rename Modify the description of the selection. Same as a double click.
Update Saves the current Layout Settings to the selection.
Prompts for confirmation.
Delete Deletes the selecton.
Prompts for confirmation.
Control
Exit (Red circle with a white "X".) Returns to OSCAR menu.
Return Next to Exit icon. Only in Help Menu. Returns to Layout menu.
Escape Key Exit the Help or Layout menu.

Layout Settings

* Name * Pinning * Plots Enabled * Height
* Order * Event Flags * Dotted Lines * Height Options

General Information

  • Maximum description size = 80 characters.
  • Maximum Saved Layout Settings = 30.
  • Saved Layout Settings can be accessed by all profiles.
  • Layout Settings only control the layout of a graph or chart.
    They do not contain any other data.
    They do not control if a graph is displayed or not.
  • Layout Settings for daily and overview are managed independantly.


User Interface

Trigger Backup File Management

There will be a new push Button at the bottom of the daily and overview

windows in the lower right hand corner - to the left of the graph combo

box.

Pressing the Backup push button will trigger all Backup File Management functionality.

Backup File Management

The Backup File Management remains uninitialized until triggered by Backup push Button.

When activate a dialog box will be displayed.

There are 5 push Buttons - add, restore, rename, update, and delete, each with its own icons and tool-tips.

When a new backup is added, it will be given a default description using the current date-time. The description will be put in an edit mode so that the user can rename the description. The description must be a single line in any language.

The UI can display up to 10 backups.

Pictures

The Backup File Management UI with no backups and a tooltip for the Add button.

Selecting a backup to be restored. Displays Unicode backup names.

Selecting a backup to be deleted. Notice the confirmation message box.

Detailed view of Icons created.

Button Actions

Add

The Add button saves the current graph settings into a new backup file. The file's description is also saved. The description field is highlighted. The user can then change the description.

When the backup file limit is reached, the the tooltip will be changed and the button will be greyed out. If the user presses the add button when full then an error message box will be displayed. The delete button frees up space so that new backup can be made.

Restore

The Restore button loads the saved graphs settings and then exits.

Update

The Update button save the current graph settings in the selected backup file.

The user is prompted to cancel or continue the update operation.

Rename

The Rename button puts the selected backup into the edit mode so that the description can be changed. This is the same as a double click on backup file.

Delete

The Delete button deletes the selected backup.

The user is prompted to cancel or continue the delete operation.

Details

All the code for the Backup File Management is contained in a new class BackupFiles.

The daily and overview menus are responsible for creating an instance of BackupFiles and calling a method when the Backup button is activated.

The backup files are created/read using loadSettings and saveSettings methods in gGraphView. The settings filename name is the only parameter. There are no changes made to gGraphView.

User Descriptions

The user description is a set of characters up to a maximum length of 60 characters.

It must be a single line.

White white space is trimmed from string.

Cut and paste work with QT so multi-line strings can be added. The first line of the multi-line string is used.

Empty descriptions (all white space) will not change the previous description.

Backup Files

The file name used is GraphTitle.backupNNN.

where GraphTitle is either "daily" or "overview"

and NNN is a 3 digit decimal integer - ( 0 <= NNN < limit ).

This description is NOT a part the real file name but is stored as name value pair (filename : description). This allows for the description independent from the file name.

Backup descriptions are saved in an descriptions.txt file where the backup file name is associated with the user description.

Each backup has a single line entry in the form

backupNNN:<Description>. The Description can use unicode characters.

backup name examples:

- backup001:My Primary layout - backup002:已成功删除 عذرا ، لا يمكن تحديد موقع ملف. 删除 - backup004:/ ? ~ : any character

Currently, the same description can be used for multiple backups.

If the description file is corrupted then the backup file name will be used.

"eg. backup002"

file name examples

- overview.backup008.shg file name used for 1st backup file - overview.descriptions.txt file name used descriptions.

Translations

Translations are required for button labels, tooltip, and message Boxes.

icons are used on pushButtons.

PushButton Labels

- Add - Restore - Rename - Update - Delete - Cancel - Yes

Tooltips

- Add has been inhibited. The maximum number of backups have been exceeded. - Adds new Backup with current settings. - Restores settings from the selected Backup. - Rename the selected Backup. Must edit existing name then press enter. - Update the selected Backup with current settings. - Delete the selected Backup. - Closes the dialog menu. Returns to previous menu.

Message Box

- Ok to Update? - Ok To Delete? - Maximum number of Backups exceeded.




Donate to Apnea Board