├── .gitignore ├── .gitmodules ├── Diabetes.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── xcshareddata │ └── xcschemes │ └── Diabetes.xcscheme ├── Diabetes.xcworkspace └── contents.xcworkspacedata ├── Diabetes ├── Diabetes.entitlements ├── Images.xcassets │ ├── Activities │ │ ├── Common │ │ │ └── Completion-Check.imageset │ │ │ │ ├── Completion-Check.pdf │ │ │ │ └── Contents.json │ │ ├── Waist Measurement │ │ │ ├── waistmeasurement-Icon1.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── waistmeasurement-Icon1.pdf │ │ │ ├── waistmeasurement-Icon2.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── waistmeasurement-Icon2.pdf │ │ │ └── waistmeasurement-Icon3.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── waistmeasurement-Icon3.pdf │ │ └── Weight Measurement │ │ │ ├── weightmeasurement-Icon1.imageset │ │ │ ├── Contents.json │ │ │ └── weightmeasurement-Icon1.pdf │ │ │ ├── weightmeasurement-Icon2.imageset │ │ │ ├── Contents.json │ │ │ └── weightmeasurement-Icon2.pdf │ │ │ ├── weightmeasurement-Icon3.imageset │ │ │ ├── Contents.json │ │ │ └── weightmeasurement-Icon3.pdf │ │ │ └── weightmeasurement-Icon4.imageset │ │ │ ├── Contents.json │ │ │ └── weightmeasurement-Icon4.pdf │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── appicon_massgen_diabetes_apple_sow1_v13-1@2x.png │ │ ├── appicon_massgen_diabetes_apple_sow1_v13-1@3x.png │ │ ├── settingsicon_massgen_diabetes_apple_sow1_v13-1@2x.png │ │ ├── settingsicon_massgen_diabetes_apple_sow1_v13-1@3x.png │ │ ├── spotlighticon_massgen_diabetes_apple_sow1_v13-1@2x.png │ │ └── spotlighticon_massgen_diabetes_apple_sow1_v13-1@3x.png │ ├── Consent │ │ ├── 00_Blank_to_Activities.imageset │ │ │ ├── 00_Blank_to_Activities_2x.png │ │ │ ├── 00_Blank_to_Activities_3x.png │ │ │ └── Contents.json │ │ ├── 01_Activities_to_SensorData.imageset │ │ │ ├── 01_Activities_to_SensorData_2x.png │ │ │ ├── 01_Activities_to_SensorData_3x.png │ │ │ └── Contents.json │ │ ├── 10_PotentialBenifits.imageset │ │ │ ├── 10_PotentialBenifits_2x.png │ │ │ ├── 10_PotentialBenifits_3x.png │ │ │ └── Contents.json │ │ ├── 11_IssuesToConsider1.imageset │ │ │ ├── 11_IssuesToConsider1_2x.png │ │ │ ├── 11_IssuesToConsider1_3x.png │ │ │ └── Contents.json │ │ ├── 12_IssuesToConsider2.imageset │ │ │ ├── 12_IssuesToConside2_2x.png │ │ │ ├── 12_IssuesToConside2_3x.png │ │ │ └── Contents.json │ │ ├── 13_RiskToPrivacy.imageset │ │ │ ├── 13_RiskToPrivacy_2x.png │ │ │ ├── 13_RiskToPrivacy_3x.png │ │ │ └── Contents.json │ │ ├── consent_mood.imageset │ │ │ ├── 2.0-Consent_Icon4-750px.pdf │ │ │ └── Contents.json │ │ ├── consent_privacy.imageset │ │ │ ├── 2.0-Consent_Icon2-750px.pdf │ │ │ └── Contents.json │ │ ├── consent_uncomfortablequestions.imageset │ │ │ ├── 2.0-Consent_Icon3-750px.pdf │ │ │ └── Contents.json │ │ └── consent_visualize.imageset │ │ │ ├── 2.0-Consent-750px.pdf │ │ │ └── Contents.json │ ├── Dashboard │ │ ├── collapse_icon.imageset │ │ │ ├── Contents.json │ │ │ └── resize_collapse.pdf │ │ ├── expand_icon.imageset │ │ │ ├── Contents.json │ │ │ └── resize_expand.pdf │ │ ├── info_bubble_upright.imageset │ │ │ ├── Contents.json │ │ │ └── background_tooltipabove_apple_sow1_v11-1.pdf │ │ ├── info_bubble_upsidedown.imageset │ │ │ ├── Contents.json │ │ │ └── background_tooltipbelow_apple_sow1_v11-1.pdf │ │ ├── info_icon.imageset │ │ │ ├── Contents.json │ │ │ └── info.pdf │ │ ├── info_icon_selected.imageset │ │ │ ├── Contents.json │ │ │ └── info_selected.pdf │ │ └── move_icon.imageset │ │ │ ├── 3.0Dashboard-MoveIcon.pdf │ │ │ └── Contents.json │ ├── Disease Icons │ │ ├── logo_disease.imageset │ │ │ ├── Contents.json │ │ │ └── logo_disease.pdf │ │ ├── logo_disease_large.imageset │ │ │ ├── Contents.json │ │ │ └── logo_disease_large.pdf │ │ ├── logo_disease_researchInstitute.imageset │ │ │ ├── Contents.json │ │ │ ├── unnamed-1.png │ │ │ └── unnamed.png │ │ └── logo_researchInstitute.imageset │ │ │ ├── Contents.json │ │ │ ├── unnamed-1.png │ │ │ └── unnamed.png │ ├── Food Log │ │ ├── GetStarted.imageset │ │ │ ├── Contents.json │ │ │ └── illustration_getstarted@3x.png │ │ ├── HealthPermissions.imageset │ │ │ ├── Contents.json │ │ │ └── illustration_healthpermissions@3x.png │ │ ├── LoseIt.imageset │ │ │ ├── Contents.json │ │ │ └── illustration_loseIt@3x.png │ │ └── WhyLogFood.imageset │ │ │ ├── Contents.json │ │ │ └── illustration_whylogfood@3x.png │ ├── Insights │ │ ├── Food Insights │ │ │ ├── food_insights_carbs.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── icon_carbs_insights_diabetes_apple_sow1_v11_1.pdf │ │ │ ├── food_insights_carbs_sugars.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── icon_sugarscarbs_insights_diabetes_apple_sow1_v11_1.pdf │ │ │ └── food_insights_sugars.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── icon_sugars_insights_diabetes_apple_sow1_v11_1.pdf │ │ └── Glucose Insights │ │ │ ├── glucose_insights_activity.imageset │ │ │ ├── Contents.json │ │ │ └── icon_vigorousactivity_insights_diabetes_apple_sow1_v11_1.pdf.pdf │ │ │ ├── glucose_insights_calories.imageset │ │ │ ├── Contents.json │ │ │ └── icon_food_insights_diabetes_apple_sow1_v11_1.pdf │ │ │ ├── glucose_insights_sleep.imageset │ │ │ ├── Contents.json │ │ │ └── icon_sleep_insights_diabetes_apple_sow1_v11_1.pdf │ │ │ ├── glucose_insights_steps.imageset │ │ │ ├── Contents.json │ │ │ └── icon_steps_insights_diabetes_apple_sow1_v11_1.pdf │ │ │ └── icon_moderateactivity_insights_diabetes_apple_sow1_v11_1.imageset │ │ │ ├── Contents.json │ │ │ └── icon_moderateactivity_insights_diabetes_apple_sow1_v11_1.pdf │ ├── Launch Stuff │ │ ├── logo_research_institute.imageset │ │ │ ├── Contents.json │ │ │ ├── unnamed-1.png │ │ │ └── unnamed.png │ │ └── privateLaunchImage.imageset │ │ │ ├── Contents.json │ │ │ └── loading_pd_apple_sow1_v7-1.png │ ├── LaunchImage.launchimage │ │ └── Contents.json │ ├── Learn │ │ ├── consent_icon.imageset │ │ │ ├── Contents.json │ │ │ └── ReviewConsent-Icon.pdf │ │ ├── diagnostics_icon.imageset │ │ │ ├── @2x_0003_icon_symptoms.png │ │ │ ├── @3x_0003_icon_symptoms.png │ │ │ └── Contents.json │ │ ├── disease_icon.imageset │ │ │ ├── Contents.json │ │ │ └── logo_disease_large.pdf │ │ ├── globe_icon.imageset │ │ │ ├── @2x_0004_icon_globe.png │ │ │ ├── @3x_0004_icon_globe.png │ │ │ └── Contents.json │ │ ├── how_it_works.imageset │ │ │ ├── @2x_0001_icon_how-itworks-1.png │ │ │ ├── @3x_0001_icon_how-itworks.png │ │ │ └── Contents.json │ │ ├── paperplus_icon.imageset │ │ │ ├── @2x_0000_icon_aboutthisstudy-1.png │ │ │ ├── @3x_0000_icon_aboutthisstudy.png │ │ │ └── Contents.json │ │ ├── participate_icon.imageset │ │ │ ├── @2x_0002_icon_participate.png │ │ │ ├── @3x_0002_icon_participate.png │ │ │ └── Contents.json │ │ ├── treatment_icon.imageset │ │ │ ├── 4.0Learn-TreatmentOptions-Icon.pdf │ │ │ └── Contents.json │ │ └── who_is_running_icon.imageset │ │ │ ├── @2x_0000_icon_whoisrunning-1.png │ │ │ ├── @3x_0000_icon_whoisrunning.png │ │ │ └── Contents.json │ ├── Navigation │ │ └── back_button.imageset │ │ │ ├── Contents.json │ │ │ └── back_button_thin.pdf │ ├── Onboarding │ │ ├── Eligibility │ │ │ ├── eligibility_doctor.imageset │ │ │ │ ├── 1.4Eligibility-Doctor-Icon-Inactive.pdf │ │ │ │ └── Contents.json │ │ │ ├── eligibility_patient.imageset │ │ │ │ ├── 1.4Eligibility-Patient-Icon-NotChosen.pdf │ │ │ │ └── Contents.json │ │ │ ├── email_icon.imageset │ │ │ │ ├── 1.4Eligibility-Icon-Email-D.pdf │ │ │ │ └── Contents.json │ │ │ ├── facebook_icon.imageset │ │ │ │ ├── 1.4Eligibility-Icon-Facebook-D.pdf │ │ │ │ └── Contents.json │ │ │ ├── sms_icon.imageset │ │ │ │ ├── 1.4Eligibility-Icon-SMS-D.pdf │ │ │ │ └── Contents.json │ │ │ └── twitter_icon.imageset │ │ │ │ ├── 1.4Eligibility-Icon-Twitter-D.pdf │ │ │ │ └── Contents.json │ │ ├── SignUp │ │ │ ├── invalid_icon.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── icon_incorrect_apple_sow1_v1-1.pdf │ │ │ ├── profilePlaceholder.imageset │ │ │ │ ├── 2.2Join-ProfileIcon.pdf │ │ │ │ └── Contents.json │ │ │ ├── switch_icon.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── switch_icon.pdf │ │ │ └── valid_icon.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── icon_correct_apple_sow1_v1-1.pdf │ │ └── StudyOverview │ │ │ ├── clipboard_icon.imageset │ │ │ ├── 0.0Onboarding-Eligible-Icon.pdf │ │ │ └── Contents.json │ │ │ ├── play_icon.imageset │ │ │ ├── 0.0Onboarding-Play-Icon.pdf │ │ │ └── Contents.json │ │ │ ├── rulerpencil_icon.imageset │ │ │ ├── 0.0Onboarding-HowStudyWorks-Icon.pdf │ │ │ └── Contents.json │ │ │ ├── share_icon.imageset │ │ │ ├── Contents.json │ │ │ └── Share-Icon-Apple.pdf │ │ │ ├── stethescope_icon.imageset │ │ │ ├── 0.0Onboarding-RunningStudy-Icon.pdf │ │ │ └── Contents.json │ │ │ ├── stopwatch_icon.imageset │ │ │ ├── 0.0Onboarding-LengthStudy-Icon.pdf │ │ │ └── Contents.json │ │ │ └── study_details_video.imageset │ │ │ ├── Contents.json │ │ │ └── study_details@2x.png │ ├── Seven Day Fitness │ │ ├── tutorial-1.imageset │ │ │ ├── CD-ActivityTracker-Tutorial-1.pdf │ │ │ └── Contents.json │ │ └── tutorial-2.imageset │ │ │ ├── CD-ActivityTracker-Tutorial-2.pdf │ │ │ └── Contents.json │ └── Tabbar │ │ ├── tab_activities.imageset │ │ ├── Activities-Icon-Grey-1x.pdf │ │ └── Contents.json │ │ ├── tab_activities_selected.imageset │ │ ├── Activities-Icon-D-1x.pdf │ │ └── Contents.json │ │ ├── tab_dashboard.imageset │ │ ├── Contents.json │ │ └── Dashboard-Icon-Grey-1x.pdf │ │ ├── tab_dashboard_selected.imageset │ │ ├── Contents.json │ │ └── Dashboard-Icon-D.pdf │ │ ├── tab_learn.imageset │ │ ├── Contents.json │ │ └── Learn-Icon-Grey-1x.pdf │ │ ├── tab_learn_selected.imageset │ │ ├── Contents.json │ │ └── Learn-Icon-D-1x.pdf │ │ ├── tab_profile.imageset │ │ ├── Contents.json │ │ └── Profile-Icon-Grey-1x.pdf │ │ └── tab_profile_selected.imageset │ │ ├── Contents.json │ │ └── Profile-Icon-D-1x.pdf ├── Info.plist ├── Library │ ├── Categories │ │ ├── NSString+CustomMethods.h │ │ └── NSString+CustomMethods.m │ └── Model │ │ ├── APHTableViewItem.h │ │ └── APHTableViewItem.m ├── Onboarding │ ├── APHInclusionCriteriaViewController.h │ ├── APHInclusionCriteriaViewController.m │ ├── APHOnboarding.storyboard │ └── Glucose Levels │ │ ├── APHGlucoseLevelsDaysViewController.h │ │ ├── APHGlucoseLevelsDaysViewController.m │ │ ├── APHGlucoseLevelsMealTimesViewController.h │ │ ├── APHGlucoseLevelsMealTimesViewController.m │ │ ├── APHGlucoseLevelsViewController.h │ │ └── APHGlucoseLevelsViewController.m ├── Resources │ ├── HTMLContent │ │ ├── 10study_task.html │ │ ├── 11withdrawing.html │ │ ├── 12potentialbenefits1.html │ │ ├── 13issues_survey.html │ │ ├── 14issues_mood.html │ │ ├── 15privacy_risk.html │ │ ├── 15sharing_rsch.html │ │ ├── 1welcome.html │ │ ├── 3activities.html │ │ ├── 4sensordata.html │ │ ├── 5dataprocessing.html │ │ ├── 6protectingdata.html │ │ ├── 7datause.html │ │ ├── 7datause_clip_image003.gif │ │ ├── 8time.html │ │ ├── 9study_survey.html │ │ ├── AboutStudy.html │ │ ├── AboutStudy_intro.html │ │ ├── EligibleToParticipate.html │ │ ├── EligibleToParticipate_intro.html │ │ ├── Intro_section_diabetes.css │ │ ├── Learn_section_diabetes.css │ │ ├── MGHlogo.jpg │ │ ├── MGHlogo2.jpg │ │ ├── PrivacyPolicy.html │ │ ├── diabetes_fullconsent.html │ │ ├── disease_information.html │ │ ├── disease_information_top.png │ │ ├── disease_information_top222.jpg │ │ ├── howstudyworks.html │ │ ├── howstudyworks_intro.html │ │ ├── institution.png │ │ ├── online_resources.html │ │ ├── online_resources_top.png │ │ └── symptoms.html │ ├── JSONs │ │ ├── APCParameters.json │ │ ├── APHConsentSection.json │ │ ├── APHTasksAndSchedules.json │ │ ├── Learn.json │ │ ├── StudyOverview.json │ │ ├── TermsAndConditions.json │ │ └── WithdrawStudy.json │ ├── PDF │ │ └── consent.pdf │ ├── ResearchKit-Assets │ │ └── Consent │ │ │ ├── phone@2x │ │ │ ├── consent_01@2x.m4v │ │ │ ├── consent_02@2x.m4v │ │ │ ├── consent_03@2x.m4v │ │ │ ├── consent_04@2x.m4v │ │ │ ├── consent_05@2x.m4v │ │ │ ├── consent_06@2x.m4v │ │ │ └── consent_07@2x.m4v │ │ │ └── phone@3x │ │ │ ├── consent_01@3x.m4v │ │ │ ├── consent_02@3x.m4v │ │ │ ├── consent_03@3x.m4v │ │ │ ├── consent_04@3x.m4v │ │ │ ├── consent_05@3x.m4v │ │ │ ├── consent_06@3x.m4v │ │ │ └── consent_07@3x.m4v │ ├── Tasks │ │ └── sample.task │ ├── Videos │ │ └── Consent │ │ │ ├── 2x │ │ │ ├── 00_Blank_to_Activities@2x.m4v │ │ │ ├── 01_Activities_to_SensorData@2x.m4v │ │ │ ├── 02_SensorData_to_DataGathering@2x.m4v │ │ │ ├── 10_PotentialBenifits@2x.m4v │ │ │ ├── 11_IssuesToConsider1@2x.m4v │ │ │ ├── 12_IssuesToConside2@2x.m4v │ │ │ └── 13_RiskToPrivacy@2x.m4v │ │ │ └── 3x │ │ │ ├── 00_Blank_to_Activities@3x.m4v │ │ │ ├── 01_Activities_to_SensorData@3x.m4v │ │ │ ├── 02_SensorData_to_DataGathering@3x.m4v │ │ │ ├── 10_PotentialBenifits@3x.m4v │ │ │ ├── 11_IssuesToConsider1@3x.m4v │ │ │ ├── 12_IssuesToConside2@3x.m4v │ │ │ └── 13_RiskToPrivacy@3x.m4v │ └── surveys │ │ ├── BaselineSurvey.json │ │ ├── DiabetesQoLSurvey.json │ │ ├── DiabetesSleepSurvey.json │ │ ├── diabetes_A1C.json │ │ ├── diabetes_daily_check.json │ │ └── diabetes_weekly_survey.json ├── Startup │ ├── APHAppDelegate.h │ ├── APHAppDelegate.m │ ├── APHProfileExtender.h │ ├── APHProfileExtender.m │ ├── LaunchScreen.xib │ └── Main.storyboard ├── TabBarControllers │ └── Dashboard │ │ ├── APHDashboard.storyboard │ │ ├── APHDashboardEditViewController.h │ │ ├── APHDashboardEditViewController.m │ │ ├── APHDashboardViewController.h │ │ ├── APHDashboardViewController.m │ │ ├── APHFoodInsightsViewController.h │ │ ├── APHFoodInsightsViewController.m │ │ ├── APHGlucoseInsightsViewController.h │ │ ├── APHGlucoseInsightsViewController.m │ │ ├── APHbaseline.h │ │ └── APHbaseline.m ├── TasksAndSteps │ ├── BaselineSurvey │ │ ├── APHBaselineSurvey.h │ │ ├── APHBaselineSurvey.m │ │ ├── APHBaselineTaskViewController.h │ │ └── APHBaselineTaskViewController.m │ ├── EnterWeight │ │ ├── APHEnterWeightTaskViewController.h │ │ └── APHEnterWeightTaskViewController.m │ ├── Food Log │ │ ├── APHFoodLogLaunch.storyboard │ │ ├── APHFoodLogLaunchViewController.h │ │ ├── APHFoodLogLaunchViewController.m │ │ ├── APHFoodLogTaskViewController.h │ │ └── APHFoodLogTaskViewController.m │ ├── LogGlucose │ │ ├── APHGlucoseEntryTableViewCell.h │ │ ├── APHGlucoseEntryTableViewCell.m │ │ ├── APHGlucoseEntryViewController.h │ │ ├── APHGlucoseEntryViewController.m │ │ ├── APHGlucoseLevelTaskViewController.h │ │ ├── APHGlucoseLevelTaskViewController.m │ │ ├── APHGlucoseLog.storyboard │ │ ├── APHGlucoseLogTaskViewController.h │ │ ├── APHGlucoseLogTaskViewController.m │ │ ├── APHGlucoseLogViewController.h │ │ ├── APHGlucoseLogViewController.m │ │ ├── APHSliderCellView.h │ │ ├── APHSliderCellView.m │ │ ├── APHSliderViewController.h │ │ └── APHSliderViewController.m │ ├── MeasureWaist │ │ ├── APHWaistTaskViewController.h │ │ └── APHWaistTaskViewController.m │ ├── Medication Tracker │ │ ├── APHMedicationTrackerTaskViewController.h │ │ └── APHMedicationTrackerTaskViewController.m │ ├── Seven Day Allocation │ │ ├── APHSevenDayFitnessAllocationTaskViewController.h │ │ ├── APHSevenDayFitnessAllocationTaskViewController.m │ │ └── Activity Tracking │ │ │ ├── APHActivityTracking.storyboard │ │ │ ├── APHActivityTrackingStepViewController.h │ │ │ ├── APHActivityTrackingStepViewController.m │ │ │ ├── APHFitnessAllocation.h │ │ │ ├── APHFitnessAllocation.m │ │ │ ├── APHTheme.h │ │ │ └── APHTheme.m │ └── Surveys │ │ ├── APHDailyCheckSurveyViewController.h │ │ ├── APHDailyCheckSurveyViewController.m │ │ ├── APHWeeklyCheckSurveyViewController.h │ │ └── APHWeeklyCheckSurveyViewController.m └── main.m ├── LICENSE └── readme.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | .DS_Store 21 | *.pyc 22 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "AppCore"] 2 | path = AppCore 3 | url = https://github.com/ResearchKit/AppCore.git 4 | [submodule "ResearchKit"] 5 | path = ResearchKit 6 | url = https://github.com/ResearchKit/ResearchKit.git 7 | [submodule "BridgeSDK"] 8 | path = BridgeSDK 9 | url = https://github.com/Sage-Bionetworks/Bridge-iOS-SDK.git 10 | -------------------------------------------------------------------------------- /Diabetes.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Diabetes.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Diabetes/Diabetes.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.developer.healthkit 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Common/Completion-Check.imageset/Completion-Check.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Activities/Common/Completion-Check.imageset/Completion-Check.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Common/Completion-Check.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Completion-Check.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "waistmeasurement-Icon1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon1.imageset/waistmeasurement-Icon1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon1.imageset/waistmeasurement-Icon1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "waistmeasurement-Icon2.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon2.imageset/waistmeasurement-Icon2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon2.imageset/waistmeasurement-Icon2.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "waistmeasurement-Icon3.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon3.imageset/waistmeasurement-Icon3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Activities/Waist Measurement/waistmeasurement-Icon3.imageset/waistmeasurement-Icon3.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weightmeasurement-Icon1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon1.imageset/weightmeasurement-Icon1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon1.imageset/weightmeasurement-Icon1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weightmeasurement-Icon2.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon2.imageset/weightmeasurement-Icon2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon2.imageset/weightmeasurement-Icon2.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weightmeasurement-Icon3.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon3.imageset/weightmeasurement-Icon3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon3.imageset/weightmeasurement-Icon3.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weightmeasurement-Icon4.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon4.imageset/weightmeasurement-Icon4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Activities/Weight Measurement/weightmeasurement-Icon4.imageset/weightmeasurement-Icon4.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "29x29", 5 | "idiom" : "iphone", 6 | "filename" : "settingsicon_massgen_diabetes_apple_sow1_v13-1@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "29x29", 11 | "idiom" : "iphone", 12 | "filename" : "settingsicon_massgen_diabetes_apple_sow1_v13-1@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "40x40", 17 | "idiom" : "iphone", 18 | "filename" : "spotlighticon_massgen_diabetes_apple_sow1_v13-1@2x.png", 19 | "scale" : "2x" 20 | }, 21 | { 22 | "size" : "40x40", 23 | "idiom" : "iphone", 24 | "filename" : "spotlighticon_massgen_diabetes_apple_sow1_v13-1@3x.png", 25 | "scale" : "3x" 26 | }, 27 | { 28 | "size" : "60x60", 29 | "idiom" : "iphone", 30 | "filename" : "appicon_massgen_diabetes_apple_sow1_v13-1@2x.png", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "size" : "60x60", 35 | "idiom" : "iphone", 36 | "filename" : "appicon_massgen_diabetes_apple_sow1_v13-1@3x.png", 37 | "scale" : "3x" 38 | } 39 | ], 40 | "info" : { 41 | "version" : 1, 42 | "author" : "xcode" 43 | } 44 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/AppIcon.appiconset/appicon_massgen_diabetes_apple_sow1_v13-1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/AppIcon.appiconset/appicon_massgen_diabetes_apple_sow1_v13-1@2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/AppIcon.appiconset/appicon_massgen_diabetes_apple_sow1_v13-1@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/AppIcon.appiconset/appicon_massgen_diabetes_apple_sow1_v13-1@3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/AppIcon.appiconset/settingsicon_massgen_diabetes_apple_sow1_v13-1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/AppIcon.appiconset/settingsicon_massgen_diabetes_apple_sow1_v13-1@2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/AppIcon.appiconset/settingsicon_massgen_diabetes_apple_sow1_v13-1@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/AppIcon.appiconset/settingsicon_massgen_diabetes_apple_sow1_v13-1@3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/AppIcon.appiconset/spotlighticon_massgen_diabetes_apple_sow1_v13-1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/AppIcon.appiconset/spotlighticon_massgen_diabetes_apple_sow1_v13-1@2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/AppIcon.appiconset/spotlighticon_massgen_diabetes_apple_sow1_v13-1@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/AppIcon.appiconset/spotlighticon_massgen_diabetes_apple_sow1_v13-1@3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/00_Blank_to_Activities.imageset/00_Blank_to_Activities_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/00_Blank_to_Activities.imageset/00_Blank_to_Activities_2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/00_Blank_to_Activities.imageset/00_Blank_to_Activities_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/00_Blank_to_Activities.imageset/00_Blank_to_Activities_3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/00_Blank_to_Activities.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "00_Blank_to_Activities_2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "00_Blank_to_Activities_3x.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/01_Activities_to_SensorData.imageset/01_Activities_to_SensorData_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/01_Activities_to_SensorData.imageset/01_Activities_to_SensorData_2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/01_Activities_to_SensorData.imageset/01_Activities_to_SensorData_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/01_Activities_to_SensorData.imageset/01_Activities_to_SensorData_3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/01_Activities_to_SensorData.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "01_Activities_to_SensorData_2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "01_Activities_to_SensorData_3x.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/10_PotentialBenifits.imageset/10_PotentialBenifits_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/10_PotentialBenifits.imageset/10_PotentialBenifits_2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/10_PotentialBenifits.imageset/10_PotentialBenifits_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/10_PotentialBenifits.imageset/10_PotentialBenifits_3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/10_PotentialBenifits.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "10_PotentialBenifits_2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "10_PotentialBenifits_3x.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/11_IssuesToConsider1.imageset/11_IssuesToConsider1_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/11_IssuesToConsider1.imageset/11_IssuesToConsider1_2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/11_IssuesToConsider1.imageset/11_IssuesToConsider1_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/11_IssuesToConsider1.imageset/11_IssuesToConsider1_3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/11_IssuesToConsider1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "11_IssuesToConsider1_2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "11_IssuesToConsider1_3x.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/12_IssuesToConsider2.imageset/12_IssuesToConside2_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/12_IssuesToConsider2.imageset/12_IssuesToConside2_2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/12_IssuesToConsider2.imageset/12_IssuesToConside2_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/12_IssuesToConsider2.imageset/12_IssuesToConside2_3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/12_IssuesToConsider2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "12_IssuesToConside2_2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "12_IssuesToConside2_3x.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/13_RiskToPrivacy.imageset/13_RiskToPrivacy_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/13_RiskToPrivacy.imageset/13_RiskToPrivacy_2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/13_RiskToPrivacy.imageset/13_RiskToPrivacy_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/13_RiskToPrivacy.imageset/13_RiskToPrivacy_3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/13_RiskToPrivacy.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "13_RiskToPrivacy_2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "13_RiskToPrivacy_3x.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/consent_mood.imageset/2.0-Consent_Icon4-750px.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/consent_mood.imageset/2.0-Consent_Icon4-750px.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/consent_mood.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "2.0-Consent_Icon4-750px.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/consent_privacy.imageset/2.0-Consent_Icon2-750px.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/consent_privacy.imageset/2.0-Consent_Icon2-750px.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/consent_privacy.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "2.0-Consent_Icon2-750px.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/consent_uncomfortablequestions.imageset/2.0-Consent_Icon3-750px.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/consent_uncomfortablequestions.imageset/2.0-Consent_Icon3-750px.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/consent_uncomfortablequestions.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "2.0-Consent_Icon3-750px.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/consent_visualize.imageset/2.0-Consent-750px.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Consent/consent_visualize.imageset/2.0-Consent-750px.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Consent/consent_visualize.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "2.0-Consent-750px.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/collapse_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "resize_collapse.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/collapse_icon.imageset/resize_collapse.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Dashboard/collapse_icon.imageset/resize_collapse.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/expand_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "resize_expand.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/expand_icon.imageset/resize_expand.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Dashboard/expand_icon.imageset/resize_expand.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/info_bubble_upright.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "background_tooltipabove_apple_sow1_v11-1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/info_bubble_upright.imageset/background_tooltipabove_apple_sow1_v11-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Dashboard/info_bubble_upright.imageset/background_tooltipabove_apple_sow1_v11-1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/info_bubble_upsidedown.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "background_tooltipbelow_apple_sow1_v11-1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/info_bubble_upsidedown.imageset/background_tooltipbelow_apple_sow1_v11-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Dashboard/info_bubble_upsidedown.imageset/background_tooltipbelow_apple_sow1_v11-1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/info_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "info.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/info_icon.imageset/info.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Dashboard/info_icon.imageset/info.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/info_icon_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "info_selected.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/info_icon_selected.imageset/info_selected.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Dashboard/info_icon_selected.imageset/info_selected.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/move_icon.imageset/3.0Dashboard-MoveIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Dashboard/move_icon.imageset/3.0Dashboard-MoveIcon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Dashboard/move_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "3.0Dashboard-MoveIcon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_disease.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "logo_disease.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_disease.imageset/logo_disease.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Disease Icons/logo_disease.imageset/logo_disease.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_disease_large.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "logo_disease_large.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_disease_large.imageset/logo_disease_large.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Disease Icons/logo_disease_large.imageset/logo_disease_large.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_disease_researchInstitute.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "unnamed.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "unnamed-1.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_disease_researchInstitute.imageset/unnamed-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Disease Icons/logo_disease_researchInstitute.imageset/unnamed-1.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_disease_researchInstitute.imageset/unnamed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Disease Icons/logo_disease_researchInstitute.imageset/unnamed.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_researchInstitute.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "unnamed.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "unnamed-1.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_researchInstitute.imageset/unnamed-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Disease Icons/logo_researchInstitute.imageset/unnamed-1.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Disease Icons/logo_researchInstitute.imageset/unnamed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Disease Icons/logo_researchInstitute.imageset/unnamed.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Food Log/GetStarted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "illustration_getstarted@3x.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Food Log/GetStarted.imageset/illustration_getstarted@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Food Log/GetStarted.imageset/illustration_getstarted@3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Food Log/HealthPermissions.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "illustration_healthpermissions@3x.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Food Log/HealthPermissions.imageset/illustration_healthpermissions@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Food Log/HealthPermissions.imageset/illustration_healthpermissions@3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Food Log/LoseIt.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "illustration_loseIt@3x.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Food Log/LoseIt.imageset/illustration_loseIt@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Food Log/LoseIt.imageset/illustration_loseIt@3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Food Log/WhyLogFood.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "illustration_whylogfood@3x.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Food Log/WhyLogFood.imageset/illustration_whylogfood@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Food Log/WhyLogFood.imageset/illustration_whylogfood@3x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Food Insights/food_insights_carbs.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_carbs_insights_diabetes_apple_sow1_v11_1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Food Insights/food_insights_carbs.imageset/icon_carbs_insights_diabetes_apple_sow1_v11_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Insights/Food Insights/food_insights_carbs.imageset/icon_carbs_insights_diabetes_apple_sow1_v11_1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Food Insights/food_insights_carbs_sugars.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_sugarscarbs_insights_diabetes_apple_sow1_v11_1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Food Insights/food_insights_carbs_sugars.imageset/icon_sugarscarbs_insights_diabetes_apple_sow1_v11_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Insights/Food Insights/food_insights_carbs_sugars.imageset/icon_sugarscarbs_insights_diabetes_apple_sow1_v11_1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Food Insights/food_insights_sugars.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_sugars_insights_diabetes_apple_sow1_v11_1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Food Insights/food_insights_sugars.imageset/icon_sugars_insights_diabetes_apple_sow1_v11_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Insights/Food Insights/food_insights_sugars.imageset/icon_sugars_insights_diabetes_apple_sow1_v11_1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_activity.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_vigorousactivity_insights_diabetes_apple_sow1_v11_1.pdf.pdf" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_activity.imageset/icon_vigorousactivity_insights_diabetes_apple_sow1_v11_1.pdf.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_activity.imageset/icon_vigorousactivity_insights_diabetes_apple_sow1_v11_1.pdf.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_calories.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_food_insights_diabetes_apple_sow1_v11_1.pdf" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_calories.imageset/icon_food_insights_diabetes_apple_sow1_v11_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_calories.imageset/icon_food_insights_diabetes_apple_sow1_v11_1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_sleep.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_sleep_insights_diabetes_apple_sow1_v11_1.pdf" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_sleep.imageset/icon_sleep_insights_diabetes_apple_sow1_v11_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_sleep.imageset/icon_sleep_insights_diabetes_apple_sow1_v11_1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_steps.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_steps_insights_diabetes_apple_sow1_v11_1.pdf" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_steps.imageset/icon_steps_insights_diabetes_apple_sow1_v11_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Insights/Glucose Insights/glucose_insights_steps.imageset/icon_steps_insights_diabetes_apple_sow1_v11_1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/icon_moderateactivity_insights_diabetes_apple_sow1_v11_1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_moderateactivity_insights_diabetes_apple_sow1_v11_1.pdf" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Insights/Glucose Insights/icon_moderateactivity_insights_diabetes_apple_sow1_v11_1.imageset/icon_moderateactivity_insights_diabetes_apple_sow1_v11_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Insights/Glucose Insights/icon_moderateactivity_insights_diabetes_apple_sow1_v11_1.imageset/icon_moderateactivity_insights_diabetes_apple_sow1_v11_1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Launch Stuff/logo_research_institute.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "unnamed.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "unnamed-1.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Launch Stuff/logo_research_institute.imageset/unnamed-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Launch Stuff/logo_research_institute.imageset/unnamed-1.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Launch Stuff/logo_research_institute.imageset/unnamed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Launch Stuff/logo_research_institute.imageset/unnamed.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Launch Stuff/privateLaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "loading_pd_apple_sow1_v7-1.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Launch Stuff/privateLaunchImage.imageset/loading_pd_apple_sow1_v7-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Launch Stuff/privateLaunchImage.imageset/loading_pd_apple_sow1_v7-1.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "minimum-system-version" : "7.0", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "orientation" : "portrait", 11 | "idiom" : "iphone", 12 | "minimum-system-version" : "7.0", 13 | "subtype" : "retina4", 14 | "scale" : "2x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/consent_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "ReviewConsent-Icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/consent_icon.imageset/ReviewConsent-Icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/consent_icon.imageset/ReviewConsent-Icon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/diagnostics_icon.imageset/@2x_0003_icon_symptoms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/diagnostics_icon.imageset/@2x_0003_icon_symptoms.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/diagnostics_icon.imageset/@3x_0003_icon_symptoms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/diagnostics_icon.imageset/@3x_0003_icon_symptoms.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/diagnostics_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "@2x_0003_icon_symptoms.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "@3x_0003_icon_symptoms.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/disease_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "logo_disease_large.pdf" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/disease_icon.imageset/logo_disease_large.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/disease_icon.imageset/logo_disease_large.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/globe_icon.imageset/@2x_0004_icon_globe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/globe_icon.imageset/@2x_0004_icon_globe.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/globe_icon.imageset/@3x_0004_icon_globe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/globe_icon.imageset/@3x_0004_icon_globe.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/globe_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "@2x_0004_icon_globe.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "@3x_0004_icon_globe.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/how_it_works.imageset/@2x_0001_icon_how-itworks-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/how_it_works.imageset/@2x_0001_icon_how-itworks-1.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/how_it_works.imageset/@3x_0001_icon_how-itworks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/how_it_works.imageset/@3x_0001_icon_how-itworks.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/how_it_works.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "@2x_0001_icon_how-itworks-1.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "@3x_0001_icon_how-itworks.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/paperplus_icon.imageset/@2x_0000_icon_aboutthisstudy-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/paperplus_icon.imageset/@2x_0000_icon_aboutthisstudy-1.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/paperplus_icon.imageset/@3x_0000_icon_aboutthisstudy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/paperplus_icon.imageset/@3x_0000_icon_aboutthisstudy.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/paperplus_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "@2x_0000_icon_aboutthisstudy-1.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "@3x_0000_icon_aboutthisstudy.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/participate_icon.imageset/@2x_0002_icon_participate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/participate_icon.imageset/@2x_0002_icon_participate.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/participate_icon.imageset/@3x_0002_icon_participate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/participate_icon.imageset/@3x_0002_icon_participate.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/participate_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "@2x_0002_icon_participate.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "@3x_0002_icon_participate.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/treatment_icon.imageset/4.0Learn-TreatmentOptions-Icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/treatment_icon.imageset/4.0Learn-TreatmentOptions-Icon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/treatment_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "4.0Learn-TreatmentOptions-Icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/who_is_running_icon.imageset/@2x_0000_icon_whoisrunning-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/who_is_running_icon.imageset/@2x_0000_icon_whoisrunning-1.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/who_is_running_icon.imageset/@3x_0000_icon_whoisrunning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Learn/who_is_running_icon.imageset/@3x_0000_icon_whoisrunning.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Learn/who_is_running_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "@2x_0000_icon_whoisrunning-1.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x", 15 | "filename" : "@3x_0000_icon_whoisrunning.png" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Navigation/back_button.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "back_button_thin.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Navigation/back_button.imageset/back_button_thin.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Navigation/back_button.imageset/back_button_thin.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/eligibility_doctor.imageset/1.4Eligibility-Doctor-Icon-Inactive.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/Eligibility/eligibility_doctor.imageset/1.4Eligibility-Doctor-Icon-Inactive.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/eligibility_doctor.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.4Eligibility-Doctor-Icon-Inactive.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/eligibility_patient.imageset/1.4Eligibility-Patient-Icon-NotChosen.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/Eligibility/eligibility_patient.imageset/1.4Eligibility-Patient-Icon-NotChosen.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/eligibility_patient.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.4Eligibility-Patient-Icon-NotChosen.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/email_icon.imageset/1.4Eligibility-Icon-Email-D.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/Eligibility/email_icon.imageset/1.4Eligibility-Icon-Email-D.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/email_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.4Eligibility-Icon-Email-D.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/facebook_icon.imageset/1.4Eligibility-Icon-Facebook-D.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/Eligibility/facebook_icon.imageset/1.4Eligibility-Icon-Facebook-D.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/facebook_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.4Eligibility-Icon-Facebook-D.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/sms_icon.imageset/1.4Eligibility-Icon-SMS-D.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/Eligibility/sms_icon.imageset/1.4Eligibility-Icon-SMS-D.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/sms_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.4Eligibility-Icon-SMS-D.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/twitter_icon.imageset/1.4Eligibility-Icon-Twitter-D.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/Eligibility/twitter_icon.imageset/1.4Eligibility-Icon-Twitter-D.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/Eligibility/twitter_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.4Eligibility-Icon-Twitter-D.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/SignUp/invalid_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_incorrect_apple_sow1_v1-1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/SignUp/invalid_icon.imageset/icon_incorrect_apple_sow1_v1-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/SignUp/invalid_icon.imageset/icon_incorrect_apple_sow1_v1-1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/SignUp/profilePlaceholder.imageset/2.2Join-ProfileIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/SignUp/profilePlaceholder.imageset/2.2Join-ProfileIcon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/SignUp/profilePlaceholder.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "2.2Join-ProfileIcon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/SignUp/switch_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "switch_icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/SignUp/switch_icon.imageset/switch_icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/SignUp/switch_icon.imageset/switch_icon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/SignUp/valid_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_correct_apple_sow1_v1-1.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/SignUp/valid_icon.imageset/icon_correct_apple_sow1_v1-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/SignUp/valid_icon.imageset/icon_correct_apple_sow1_v1-1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/clipboard_icon.imageset/0.0Onboarding-Eligible-Icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/StudyOverview/clipboard_icon.imageset/0.0Onboarding-Eligible-Icon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/clipboard_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "0.0Onboarding-Eligible-Icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/play_icon.imageset/0.0Onboarding-Play-Icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/StudyOverview/play_icon.imageset/0.0Onboarding-Play-Icon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/play_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "0.0Onboarding-Play-Icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/rulerpencil_icon.imageset/0.0Onboarding-HowStudyWorks-Icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/StudyOverview/rulerpencil_icon.imageset/0.0Onboarding-HowStudyWorks-Icon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/rulerpencil_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "0.0Onboarding-HowStudyWorks-Icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/share_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Share-Icon-Apple.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/share_icon.imageset/Share-Icon-Apple.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/StudyOverview/share_icon.imageset/Share-Icon-Apple.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/stethescope_icon.imageset/0.0Onboarding-RunningStudy-Icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/StudyOverview/stethescope_icon.imageset/0.0Onboarding-RunningStudy-Icon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/stethescope_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "0.0Onboarding-RunningStudy-Icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/stopwatch_icon.imageset/0.0Onboarding-LengthStudy-Icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/StudyOverview/stopwatch_icon.imageset/0.0Onboarding-LengthStudy-Icon.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/stopwatch_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "0.0Onboarding-LengthStudy-Icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/study_details_video.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "study_details@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Onboarding/StudyOverview/study_details_video.imageset/study_details@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Onboarding/StudyOverview/study_details_video.imageset/study_details@2x.png -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Seven Day Fitness/tutorial-1.imageset/CD-ActivityTracker-Tutorial-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Seven Day Fitness/tutorial-1.imageset/CD-ActivityTracker-Tutorial-1.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Seven Day Fitness/tutorial-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "CD-ActivityTracker-Tutorial-1.pdf" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Seven Day Fitness/tutorial-2.imageset/CD-ActivityTracker-Tutorial-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Seven Day Fitness/tutorial-2.imageset/CD-ActivityTracker-Tutorial-2.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Seven Day Fitness/tutorial-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "CD-ActivityTracker-Tutorial-2.pdf" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_activities.imageset/Activities-Icon-Grey-1x.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Tabbar/tab_activities.imageset/Activities-Icon-Grey-1x.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_activities.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Activities-Icon-Grey-1x.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_activities_selected.imageset/Activities-Icon-D-1x.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Tabbar/tab_activities_selected.imageset/Activities-Icon-D-1x.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_activities_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Activities-Icon-D-1x.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_dashboard.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Dashboard-Icon-Grey-1x.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_dashboard.imageset/Dashboard-Icon-Grey-1x.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Tabbar/tab_dashboard.imageset/Dashboard-Icon-Grey-1x.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_dashboard_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Dashboard-Icon-D.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_dashboard_selected.imageset/Dashboard-Icon-D.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Tabbar/tab_dashboard_selected.imageset/Dashboard-Icon-D.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_learn.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Learn-Icon-Grey-1x.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_learn.imageset/Learn-Icon-Grey-1x.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Tabbar/tab_learn.imageset/Learn-Icon-Grey-1x.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_learn_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Learn-Icon-D-1x.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_learn_selected.imageset/Learn-Icon-D-1x.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Tabbar/tab_learn_selected.imageset/Learn-Icon-D-1x.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_profile.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Profile-Icon-Grey-1x.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_profile.imageset/Profile-Icon-Grey-1x.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Tabbar/tab_profile.imageset/Profile-Icon-Grey-1x.pdf -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_profile_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Profile-Icon-D-1x.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Diabetes/Images.xcassets/Tabbar/tab_profile_selected.imageset/Profile-Icon-D-1x.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Images.xcassets/Tabbar/tab_profile_selected.imageset/Profile-Icon-D-1x.pdf -------------------------------------------------------------------------------- /Diabetes/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | GlucoSuccess 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.researchinstitute.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 2 25 | LSRequiresIPhoneOS 26 | 27 | NSLocationAlwaysUsageDescription 28 | 29 | NSLocationWhenInUseUsageDescription 30 | 31 | UIBackgroundModes 32 | 33 | fetch 34 | 35 | UILaunchStoryboardName 36 | LaunchScreen 37 | UIMainStoryboardFile 38 | Main 39 | UIRequiredDeviceCapabilities 40 | 41 | armv7 42 | healthkit 43 | 44 | UISupportedInterfaceOrientations 45 | 46 | UIInterfaceOrientationPortrait 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Diabetes/Library/Categories/NSString+CustomMethods.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+CustomMethods.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @interface NSString (CustomMethods) 37 | 38 | - (BOOL)hasContent; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Diabetes/Library/Categories/NSString+CustomMethods.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+CustomMethods.m 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import "NSString+CustomMethods.h" 35 | 36 | @implementation NSString (CustomMethods) 37 | 38 | - (BOOL)hasContent 39 | { 40 | BOOL answer = NO; 41 | if (self.length > 0) { 42 | answer = YES; 43 | } 44 | return answer; 45 | } 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Diabetes/Library/Model/APHTableViewItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHTableViewItem.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @interface APHTableViewItem : APCTableViewItem 37 | 38 | @end 39 | 40 | @interface APHTableViewDashboardFitnessControlItem : APCTableViewDashboardItem 41 | @property (nonatomic) NSString *numberOfDaysString; 42 | @property (nonatomic) NSString *distanceTraveledString; 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Diabetes/Library/Model/APHTableViewItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // APHTableViewItem.m 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import "APHTableViewItem.h" 35 | 36 | @implementation APHTableViewItem 37 | 38 | @end 39 | 40 | @implementation APHTableViewDashboardFitnessControlItem 41 | 42 | @end 43 | 44 | -------------------------------------------------------------------------------- /Diabetes/Onboarding/APHInclusionCriteriaViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHInclusionCriteriaViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @interface APHInclusionCriteriaViewController : APCInclusionCriteriaViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/Onboarding/Glucose Levels/APHGlucoseLevelsDaysViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Glucose 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @import APCAppCore; 37 | 38 | extern NSString * const kGlucoseMealTimePickedDays; 39 | 40 | @interface APHGlucoseLevelsDaysViewController : APCSignUpInfoViewController 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Diabetes/Onboarding/Glucose Levels/APHGlucoseLevelsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Glucose 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @import APCAppCore; 37 | 38 | extern const CGFloat kGlucoseLevelCellHeight; 39 | 40 | @interface APHGlucoseLevelsViewController : APCSignUpInfoViewController 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/10study_task.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

