Here a brief overview on how the SpO2 episodes are calculated:

First the algorithm calculates the episodes only within the sleep period defined in the patient diary.

That said the definition of an SpO2 desaturation episode is:

  • Starting from a drop of at least 3%/s from the calculated "basal reference"
  • The episode ends if the level recovers to at least the previous basal value or a gap (artefact) is encountered
  • The episode is stored if the there is a minmum length of 10 seconds.

So now how is the "basal value" calculated:

  • The value at time X is the mean of the highest 4 elements in the last 40 seconds.
  • The calculation is updated for each second.
  • Starting point of the calculation are at least 3 minutes of uninterrupted signal without any episodes.
  • If there is a gap of more than 10seconds the procedure is reinitialized.

From here one one can derrive the statistical elements like Longest Episode, Desaturation index or fastest desaturation and so on...