Manual

If the instructions seem unclear or you have some good advice or further questions, please contact us at sugarprompt@heap.ch

Enabling HealthKit access

The first time the app is started, you are asked to enable read- and write access to HealthKit. Since SugarPrompt doesn't store any samples itself, access to HealthKit is crucial. SugarPrompt needs the access to show you previous samples and make new samples available to other HealthKit enabled apps. It will never send any health data over the internet. You can always change the permissions in Settings > Privacy > Health > SugarPrompt.

Editing and deleting previous samples

Samples entered via SugarPrompt can be changed or deleted. Switch to the log view by tapping the icon at the lower left of the screen. Manual entries are marked with a pen whereas data imported from a device features two circling arrows. Swiping an entry to the left will reveal an "Edit" and a "Delete" button. Tap anywhere on the screen to cancel. When editing an imported entry, it will be changed to manual.

Glucose unit

The unit to display and enter blood glucose can be changed between "mmol/L" and "mg/dL" in the settings screen. Choosing "System Default" will use the unit specified in the "Health" app. Existing glucose entries are automatically converted when changing the unit. When importing data, the correct unit of the glucometer is selected automatically, regardless of the unit selected within SugarPrompt.

Data import

To import data from a glucometer into SugarPrompt, the data file must be transferred to your iPhone. On a Mac, the easiest way to do this is using AirDrop. First, activate AirDrop on your phone. Then select the menu item "Go > AirDrop" in the Mac OS X Finder while leaving Control Center open. The icon for your phone should now appear. Drag and drop the data file to that icon. On the phone, select "SugarPrompt" when asked for an app to handle the file.

If AirDrop is not available (e.g. on a PC), you can use Dropbox to transfer the file to your phone, or send it by email. In the app you used to receive the file, select the file and tap the share button (usually a box with an upward arrow). Select "Open In…" followed by "Copy to SugarPrompt".

Import from Accu-Chek Mobile

To import data from a Accu-Chek Mobile, connect the device to your computer with a micro USB cable. A drive called "ACCU-CHEK" should appear after a couple of seconds. The file to transfer to your iPhone is located at "/Volumes/ACCU‑CHEK/​ACCU‑CHEK Mobile/Reports/​Diary<serial_nr>.csv" where <serial_nr> is the serial number of your device. Move the file to your phone by following the steps above.

Import from Accu-Chek Smart Pix

The Accu-Chek Smart Pix can be used to transfer measurements from a wide range of Accu-Chek glucometers to your computer over infrared. So far, only the Accu-Chek Nano has been tested. Other meters are likely to work also. Please let us know whether the import worked with other devices, or send us a sample file so we can test it ourselves.

To import data from the Smart Pix, the glucumeter has to send the data to the Smart Pix first. Plug in the Smart Pix to your computer and wait until two vertical blue dots start flashing. Then on the turned off glucometer, press the left and right button at the same time until two arrows appear on its display. Align the infrared ports from the Smart Pix and the glucometer and wait until the Smart Pix glows steadily. Consult the manual of your Smart Pix if those steps don't work.

After transferring the data to your Smart Pix, the file to transfer to your iPhone is located at "/Volumes/SMART_PIX/​REPORT/XML/​<serial_nr>.XML" where <serial_nr> is the serial number of your device. Move the file to your phone by following the steps above.

Since Mac OS X doesn't expect usb storage to change on its own while plugged in, the file might not be visible at the described location. In this case, unplug the Smart Pix and restart the process. Don't browse the device before the transfer is over. Alternatively, open "Disk Utility" and select the "SMART_PIX" volume. Select "File > Unmount" followed by "File > Mount".

Merging data

Once SugarPrompt has opened a file, it shows the import dialog. Its first two rows display the serial number of the device and the date of the latest entry that has been imported from that device. Only entries newer than that are considered for import. To also import older samples, delete the device in "Settings > Latest Import". This will restore entries that have been manually deleted or edited from the log view.

"New entries" counts the number of entries that are not yet on the phone. "Entries to replace" counts the number of manual entries that will be removed from the phone. Manual entries are removed when they are replaced by an entry from the device that has the same value and was recorded between 90 minutes before or after the manual entry. The replacement of manual entries can be disabled in "Settings > Replace Manual Entries". "Ignored entries" counts the number of entries already stored on the phone (same value, date and not edited).

Quickly check the numbers explained above. If everything seems to be in order, tap "Import" to merge the new data with HealthKit. Otherwise leave everything unchanged by tapping "Cancel".

Apple Watch app

The SugarPrompt Watch app shows the time and value of the most recent glucose level entry. A new value can be entered by modifying the existing value with the digital crown. The app also provides a complication which shows the most recent value. Enabling the complication will also provide a quicker way to enter new data by opening the input prompt on tap.