GlucoSuccess will also ask about some information that requires a brief task away from the iPhone, such as:

16 |
    17 |
  • Checking and entering your finger-stick blood glucose values
  • 18 |
  • Your weight
  • 19 |
  • Your waist circumference (occasionally)
  • 20 |
21 |

GlucoSuccess provides personalized feedback in the form of g raphs and text to display your progress, and provide insights into your health behaviors. The app summarizes data about how food or exercise patterns are associated with your glucose values. These insights may help you understand your health behaviors better, and help you manage your type 2 diabetes. Viewing the graphs and text is optional but may be useful or interesting to you.

22 |

For the passive sensing of your physical activity to be accurate, it’s important to carry your iPhone on your person (e.g., in your pocket, or clipped to your waist).

23 |

In your Profile within GlucoSuccess, you can set reminders for yourself to complete app activities. In general, more data entered in the app results in more accurate and informative insights.

24 | 25 | 26 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/11withdrawing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

If you start the research study but later wish to drop out, simply contact the study investigators through the app. You may choose to leave the study at any time. Your decision will not result in any penalty or affect your medical care through your usual physicians or providers. Afterwards, you are free to delete the app from your smartphone.

16 |

The study investigators may also withdraw you from the study without your consent at any time for any reason, including if the study is cancelled.

