Meter Upload Development

31 posts, 6 contributors

Search the DAFNE Online Forums

 
NiVZ DAFNE Graduate
NHS Grampian
82 posts

Hello,

I've not had as much time to work on this lately (apologies) and I'm starting to struggle to think about the best way to make this work and also I'm the first to admit I'm not great at making a pretty user interface.

The bit I'm struggling with the most is how people will use this, which can cause some problems with the data. Don't want to get too technical, but at the moment the program works as follows:

1. If it's the first time the program has run, it asks for your Dafne username & password, meter type, com port (auto detected where possible) and proxy settings (for if you are using it at work) Otherwise it reads the saved settings

2. It then waits for you to press the 'Get Meter Data' button

3. When you press the button it checks the latest BG date it has in my programs LOCAL database and then reads all the data from the meter, only adding new data to the database (this makes it quicker)

4. Once it has finished it asks you if you want to upload the data to DAFNE online.

5. If you click OK it goes and gets the latest BG date from DAFNE online

6. It then uploads all the data from the LOCAL database to DAFNE online that is newer than the date it got in step 5.

After the program has uploaded your BG data you can then go and add your insulin and carb data manually via the website.

The problems I'm thinking of are:

1. If you add a snack entry which is later than the last date you uploaded, there is a chance it could get overwritten if your meter has a BG reading for the same date and time

2. If you uploaded all of your data 2 days ago, and continue to test in the next 2 days, but then manually enter a reading for today the program will NOT add the data for the two days in between.

I'm not sure how much of aproblem this would be but better to be safe than sorry. I don't want people to lose data by mistake.

Any suggestions, or ideas about this please feel free to get in touch. I could even make a demo version available for people to let me know what they think.

I'm also waiting for Lifescan to get back to me on some of the questions I have asked them.

Thanks,

NiVZ

Simon Site Administrator
Sheffield Teaching Hospitals
578 posts

NiVZ,

Re problem 1 - the diary should merge the data, so that shouldn't be an issue.

Problem 2 - it may be worth adding an 'updated at' field to each diary entry so that we can record when it was last updated - will this help?

Simon

NiVZ DAFNE Graduate
NHS Grampian
82 posts

Hi Simon,

For problem 1, I thought it was overwriting - I'll re-test this.

Problem 2 I need to think some more about.

Also, just wondered (might be me being very thick as I've had a long day!) but is there anyway online to EDIT an entry. I did look but couldn't see it anywhere. This would definitely be needed for all meters that don't store insulin and carb data (ie everything except OneTouch UltraSmart)

Thanks,

NiVZ

NiVZ DAFNE Graduate
NHS Grampian
82 posts

Hello,

If anyone wants a look at the DEMO version to get an idea of how the program is shaping up, you can download it at the following link:

http://www.mediafire.com/?ftdimtymgmu

At the moment it uses a 'dummy' meter to generate random data, and it doesn't actually perform the upload (don't want to put random data in your real accounts) but everything else is just how it will work with a real meter.

All constructive criticism gladly accepted.

Thanks,

NiVZ

NiVZ DAFNE Graduate
NHS Grampian
82 posts

Hello,

If anyone wants a look at the DEMO version to get an idea of how the program is shaping up, you can download it at the following link:

http://www.mediafire.com/?ftdimtymgmu

At the moment it uses a 'dummy' meter to generate random data, and it doesn't actually perform the upload (don't want to put random data in your real accounts) but everything else is just how it will work with a real meter.

All constructive criticism gladly accepted.

Thanks,

NiVZ

Simon Site Administrator
Sheffield Teaching Hospitals
578 posts

Yep - if you click on an entry on the diary display you can edit it from there. Not sure how well it works with our RESTful XML side of things so I'll test it out and let you know.

Cheers

NiVZ DAFNE Graduate
NHS Grampian
82 posts

Hello,

Not had a chance to do more testing, but I have received the papers from Lifescan to sign to give me access to the UltraSMART protocol, and Bayer have kindly donated me a Contour USB to see if I can get it working too.

NiVZ

laurals11 DAFNE Graduate
NHS Lanarkshire
11 posts

Just wondering if this was going to be available soon. I had been using Breeze 2 but got an Ultra Smart as sometimes I'm hopeless at writing everything down. First one I got had a faulty screen but I just got another this week and really like not having to carry /find diary.
I miss the convenience of 10 test disc in Breeze but UltraSmart is best thing I've found since doing DAFNE...
Tried to get DEMO version and got Invalid or deleted file

NiVZ DAFNE Graduate
NHS Grampian
82 posts

Hello,

Sorry I've not been around for a while (my wife just gave birth to our second baby!) but I've not forgotten about this. On my return to work I've now received the UltraSmart technical doc from Lifescan so I'll need to get reading that.

Hopefully it will help me get all the UltraSmart stuff working (including Carbs and Insulin data). Once I'm up to speed I think I'm going to concentrate on just the UltraSmart and make a concerted effort on getting a full program working for this meter only as it seems to be the most popular (and useful) meter for DAFNE users.

Thanks,

NiVZ

laurals11 DAFNE Graduate
NHS Lanarkshire
11 posts

Congratulations.Apologies not necessary- babies and family are definitely first in priorities, enjoy!
Cheers
Laura
Cleaning and scrubbing can wait 'til tomorrow, because babies grow up, I've learned to my sorrow. So hush-a-bye cobwebs, dust go to sleep. I'm rocking my baby and babies don't keep! — Author Unknown.