Code Monkey home page Code Monkey logo

glucosuccess's Introduction

GlucoSuccess

GlucoSuccess is a unique iPhone application that utilizes ResearchKit and HealthKit to get a more accurate understanding of how various things affect the progression and management of type 2 diabetes. The app presents a variety of surveys and tasks to track health behaviors such as physical activity, diet and medications.

Massachusetts General Hospital’s goals in this study are to understand how health behaviors influence blood glucose in real life, with a resolution greater than ever before. At the same time, the app provides personalized insights into how one’s daily diet and physical activity relate to their blood glucose values.

Building the App

###Requirements

  • Xcode 6.3
  • iOS 8.3 SDK

###Getting the source

First, check out the source, including all the dependencies:

git clone --recurse-submodules https://github.com/ResearchKit/GlucoSuccess.git

###Building it

Open the project, Diabetes.xcodeproj, and build and run.

Other components

The shipping app also uses OpenSSL to add extra data protection, which has not been included in the published version of the AppCore project. See the AppCore repository for more details.

Data upload to Bridge has been disabled, the logos of the institutions have been removed, and the consent material has been marked as an example.

License

The source in the GlucoSuccess repository is made available under the following license unless another license is explicitly identified:

Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1.  Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2.  Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

3. Neither the name of the copyright holder(s) nor the names of any contributors
may be used to endorse or promote products derived from this software without
specific prior written permission. No license is granted to the trademarks of
the copyright holders even if such marks are included in this software.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

glucosuccess's People

Contributors

jwe-apple avatar peculiar avatar vtourraine avatar yuanzhu-apple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glucosuccess's Issues

Firebase

Hello, I'm new to xcode and Researchkit. Can you please tell me if it's possible to connect this project to Firebase? If not, how do you get users' data?

Currently Does not work with any of the Xcode 8 betas

When using any of the Xcode 8 Betas I get a Thread 1: signal sigabrt error message on the following code (note, I do not get this issue in prior iOS or Xcode Versions).

import <UIKit/UIKit.h>

import "APHAppDelegate.h"

int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([APHAppDelegate class]));
}
}

Steps to Reproduce:

  1. Download and Compile the Glucose Success study
  2. Launch the app in Simulator (I am using iPhone 6 plus configuration).
  3. Go through the registration process.
  4. When you get to the healthkit “What to Expect” screen, click accept and that's when the signal sigabrt issue appears.

Slow response

Version 1.0.5 is incredibly slow. It's so slow that it's almost unusable.

Wrong submodule referencing

Run git clone --recurse-submodules https://github.com/ResearchKit/GlucoSuccess.git

Cloning into 'ResearchKit'...
remote: Counting objects: 6296, done.
remote: Total 6296 (delta 0), reused 0 (delta 0), pack-reused 6296
Receiving objects: 100% (6296/6296), 13.89 MiB | 8.57 MiB/s, done.
Resolving deltas: 100% (4165/4165), done.
Checking connectivity... done.
fatal: reference is not a tree: 9c5d9966361547832ae8d7e5c5c2ec4dbe56b216
Unable to checkout '9c5d9966361547832ae8d7e5c5c2ec4dbe56b216' in submodule path 'ResearchKit'

Crash

The app crashes after pressing the "Got It!" button when it notifies you about authorizing HealthKit. It exits with a thread 1 signal sigabrt error.

Why is Baseline Survey Not Running in Simulator?

The baseline survey activity does not run in the Simulator. Specifically, if I try to click on the radio button to open up the baseline survey questions it does not open. All of the other activity trackers (ie, daily check, log food, waist measurement, etc... ) are working without issue. Does anyone have any suggestions on how to fix this so that I can simulate the Baseline Survey questions? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.