17 |

To withdraw from the study, simply select "Leave Study" on the profile tab.

18 |
19 |
20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/12potentialbenefits1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

One of the biggest challenges for people with type 2 diabetes is the difficulty of tracking their finger-stick blood glucose values, diet, exercise and other health behaviors. GlucoSuccess may help by streamlining these daily tracking tasks.

16 |

GlucoSuccess will also provide personalized insights and feedback to help you understand how your health behaviors can influence your glucose values. This may help you manage your type 2 diabetes.

17 |

More generally, patients with type 2 diabetes may ultimately benefit from this research, because GlucoSuccess and its research study will create an unprecedented crowd-sourced database of health behaviors and glucose values from people just like you. Studying all this real-world data will help researchers better understand the relationships between diet, exercise, and glucose control in real-world people with type 2 diabetes. It will also help explore how the iPhone can enable new kinds of clinical research.

18 |


19 |

20 |

 

21 | 22 | 23 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/13issues_survey.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 |

Any information you provide is completely up to you. You can decline to answer survey questions or participate in the app’s tasks. If a survey question makes you feel uncomfortable, you are free to leave questions blank.

14 |

In general, more data entered into the app results in more accurate and informative personalized insights.

15 |

As with any iPhone app, use your common sense and follow prevailing laws about when and where you use your iPhone. Just as you would not text while driving, do not interact with the app while driving or doing any other activities which could result in injury. You can always wait until you are in a safe place to perform any app-related tasks.

