Import SPO2 file structure

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
jeffry
Posts: 2
Joined: Sun Nov 27, 2022 10:09 pm

Import SPO2 file structure

Post by jeffry » Mon Jan 16, 2023 2:59 pm

I have a Samsung Watch 5 that captures SPO2 data. I have written a Python program to extract the Oxygen saturation data from the data from the watch. I'd love to be able to import it into Oscar so I can see it alongside the data from my CPAP machine (which I already import into Oscar). However, I cannot find documentation on the file structure needed to import the data into Oscar. Can anyone point me to a resource to explain how I should structure the data to import oxygen saturation data into Oscar?

The data shows the minimum and maximum percent for each minute plus start and stop time stamps.

I understand that I must take the readings from my watch with a grain of sand but seeing how low points it captures align with non-breathing events from my CPAP machine seems like it might provide useful information.

Thanks!