Code Monkey home page Code Monkey logo

bio-app's People

Contributors

masonpackard avatar

Watchers

 avatar

Forkers

yninggis

bio-app's Issues

Initial Model

User (has_many :measures, :posts)

  • first_name
  • last_name
  • short_name
  • gender
  • fat_method
  • birth_date
  • type (i.e. device owner or provider)
  • organization
  • email
  • password
  • password confirmation
  • withings_id
  • withings_api_key
  • height_feet
  • height_inches
  • goal
  • goal_type
  • measures_to_show
  • time_to_send_email
  • send_email (opt-in)
  • activity_goal
  • cross_link_id (i.e. Device Owner to Provider or Provider to Device Owner)?

Measure

  • user_id
  • date
  • steps
  • distance
  • calories
  • elevation

BPM

  • user_id
  • date
  • bpm

Post

  • user_id
  • contents

Initial Use Cases

User types:

Device User

  • owns the device, wears the device, & creates the activity data
  • wants to gain greater insight and feedback on their health

Health care professional (Pro)

  • Doctor, Nurse, Physical Therapist
  • needs to monitor levels of activity for patients
  • able to provide feedback for patient

Use Cases:

User Role: Device User

Activity: Register
Goal: Create a new account
Action:

  • Create login information, email & password, gravatar info, time for automated report, opt-in email
  • Link withings device

User Role: Device User

Activity: View statistics
Goal: Gain easy insight into activity levels
Action:

  • Display graph with activity (steps, distance, calories, elevation) & (Heart Pulse) against dates
  • Allow user to show data with specified date range (opt. 1 - form field, opt. 2 - slider)
  • View feedback from Pro (only shown, if Pro has been registered)
  • Add notes / comments about day

User Role: Device User

Activity: Invite health care professional (Pro)
Goal: Provide information to Pro for monitoring of health
Action:

  • Enter in information for Pro (name, email)
  • Send a link for Pro to complete registration process

User Role: Pro User

Activity: Registration process
Goal: Allow access
Action:

  • Enter in information for Pro (name, email)
  • Send a link for Pro to complete registration process

User Role: Pro User

Activity: View statistics
Goal: Gain insight into activity levels
Action:

  • Display associated Device User's graph with activity (steps, distance, calories, elevation) & (Heart Pulse) against dates
  • Allow user to show data with specified date range (opt. 1 - form field, opt. 2 - slider)
  • Provide feedback for the patient (form entry & listing)

Initial Controller

Initial Controllers:

  • Application controller
  • Measures controller
  • Users controller
  • Posts controller
  • Activity controller

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.