16 | 17 | 18 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/14issues_mood.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 |

There are possible risks, discomforts and inconveniences associated with any research study. This study does not involve testing any new drugs or therapies, so we do not expect any medical side effects from participating.

15 |

The app is not designed to give medical advice, nor make suggestions related to diabetes treatment or medications.

16 |

The primary concern associated with this study is privacy risk. Please see the sections on “Protecting Your Data” and “Risk to Privacy” to learn more.

17 |

You may feel inconvenienced by having to enter information into the app, or seeing the reminders or messages that are sent by the app.

18 |

Please see the section on “Potential Benefits” to learn more about the potential benefits of this study.

19 | 20 | 21 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/15privacy_risk.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

We are committed to protecting your privacy. We take several steps to protect your privacy and the privacy of your app data.
18 |

19 |

As we have described above, your identity will be separated from your app data and kept as confidential as possible. Your app data will be associated only with a randomized study code that bears no relation to any identifiable information. Only select individuals that are part of the research study will know the identities of people who participate in the study.

20 |

One potential loss of privacy would be if someone sees GlucoSuccess on your iPhone and then suspects that you have diabetes.

21 |

For security, GlucoSuccess requires that your iPhone be protected either by a passcode or the Apple TouchID fingerprint sensor. This ensures that only you can enter and use the app.

