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

Directly edit Oscar Data
#1
Question 
Directly edit Oscar Data
I am using OSCAR with Resmed machine but I am also importing o2 information. One of my Spo2 files glitched as I was taking it off my finger and recorded a heart rate of 255. This is messing up my reports. I need to either edit the data in OSCARs database directly or perhaps find the offending Spo2 file and edit it and reimport Assuming that will clobber the glitch. I really don't want to nuke all the O2 data in OSCAR to correct this problem. I am reasonably tech savvy and in another life I did some sql although I am a little rusty now. If someone knows the best way to wack-a-mole this glitch it would be appreciated.   I am not even opposed to using a hex editor if that is what is needed. I am unsure if the data is stored as XML or what. Nor do I know where it is stored. I am running on Windows 11 al be it in a VM on my MAC. If someone can point me in the right direction that would be great.
Post Reply Post Reply
#2
RE: Directly edit Oscar Data
Hi dgconder!  -  Welcome
Since you listed it as a "SpO2" file, I assume that you are using a Contec or its clone oximeter.  It has been 10 years since I last looked at a SpO2 file.  It is a binary file and will involve using a hex editor to modify it.   As far as OSCAR, you can just delete the oximeter's data for that particular day (Data > Advanced > Purge Oximetry Data > Current Day).
- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
Wink 
RE: Directly edit Oscar Data
You are correct about my Contec Oximeter. On closer inspection it appears that this 255 heart rate happens when the battery dies in the oximeter.  It goes from pr of 44 instantly to 255 then stops. I wonder if I could put in an enhancement request for sp software or OSSCAR to toss out data like this. I saw an option in OSCAR that said cleanup oximetry data. But as near as I can tell it did not touch the pulse rate data that came with the oximeter data. Looks like I have several days  to delete if I want to clean it up. I guess I was just trying to be frugal and use low batteries.  I looked at the raw spo2 file a little bit without knowing more about the structure I am hesitant to tamper with it. Thanks for your response. I wonder if OSCAR has some database editing tools?  Thanks
Post Reply Post Reply
#4
RE: Directly edit Oscar Data
OSCAR does not have any data editing tools. Having an option like that would destroy its reporting validity. Based on other data files I've reviewed, a 255 (ff hex) entry usually signifies an invalid observation/entry. I need to look at the Contec parser to see how it is written. Its code was from SleepyHead. As far as I am aware, its code has not been touched since OSCAR was first released.

If you want to try removing that 255 entry, copy the data file first and add an identifier as a filename prefix, then edit it.

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Oscar program will not open data files raylock1 7 103 12-24-2024, 04:12 PM
Last Post: raylock1
  Oscar 1.6 not recognizing AirSense 11 data treemkr 2 101 12-23-2024, 11:29 AM
Last Post: treemkr
  OSCAR: Questions regarding a potential import for Garmin data littleyoda 8 480 12-22-2024, 08:58 AM
Last Post: littleyoda
  ALL OSCAR data to Sleep doc... McBrugh 5 243 12-14-2024, 05:27 PM
Last Post: Sleeprider
  Machines with max oscar data wking 3 346 12-09-2024, 04:10 PM
Last Post: SarcasticDave94
  Oscar crashes when importing Wellue O2 ring data Armorwolf 24 1,139 12-08-2024, 01:11 PM
Last Post: Crimson Nape
  Difference in data between Oscar and EncorePro xanatos 1 213 12-03-2024, 10:06 AM
Last Post: OpalRose


New Posts   Today's Posts


About Apnea Board

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