Skip to content

cs342-gaitmate/assignment_4

Repository files navigation

 

GaitMate

GaitMate is an iOS research app developed at Stanford University. Physicians from the Stanford Health Care Department for Emergency Medicine paired up with students at the Stanford Byers Center for Biodesign to build a user-friendly app using Stanford’s Cardinal Kit to automate at-home safe functional mobility assessments and ultimately build predictive models using at-home data. Apple's open source frameworks ResearchKit and CareKit were used to realize the app.

 

Overview

 

Includes:

  • Informed consent process using ResearchKit.
  • Track day-to-day adherence with CareKit.
  • CoreMotion accelerometer data collection.
  • Gait task to assess functional mobility.
  • GCP Firebase Integration to store data.
  • Fall risk prediction using a pretrained gait identification PyTorch model.
  • Report a Fall feature.
  • Push notifications.
  • SwiftUI interfaces.

 

Features

Onboarding

When first downloading the app, the user is taken through an onboarding process. Login via Apple, Google or Email and password is supported.

Informed Consent

The app includes a visual consent template explaining the details of the research study with a signature screen.

Onboarding Survey

On first use, the app collects general demographic and health-related data from the study participant.

Gait Task

The gait task is a modified version of the ResearchKit Active Task called Gait and Balance. It records the user's gait data, stores it in Google Firebase, and sends it to our gait identification model for fall risk analysis.

Report a Fall

The Report a Fall feature is a weekly survey asking the study participant if they fell in the past week. A ResearchKit survey is used for the digital questionnaire. The data is stored in Firebase.

Schedule

A CareKit schedule is used to display completed and upcoming tasks to the user. The schedule includes the Gait Task and Report a Fall.

Notifications

The app reminds the user of the scheduled tasks by sending monthly (Gait Task) and weekly (Report a Fall) local push notifications.

Contacts

A contact tab is provided to display the contact information of the participants' physicians at Stanford Health Care.

 

Getting Started

Requirements: The GaitMate codebase supports iOS and requires Xcode 8.0 or newer.

Installation: Clone the lasted version of the main branch of this repository to get started.

Building: Open the file CardinalKit.xcworkspace and run the app on a simulator from Xcode. To collect real accelerometer data you need an Apple Developer account to test it on your iPhone.

 

Contributors


Laura Schütz

Ankush Dhawan

Raghav Samavedam

Amita Gondi