22 | 23 | 24 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/1welcome.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

The following screens explain important information about Glucosuccess, and how the app is part of a research study. Taking part in this research study is completely voluntary. If you are interested in participating, you should read through these welcome screens, and sign at the informed consent screen to show that you understand the benefits and risks of the study. You will receive a copy of the signed consent form to keep. Thank you for considering GlucoSuccess!

16 |

A member of our research team is available to communicate with you about taking part in this research study if you have questions. You can contact them at the following email address: GlucoSuccess.help@partners.org

17 |

This study is sponsored by the Center for Assessment Technology and Continuous Health (CATCH) at Massachusetts General Hospital in Boston, MA. The principal investigator of the study is Dr. Stanley Shaw.

18 |

If you would like to refer to the full informed consent document, it may be found at GlucoSuccess.org.

19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/3activities.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

GlucoSuccess provides personalized insights into how your health behaviors relate to finger-stick blood glucose values, to help you manage your type 2 diabetes. In general, richer data entered into the app results in more accurate and informative insights.

16 |

To drive these insights, GlucoSuccess will ask you to:

17 |
    18 |
  • Answer survey questions about your type 2 diabetes and health behaviors (described more in a subsequent screen)
  • 19 |
  • Log your finger-stick glucose values
  • 20 |
  • Log what you eat, as best as you can. We will ask you to log your meals using the free app “Lose It!”, which will provide nutritional information to GlucoSuccess.
  • 21 |
22 |

The app sends occasional reminders to complete study activities.

23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/4sensordata.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 |

GlucoSuccess uses the iPhone’s built-in accelerometer to passively keep track of physical activity (“passive” because this happens automatically and you do not need to enter any information). The app interprets accelerometer data as steps taken, or as different intensity levels of activity.

15 |

For these activity measures to be accurate, you should carry the iPhone on your person as much as possible (e.g., in your pocket, or clipped to your waist). For instance, if the iPhone is resting on a table when you go for a walk, it will not be able to detect this activity.

16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/5dataprocessing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

GlucoSuccess helps you keep track of health behaviors important for people with type 2 diabetes, such as physical activity, diet, and taking your medicines. Data that you share through the app as part of the research study will create an unprecedented crowd-sourced database of health behaviors and glucose values from people just like you. Studying all this real-world data will help researchers understand how health behaviors influence blood glucose in real life, with a resolution greater than ever before. (Traditionally, these studies are done by asking people to fill out very long questionnaires on paper every few years.)

15 |

At the same time, GlucoSuccess analyzes your data to provide personalized insights into how your diet and physical activity relate to your finger-stick blood glucose values, and helps you manage your type 2 diabetes.

16 |

By combining a personal app and a research study, GlucoSuccess will help explore how the iPhone can enable new kinds of clinical research.

17 | 18 | 19 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/6protectingdata.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 |

We take several steps to protect your privacy and the privacy of your app data.

13 |

To certify that you consent to participate in the study, the app asks you to enter your name and an email address. This allows study investigators to have a record of who participates in the study, and to email a copy of the signed consent form to you.

14 |

Your name and email are only used for the consent process, and are not associated with data collected from the app.

15 |

App-generated data is associated only with a random study code, and this code is stored completely separately from any personally identifying information.

16 |

These steps ensure that researchers analyzing the coded study data will not be able to connect it to any individual user.

17 |

Whenever app data is transferred to a research study computer, it will be encrypted so that others cannot interpret the data or associate it back to you.

18 |

Encrypted app data (stripped of personal identifiers, and associated only with a random code) will be sent to secure data servers used for the GlucoSuccess research study that are maintained by Sage Bionetworks (http://sagebase.org). Sage is a non-profit 19 | organization dedicated to the advancement of science by making available to the scientific community secure computing and database architectures. 20 |

21 |

Study investigators chose Sage Bionetworks for this important responsibility because they are a world leader in the secure storage and protection of sensitive research data. They have a proven track record of safeguarding and managing potentially sensitive biomedical data in accordance with regulations that govern human research and medical information (e.g., regulations mandated by Institutional Review Boards [IRB] and the Health Information Portability and Accountability Act [HIPAA]).

22 |

 

23 | 24 | 25 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/7datause.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 |

Study investigators will analyze coded app data from everyone who agrees to participate in the GlucoSuccess study, but they will be unable to connect it back to any individual user.

13 |

The results of this research may be published in a scientific or medical research journal so that others can learn from this study. Results will never be published in a way that would allow data to be associated with individual users.

14 |

After this study is completed, other researchers may request access to the coded study data (already stripped of personal identifiers), so that it can be analyzed in a new way to benefit medical research. Those requesting data must agree to use the data responsibly and in accordance with applicable regulations; these data requests will be reviewed by a group of study investigators and representatives of Sage Bionetworks.

15 |

Other researchers who are granted access to coded study data will not be able to connect the data back to study participants.

16 |

Study data will never be sold to any third party.

17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/7datause_clip_image003.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/HTMLContent/7datause_clip_image003.gif -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/8time.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

Entering information and responding to surveys should take on average a few minutes each day. Occasionally, tasks may take a little longer (e.g., a longer questionnaire).

16 |

Participation in this study does not require you to change anything related to your iPhone account or data plan. The app can use either an existing mobile data plan or WiFi connections; you may configure the app to use only WiFi connections if you wish to limit impact on your data usage.

17 |

If you choose to participate, this study lasts for one year. After one year, your app data will no longer be analyzed as part of the study; however, you are free to continue using the app for the personal insights if you wish.

18 | As with any iPhone app, use your common sense and follow prevailing laws about when and where you use your iPhone. Just as you would not text while driving, do not interact with the app while driving or doing any other activities which could result in injury. You can always wait until you are in a safe place to perform any app-related tasks. 19 | 20 | 21 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/9study_survey.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

GlucoSuccess will collect some of its data on your health behaviors through short survey questions, such as:

16 |
    17 |
  • Over the past week, did you take some or all of your diabetes medications?
  • 18 |
  • What was your blood glucose this morning?
  • 19 |
  • Did you inspect your feet today?
  • 20 |
21 |

Occasionally, there will also be longer surveys that evaluate aspects such as your quality of life, or your sleep duration and quality.

22 |

For dietary information, GlucoSuccess will ask you to use the free “Lose It!” app to log what you eat for meals.

23 |

In general, more data entered into the app results in more accurate and informative personalized insights .

24 | 25 | 26 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/AboutStudy.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | About this Study 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |

20 |

 

21 | 22 | 23 |

Welcome to GlucoSuccess! This app is part of an exciting new program to use the iPhone to advance clinical research into type 2 diabetes, while also helping you manage your diabetes.

24 |

GlucoSuccess helps you keep track of health behaviors important for people with type 2 diabetes, such as physical activity, diet, and taking your medicines. Data that you share through the app as part of a research study will help researchers 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 your daily diet and physical activity relate to your finger-stick blood glucose values, and helps you manage your type 2 diabetes.

25 |

The sponsor of this study is the Center for Assessment Technology and Continuous Health (CATCH) at the Massachusetts General Hospital (Boston, Massachusetts).

26 |

 

27 |
28 | 29 |
30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/AboutStudy_intro.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 |

About this Study

18 | 19 | 20 |

Welcome to GlucoSuccess! This app is part of an exciting new program to use the iPhone to advance clinical research into type 2 diabetes, while also helping you manage your diabetes.

21 |

GlucoSuccess helps you keep track of health behaviors important for people with type 2 diabetes, such as physical activity, diet, and taking your medicines. Data that you share through the app as part of a research study will help researchers 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 your daily diet and physical activity relate to your finger-stick blood glucose values, and helps you manage your type 2 diabetes.

22 |

The sponsor of this study is the Center for Assessment Technology and Continuous Health (CATCH) at the Massachusetts General Hospital (Boston, Massachusetts).

23 |
24 |

View privacy policy.

25 |
26 |
27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/EligibleToParticipate.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | About this Study 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 |
18 | 19 |

20 |

 

21 | 22 |

This study is open to adults ages 18 and over who have either pre-diabetes or type 2 diabetes. The study is open only to residents of the United States.

23 | 24 | 25 |

 

26 |
27 |
28 |
29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/EligibleToParticipate_intro.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 |

Who Can Participate?

18 | 19 |

This study is open to adults ages 18 and over who have either pre-diabetes or type 2 diabetes. The study is open only to residents of the United States.

20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/Intro_section_diabetes.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | a { 4 | 5 | color:#1d97c2; 6 | 7 | } 8 | 9 | 10 | a:active { 11 | color:#1d97c2; 12 | background-color: #ffffff; 13 | } 14 | 15 | body { 16 | font-family: "Helvetica Neue", 'HelveticaNeue', 'HelveticaNeue'; 17 | font-size:16pt; 18 | color:#000000; 19 | line-height:normal; 20 | font-weight:normal; 21 | padding-top:0px; 22 | padding-bottom:20px; 23 | } 24 | 25 | p, h2 { 26 | margin-top: 0; 27 | padding-right: 0px; 28 | padding-left: 0px; 29 | 30 | } 31 | 32 | h1 { 33 | font-family: 'HelveticaNeue-Light', 'HelveticaNeue light', 'Helvetica Neue'; 34 | font-size:19pt; 35 | color:#000000; 36 | line-height:normal; 37 | font-weight:normal; 38 | padding-top:0px; 39 | padding-bottom:0px; 40 | text-align:center; 41 | 42 | } 43 | 44 | 45 | 46 | 47 | 48 | .footer { 49 | background-color: #FFFFFF; 50 | width: 20%; 51 | margin: 0 auto; 52 | 53 | 54 | 55 | } 56 | 57 | 58 | .content { 59 | padding: 10px 10px 10px 15px; 60 | } 61 | 62 | 63 | .content ul, .content ol { 64 | padding: 0 0px 0px 0px; 65 | } 66 | 67 | 68 | IMG.displayed { 69 | display: block; 70 | margin-left: auto; 71 | margin-right: auto } 72 | 73 | 74 | 75 | boldie 76 | { 77 | font-family:'HelveticaNeue-Medium', 'Helvetica Neue Medium', Helvetica; 78 | font-size:16pt; 79 | color:#000000; 80 | line-height:normal; 81 | font-weight:normal; 82 | padding-top:0px; 83 | padding-bottom:0px; 84 | 85 | } 86 | 87 | ul, ol { 88 | font-family: "Helvetica Neue", 'HelveticaNeue', 'HelveticaNeue'; 89 | font-size:16pt; 90 | color:#000000; 91 | list-style-type: round; 92 | list-style-position: outside; 93 | line-height:115%; 94 | 95 | } 96 | 97 | .ExternalClass * {line-height: 100%} -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/Learn_section_diabetes.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | a { 4 | 5 | color:#1d97c2; 6 | 7 | } 8 | 9 | 10 | a:active { 11 | color:#1d97c2; 12 | background-color: #ffffff; 13 | } 14 | 15 | body { 16 | font-family: "Helvetica Neue", 'HelveticaNeue', 'HelveticaNeue'; 17 | font-size:15pt; 18 | color:#000000; 19 | line-height:normal; 20 | font-weight:normal; 21 | padding-top:0px; 22 | padding-bottom:20px; 23 | } 24 | 25 | p, h2 { 26 | margin-top: 0; 27 | padding-right: 0px; 28 | padding-left: 0px; 29 | 30 | } 31 | 32 | h1 { 33 | font-family: 'HelveticaNeue-Light', 'HelveticaNeue light', 'Helvetica Neue'; 34 | font-size:19pt; 35 | color:#000000; 36 | line-height:normal; 37 | font-weight:normal; 38 | padding-top:0px; 39 | padding-bottom:0px; 40 | text-align:center; 41 | 42 | } 43 | 44 | 45 | 46 | 47 | 48 | .footer { 49 | background-color: #FFFFFF; 50 | width: 20%; 51 | margin: 0 auto; 52 | 53 | 54 | 55 | } 56 | 57 | 58 | .content { 59 | padding: 10px 12px 10px 12px; 60 | } 61 | 62 | 63 | .content ul, .content ol { 64 | padding: 0 0px 0px 0px; 65 | } 66 | 67 | 68 | IMG.displayed { 69 | display: block; 70 | margin-left: auto; 71 | margin-right: auto } 72 | 73 | 74 | 75 | boldie 76 | { 77 | font-family:'HelveticaNeue-Medium', 'Helvetica Neue Medium', Helvetica; 78 | font-size:15pt; 79 | color:#000000; 80 | line-height:normal; 81 | font-weight:normal; 82 | padding-top:0px; 83 | padding-bottom:0px; 84 | 85 | } 86 | 87 | ul, ol { 88 | font-family: "Helvetica Neue", 'HelveticaNeue', 'HelveticaNeue'; 89 | font-size:15pt; 90 | color:#000000; 91 | list-style-type: round; 92 | list-style-position: outside; 93 | line-height:115%; 94 | 95 | } 96 | 97 | .ExternalClass * {line-height: 100%} 98 | 99 | .copyright { 100 | font-family: "Helvetica Neue", 'HelveticaNeue', 'HelveticaNeue'; 101 | font-size: 10pt; 102 | text-align: center; 103 | } 104 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/MGHlogo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/HTMLContent/MGHlogo.jpg -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/MGHlogo2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/HTMLContent/MGHlogo2.jpg -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/PrivacyPolicy.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/disease_information_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/HTMLContent/disease_information_top.png -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/disease_information_top222.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/HTMLContent/disease_information_top222.jpg -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/howstudyworks_intro.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Consent Docs 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 |

How the Study Works

18 |

GlucoSuccess has several user-friendly features:

19 | 20 |
    21 |
  • Log your finger-stick blood glucose values: you can specify what days or what times of day you check your glucose, and set reminders.
  • 22 |
  • Log your health behaviors: we’ll ask you to use the free “Lose It!” app to track your diet. Survey questions will periodically ask you about taking your medicines, how you are sleeping, foot inspections, and your overall quality of life.
  • 23 |
  • Track your physical activity: your iPhone’s accelerometer will do this automatically for you! Just remember to carry your iPhone with you (e.g., in your pants pocket, or a holster clipped to your waist).
  • 24 |
  • Insights into your glucose control: GlucoSuccess uses visualizations and text summaries to display how your diet and physical activity affect your blood glucose. GlucoSuccess also gives you insights into your food choices.
  • 25 |
26 |

GlucoSuccess encrypts your data, separates it from your identity, and adds your data to a secure research database. This will create an unprecedented crowd-sourced database of health behaviors and glucose values from people just like you. Studying all this real-world data will help researchers better understand the complex relationships between diet, exercise, and glucose control in type 2 diabetes. It will also help explore how the iPhone can enable new kinds of clinical research.

27 |

Because GlucoSuccess is both an app and a research study, we will explain the risks and benefits of the study as part of an informed consent process.

28 | 29 | 30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/institution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/HTMLContent/institution.png -------------------------------------------------------------------------------- /Diabetes/Resources/HTMLContent/online_resources_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/HTMLContent/online_resources_top.png -------------------------------------------------------------------------------- /Diabetes/Resources/JSONs/APCParameters.json: -------------------------------------------------------------------------------- 1 | { 2 | "Step Count": 30, 3 | "Tap Count": 80, 4 | "URL": "http://localhost", 5 | "knob": 30.1535 6 | } 7 | -------------------------------------------------------------------------------- /Diabetes/Resources/JSONs/Learn.json: -------------------------------------------------------------------------------- 1 | { 2 | "items": [ 3 | { 4 | "section_title": "", 5 | "row_items": [ 6 | { 7 | "title":"About This Study", 8 | "details":"AboutStudy", 9 | "icon_image":"paperplus_icon", 10 | "tint_color" : "purple" 11 | }, 12 | 13 | { 14 | "title":"How This Study Works", 15 | "details":"howstudyworks", 16 | "icon_image":"how_it_works", 17 | "tint_color" : "red" 18 | }, 19 | 20 | { 21 | "title":"Who Can Participate?", 22 | "details":"EligibleToParticipate", 23 | "icon_image":"participate_icon", 24 | "tint_color" : "green" 25 | }, 26 | 27 | { 28 | "title": "Life with Diabetes", 29 | "details": "disease_information", 30 | "icon_image": "disease_icon", 31 | "tint_color": "blue" 32 | }, 33 | 34 | { 35 | "title": "Symptoms", 36 | "details": "symptoms", 37 | "icon_image": "diagnostics_icon", 38 | "tint_color": "yellow" 39 | }, 40 | { 41 | "title": "Online Resources", 42 | "details": "online_resources", 43 | "icon_image": "globe_icon", 44 | "tint_color": "gray" 45 | } 46 | ] 47 | } 48 | ] 49 | } -------------------------------------------------------------------------------- /Diabetes/Resources/JSONs/StudyOverview.json: -------------------------------------------------------------------------------- 1 | { 2 | "disease_name":"GlucoSuccess", 3 | "from_date":"", 4 | "to_date":"", 5 | "logo_name": "logo_research_institute", 6 | "questions": 7 | [ 8 | { 9 | "title":"Welcome to GlucoSuccess", 10 | "details":"A Diabetes Research Study", 11 | "show_consent": "yes", 12 | }, 13 | { 14 | "title":"About this Study", 15 | "details":"AboutStudy_intro", 16 | "icon_image":"paperplus_icon", 17 | "tint_color" : "blue" 18 | }, 19 | 20 | { 21 | "title":"How this Study works", 22 | "details":"howstudyworks_intro", 23 | "icon_image":"rulerpencil_icon", 24 | "tint_color" : "red" 25 | }, 26 | 27 | { 28 | "title":"Who is Eligible to Participate", 29 | "details":"EligibleToParticipate_intro", 30 | "icon_image":"clipboard_icon", 31 | "tint_color" : "green" 32 | } 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /Diabetes/Resources/JSONs/TermsAndConditions.json: -------------------------------------------------------------------------------- 1 | { 2 | "terms" : "Lorem ipsum dolor sit amet, en sed consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore nisi a magna aliqua. Ut enim ad minim vem, quis nostrud aute y exercitation ullamco labs nisi ut aliqp ex ea commodo elit sed aconsequat.\n\nDuis aute irure dolor in dolor sit ento reprederit in voluptate velit esse cillum dolore eu fuat nulla tur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborm. Sed ut perspiciatis unde nis iste nus error sit voluptatemlaudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.", 3 | } 4 | -------------------------------------------------------------------------------- /Diabetes/Resources/JSONs/WithdrawStudy.json: -------------------------------------------------------------------------------- 1 | { 2 | "options": 3 | [ 4 | { 5 | "option":"This study was taking up too much of my time.", 6 | }, 7 | { 8 | "option":"There was not enough benefit for me to want to continue.", 9 | }, 10 | { 11 | "option":"Parts of this study were too difficult for me to complete.", 12 | }, 13 | { 14 | "option":"I am withdrawing for personal reasons that do not involve this study.", 15 | }, 16 | { 17 | "option":"I prefer not to answer.", 18 | }, 19 | { 20 | "option":"Describe why you are withdrawing in your own words.", 21 | }, 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /Diabetes/Resources/PDF/consent.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/PDF/consent.pdf -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_01@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_01@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_02@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_02@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_03@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_03@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_04@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_04@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_05@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_05@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_06@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_06@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_07@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@2x/consent_07@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_01@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_01@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_02@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_02@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_03@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_03@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_04@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_04@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_05@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_05@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_06@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_06@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_07@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/ResearchKit-Assets/Consent/phone@3x/consent_07@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Tasks/sample.task: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Tasks/sample.task -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/2x/00_Blank_to_Activities@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/2x/00_Blank_to_Activities@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/2x/01_Activities_to_SensorData@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/2x/01_Activities_to_SensorData@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/2x/02_SensorData_to_DataGathering@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/2x/02_SensorData_to_DataGathering@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/2x/10_PotentialBenifits@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/2x/10_PotentialBenifits@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/2x/11_IssuesToConsider1@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/2x/11_IssuesToConsider1@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/2x/12_IssuesToConside2@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/2x/12_IssuesToConside2@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/2x/13_RiskToPrivacy@2x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/2x/13_RiskToPrivacy@2x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/3x/00_Blank_to_Activities@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/3x/00_Blank_to_Activities@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/3x/01_Activities_to_SensorData@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/3x/01_Activities_to_SensorData@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/3x/02_SensorData_to_DataGathering@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/3x/02_SensorData_to_DataGathering@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/3x/10_PotentialBenifits@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/3x/10_PotentialBenifits@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/3x/11_IssuesToConsider1@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/3x/11_IssuesToConsider1@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/3x/12_IssuesToConside2@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/3x/12_IssuesToConside2@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/Videos/Consent/3x/13_RiskToPrivacy@3x.m4v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ResearchKit/GlucoSuccess/291fd61a5b6375179aaf615550f947d99171ec0d/Diabetes/Resources/Videos/Consent/3x/13_RiskToPrivacy@3x.m4v -------------------------------------------------------------------------------- /Diabetes/Resources/surveys/diabetes_A1C.json: -------------------------------------------------------------------------------- 1 | { 2 | "identifier": "A1C_check", 3 | "type": "Survey", 4 | "name": "A1C Check", 5 | "elements": [ 6 | 7 | 8 | { 9 | "identifier": "diabetesCheck", 10 | "prompt": "Have you had a recent hemoglobin A1C checked by your doctor?", 11 | "uiHint": "checkbox", 12 | "guid": "854cff10-3b2f-41c2-9b8a-17b79725819a", 13 | "type": "SurveyQuestion", 14 | "constraints": { 15 | "rules": [ 16 | { 17 | "operator": "eq", 18 | "skipTo": "END_OF_SURVEY", 19 | "type": "SurveyRule", 20 | "value": 0 21 | } 22 | ], 23 | "dataType": "boolean", 24 | "type": "BooleanConstraints" 25 | } 26 | }, 27 | 28 | { 29 | "guid": "854bfd00-3d2b-41e2-9a36-17c72dfs81a3", 30 | "identifier": "A1C_value", 31 | "prompt": "Enter your hemoglobin A1C value", 32 | "detail" : "", 33 | "constraints": 34 | { 35 | "dataType":"decimal", 36 | "minValue":4.0, 37 | "maxValue":20.0, 38 | "step":null, 39 | "type":"DecimalConstraints" 40 | }, 41 | "uiHint":"numberfield", 42 | "type":"SurveyQuestion" 43 | }, 44 | 45 | { 46 | "guid":"a872f85a-c157-457b-890e-9e28edsed6ea4", 47 | "identifier":"averageglucos", 48 | "prompt":"Enter your estimated average glucose (in mg/dL)", 49 | "constraints": 50 | { 51 | "dataType":"integer", 52 | "minValue":90, 53 | "maxValue":500, 54 | "step":null, 55 | "type":"IntegerConstraints" 56 | }, 57 | "uiHint":"numberfield", 58 | "type":"SurveyQuestion" 59 | } 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | ] 74 | 75 | } 76 | 77 | 78 | -------------------------------------------------------------------------------- /Diabetes/Startup/APHAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHAppDelegate.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | @import APCAppCore; 36 | 37 | extern NSString* const kGlucoseLogSurveyIdentifier; 38 | 39 | typedef NS_ENUM(NSUInteger, APHFitnessDaysShows) 40 | { 41 | APHFitnessDaysShowsRemaining = 0, 42 | APHFitnessDaysShowsLapsed 43 | }; 44 | 45 | @interface APHAppDelegate : APCAppDelegate 46 | 47 | - (void)startActivityTrackerTask; 48 | - (NSInteger)fitnessDaysShowing:(APHFitnessDaysShows)showKind; 49 | 50 | @end 51 | 52 | -------------------------------------------------------------------------------- /Diabetes/Startup/APHProfileExtender.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHProfileExtender.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | @import APCAppCore; 36 | 37 | 38 | @interface APHProfileExtender : NSObject 39 | 40 | @property (nonatomic, strong) APCProfileViewController *profileViewController; 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Diabetes/Startup/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /Diabetes/Startup/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Diabetes/TabBarControllers/Dashboard/APHDashboardEditViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHDashboardEditViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | typedef NS_ENUM(APCTableViewItemType, APHDashboardItemType) { 37 | kAPHDashboardItemTypeGlucose, 38 | kAPHDashboardItemTypeWeight, 39 | kAPHDashboardItemTypeWaist, 40 | kAPHDashboardItemTypeCarbohydrate, 41 | kAPHDashboardItemTypeSugar, 42 | kAPHDashboardItemTypeSteps, 43 | kAPHDashboardItemTypeCalories, 44 | kAPHDashboardItemTypeAlerts, 45 | kAPHDashboardItemTypeInsights, 46 | kAPHDashboardItemTypeFitness, 47 | kAPHDashboardItemTypeGlucoseInsights, 48 | kAPHDashboardItemTypeDietInsights, 49 | kAPHDashboardItemTypeSevenDayFitness 50 | }; 51 | 52 | @interface APHDashboardEditViewController : APCDashboardEditViewController 53 | 54 | @end 55 | -------------------------------------------------------------------------------- /Diabetes/TabBarControllers/Dashboard/APHDashboardViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHDashboardViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | @interface APHDashboardViewController : APCDashboardViewController 37 | 38 | @property (nonatomic, strong) APCInsights *stepInsight; 39 | @property (nonatomic, strong) APCInsights *carbsInsight; 40 | @property (nonatomic, strong) APCInsights *caloriesInsight; 41 | @property (nonatomic, strong) APCInsights *sugarInsight; 42 | 43 | @property (nonatomic, strong) APCFoodInsight *carbFoodInsight; 44 | @property (nonatomic, strong) APCFoodInsight *sugarFoodInsight; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Diabetes/TabBarControllers/Dashboard/APHFoodInsightsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHFoodInsightsViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @import APCAppCore; 37 | 38 | @interface APHFoodInsightsViewController : UIViewController 39 | 40 | @property (nonatomic, strong) NSArray *carbFoodInsights; 41 | @property (nonatomic, strong) NSArray *sugarFoodInsights; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Diabetes/TabBarControllers/Dashboard/APHGlucoseInsightsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHGlucoseInsightsViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @import APCAppCore; 37 | 38 | @interface APHGlucoseInsightsViewController : UIViewController 39 | 40 | @property (nonatomic, strong) APCInsights *stepInsight; 41 | @property (nonatomic, strong) APCInsights *carbsInsight; 42 | @property (nonatomic, strong) APCInsights *caloriesInsight; 43 | @property (nonatomic, strong) APCInsights *sugarInsight; 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Diabetes/TabBarControllers/Dashboard/APHbaseline.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHbaseline.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @interface APHbaseline : APCGenericSurveyTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/BaselineSurvey/APHBaselineSurvey.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHBaselineSurvey.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @import APCAppCore; 37 | 38 | extern NSString *const kBaselineStepIntroduction; 39 | extern NSString *const kBaselineStepMedication; 40 | extern NSString *const kBaselineStepMedicationList; 41 | extern NSString *const kBaselineStepHealthDevice; 42 | extern NSString *const kBaselineStepOtherApps; 43 | 44 | @interface APHBaselineSurvey : ORKOrderedTask 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/BaselineSurvey/APHBaselineTaskViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHBaselineTaskViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @interface APHBaselineTaskViewController : APCBaseTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/EnterWeight/APHEnterWeightTaskViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHEnterWeightTaskViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | @interface APHEnterWeightTaskViewController : APCBaseWithProgressTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Food Log/APHFoodLogLaunchViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Food 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @interface APHFoodLogLaunchViewController : APCStepViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Food Log/APHFoodLogTaskViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Food 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @interface APHFoodLogTaskViewController : APCBaseTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/LogGlucose/APHGlucoseEntryTableViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHGlucoseEntryTableViewCell.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | extern NSString *const kGlucoseNotMeasured; 37 | 38 | @protocol APHGlucoseEntryTableViewCellDelegate 39 | 40 | - (void)didSelectNotMeasured; 41 | - (void)didSubmitReading; 42 | 43 | @end 44 | 45 | @interface APHGlucoseEntryTableViewCell : UITableViewCell 46 | 47 | @property (nonatomic, weak) id delegate; 48 | 49 | @property (nonatomic, strong) NSString *captionMealTime; 50 | @property (nonatomic, strong) NSNumber *glucoseReading; 51 | @property (nonatomic) NSInteger textFieldTag; 52 | @property (nonatomic, getter=isNotMeassured, readonly) BOOL notMeasured; 53 | 54 | @end 55 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/LogGlucose/APHGlucoseEntryViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHGlucoseEntryViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @import APCAppCore; 37 | 38 | @interface APHGlucoseEntryViewController : APCStepViewController 39 | 40 | @property (nonatomic, strong) APCGroupedScheduledTask *tasks; 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/LogGlucose/APHGlucoseLevelTaskViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHGlucoseLevelTaskViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | @interface APHGlucoseLevelTaskViewController : APCBaseTaskViewController 37 | 38 | @property (nonatomic, strong) NSDictionary *glucoseLevel; 39 | @property (nonatomic, strong) NSManagedObjectContext *localContext; 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/LogGlucose/APHGlucoseLogTaskViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHGlucoseLogTaskViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | @interface APHGlucoseLogTaskViewController : APCBaseTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/LogGlucose/APHGlucoseLogViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHGlucoseLogViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | @interface APHGlucoseLogViewController : APCStepViewController 37 | 38 | @property (nonatomic, strong) APCGroupedScheduledTask *selectedTask; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/LogGlucose/APHSliderViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHSliderViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @import APCAppCore; 37 | 38 | @protocol APHSliderViewControllerDelegate 39 | 40 | @required 41 | - (void)didSelectDate:(NSDate *)selectedDate; 42 | 43 | @end 44 | 45 | @interface APHSliderViewController : UIViewController 46 | 47 | @property (weak, nonatomic) id delegate; 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/MeasureWaist/APHWaistTaskViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHWaistTaskViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | 36 | @interface APHWaistTaskViewController : APCBaseWithProgressTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Medication Tracker/APHMedicationTrackerTaskViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHMedicationTrackerTaskViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | 35 | #import 36 | 37 | #import 38 | #import 39 | 40 | @interface APHMedicationTrackerTaskViewController : APCBaseTaskViewController 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Seven Day Allocation/APHSevenDayFitnessAllocationTaskViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHSevenDayFitnessAllocationViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | @interface APHSevenDayFitnessAllocationTaskViewController : APCBaseWithProgressTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Seven Day Allocation/Activity Tracking/APHActivityTrackingStepViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHActivityTrackingStepViewController.h 3 | // Diabetes 4 | // 5 | // Copyright (c) 2014 Apple, Inc. All rights reserved. 6 | // 7 | 8 | @import APCAppCore; 9 | 10 | @interface APHActivityTrackingStepViewController : APCStepViewController 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Seven Day Allocation/Activity Tracking/APHFitnessAllocation.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHFitnessAllocation.h 3 | // Diabetes 4 | // 5 | // Copyright (c) 2014 Apple, Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | @import APCAppCore; 10 | 11 | extern NSString *const kDatasetDateKey; 12 | extern NSString *const kDatasetValueKey; 13 | extern NSString *const kDatasetSegmentNameKey; 14 | extern NSString *const kDatasetSegmentColorKey; 15 | extern NSString *const kDatasetSegmentKey; 16 | extern NSString *const kDatasetDateHourKey; 17 | extern NSString *const kSegmentSumKey; 18 | extern NSString *const kSevenDayFitnessStartDateKey; 19 | extern NSString *const APHSevenDayAllocationDataIsReadyNotification; 20 | extern NSString *const APHSevenDayAllocationHealthKitDataIsReadyNotification; 21 | 22 | @interface APHFitnessAllocation : NSObject 23 | 24 | @property (nonatomic) NSTimeInterval activeSeconds; 25 | 26 | - (instancetype)initWithAllocationStartDate:(NSDate *)startDate; 27 | - (NSArray *)todaysAllocation; 28 | - (NSArray *)yesterdaysAllocation; 29 | - (NSArray *)weeksAllocation; 30 | - (void) startDataCollection; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Seven Day Allocation/Activity Tracking/APHTheme.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHTheme.h 3 | // MyHeart Counts 4 | // 5 | // Copyright (c) 2014 Apple, Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | @interface APHTheme : NSObject 11 | 12 | + (UIColor *)colorForRightCellBorder; 13 | + (CGFloat)widthForRightCellBorder; 14 | 15 | + (UIColor *)colorForDividerLine; 16 | + (CGFloat)widthForDividerLine; 17 | 18 | + (UIColor *)colorForActivityOutline; 19 | + (UIColor *)colorForActivitySleep; 20 | + (UIColor *)colorForActivityInactive; 21 | + (UIColor *)colorForActivitySedentary; 22 | + (UIColor *)colorForActivityModerate; 23 | + (UIColor *)colorForActivityVigorous; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Seven Day Allocation/Activity Tracking/APHTheme.m: -------------------------------------------------------------------------------- 1 | // 2 | // APHTheme.m 3 | // MyHeart Counts 4 | // 5 | // Copyright (c) 2014 Apple, Inc. All rights reserved. 6 | // 7 | 8 | #import "APHTheme.h" 9 | 10 | @implementation APHTheme 11 | 12 | + (UIColor *)colorForRightCellBorder 13 | { 14 | return [UIColor colorWithRed:0.757 green:0.094 blue:0.129 alpha:1.000]; 15 | } 16 | 17 | + (CGFloat)widthForRightCellBorder 18 | { 19 | return 4.0; 20 | } 21 | 22 | + (UIColor *)colorForDividerLine 23 | { 24 | return [UIColor colorWithWhite:0.836 alpha:1.000]; 25 | } 26 | 27 | + (CGFloat)widthForDividerLine 28 | { 29 | return 0.5; 30 | } 31 | 32 | + (UIColor *)colorForActivityOutline 33 | { 34 | return [UIColor colorWithWhite:0.973 alpha:1.000]; 35 | } 36 | 37 | + (UIColor *)colorForActivitySleep 38 | { 39 | return [UIColor colorWithRed:0.145 green:0.851 blue:0.443 alpha:1.000]; 40 | } 41 | 42 | + (UIColor *)colorForActivityInactive 43 | { 44 | return [UIColor colorWithRed:0.176 green:0.706 blue:0.980 alpha:1.000]; 45 | } 46 | 47 | + (UIColor *)colorForActivitySedentary 48 | { 49 | return [UIColor colorWithRed:0.608 green:0.196 blue:0.867 alpha:1.000]; 50 | } 51 | 52 | + (UIColor *)colorForActivityModerate 53 | { 54 | return [UIColor colorWithRed:0.957 green:0.745 blue:0.290 alpha:1.000]; 55 | } 56 | 57 | + (UIColor *)colorForActivityVigorous 58 | { 59 | return [UIColor colorWithRed:0.937 green:0.267 blue:0.380 alpha:1.000]; 60 | } 61 | 62 | @end 63 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Surveys/APHDailyCheckSurveyViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHDailyCheckSurveyViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | @interface APHDailyCheckSurveyViewController : APCGenericSurveyTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Surveys/APHWeeklyCheckSurveyViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // APHWeeklyCheckSurveyViewController.h 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | @import APCAppCore; 35 | 36 | @interface APHWeeklyCheckSurveyViewController : APCGenericSurveyTaskViewController 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Diabetes/TasksAndSteps/Surveys/APHWeeklyCheckSurveyViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // APHWeeklyCheckSurveyViewController.m 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import "APHWeeklyCheckSurveyViewController.h" 35 | 36 | @interface APHWeeklyCheckSurveyViewController () 37 | 38 | @end 39 | 40 | @implementation APHWeeklyCheckSurveyViewController 41 | 42 | - (void)viewDidLoad { 43 | [super viewDidLoad]; 44 | } 45 | 46 | - (void)didReceiveMemoryWarning { 47 | [super didReceiveMemoryWarning]; 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Diabetes/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // GlucoSuccess 4 | // 5 | // Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 6 | // 7 | // Redistribution and use in source and binary forms, with or without modification, 8 | // are permitted provided that the following conditions are met: 9 | // 10 | // 1. Redistributions of source code must retain the above copyright notice, this 11 | // list of conditions and the following disclaimer. 12 | // 13 | // 2. Redistributions in binary form must reproduce the above copyright notice, 14 | // this list of conditions and the following disclaimer in the documentation and/or 15 | // other materials provided with the distribution. 16 | // 17 | // 3. Neither the name of the copyright holder(s) nor the names of any contributors 18 | // may be used to endorse or promote products derived from this software without 19 | // specific prior written permission. No license is granted to the trademarks of 20 | // the copyright holders even if such marks are included in this software. 21 | // 22 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 26 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | // 33 | 34 | #import 35 | #import "APHAppDelegate.h" 36 | 37 | int main(int argc, char * argv[]) { 38 | @autoreleasepool { 39 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([APHAppDelegate class])); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Massachusetts General Hospital. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, 4 | are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, this 7 | list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation and/or 11 | other materials provided with the distribution. 12 | 13 | 3. Neither the name of the copyright holder(s) nor the names of any contributors 14 | may be used to endorse or promote products derived from this software without 15 | specific prior written permission. No license is granted to the trademarks of 16 | the copyright holders even if such marks are included in this software. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 22 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 24 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 25 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 26 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | 29 | --------------------------------------------------------------------------------