Navigation Menu

Skip to content

ColeMacGrath/HealthApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

In Progress

Bringing cutting-edge health monitoring and doctor collaboration to your fingertips. Currently in Progress

HealthApp is an innovative application designed to revolutionize the way we track, analyze, and share health-related data. By harnessing the power of HealthKit, CoreML, and ChatGPT, HealthApp provides a comprehensive suite of tools for personal health management and professional healthcare collaboration.

Some Screenshots

Dashboard
Dashboard
Profile
Profile
My Doctors
My Doctors
Doctor Profile
Doctor Profile
Appointment
Appointment
Appointments
Appointments
Created Appointment
Created Appointment
Fitzpatrick Explanation
Fitzpatrick Explanation
Fitzpatrick Scan
Fitzpatrick Scan
Fitzpatrick
Fitzpatrick
Nevus
Nevus
History
History
Sleep
Sleep
QR
QR

Features ✨

  • HealthKit Integration: Seamlessly retrieve health metrics directly from HealthKit to monitor your well-being.
  • Doctor Collaboration: Add doctors, schedule appointments, and share health data securely through QR codes.
  • Skin Issue Detection: Utilize advanced CoreML models for detecting skin issues like melanomas with just a camera snap.
  • Fitzpatrick Scale Detection: Determine your skin type using a photo, thanks to our trained CoreML Model.
  • Comprehensive Dashboards: View your health metrics, including BPM, sleep hours, and more, in an easy-to-understand format.
  • Mocking Support: Fully mocked interactions with Proxyman for a robust testing environment.

Getting Started 🚀

Prerequisites

  • Xcode 15 or later
  • An iPhone or iPad running iOS 17 or later

Setup

  1. Clone the repository to your local machine.

  2. Navigate to

    HealthApp/Utilities/keys.plist
    

    and insert your OpenAI key as follows:

    • Key: openAIKey
    • Value: YourKeyValueHere

Installation

  1. Open HealthApp.xcodeproj in Xcode.
  2. Build the project for your target device.
  3. Run the app on your device or an emulator.

How to Use 📲

  1. Dashboard and Profile: Get an overview of your health status and manage your profile.
  2. Doctor and Appointments: Add doctors and schedule appointments through the app.
  3. Skin Health: Use the nevus analyzer view to detect potential skin issues.
  4. Sleep and Activity Tracking: Monitor sleep hours and other health metrics for comprehensive health management.

Mocking With Proxyman In Progress

To test HealthApp with simulated data:

  1. Install Proxyman on your Mac.

  2. Configure Proxyman to route HealthApp's network traffic through it.

    1. Project is working with following loca URL: https://api.healthapp.local/

    2. For configuring URL's, paths, etc. confifgure at: HealthApp/Models/Shared/RequestManager.swift

      1. You'll find base url like this:
      private init() {
        self.baseURL = "https://api.healthApp.local/"
      }
      1. For enpoints you'll fund an enum like this:
      enum EndPoint: String {
          case login = "login"
          case doctors = "doctors"
          case bookApointment = "bookAppointment"
          case appointments = "appointments"
          case patients = "patients"
      }
  3. Configure your paths:

Since all scripts works with JSON files you'll need to configure your project's paths, by default in all scripts you'll find something like this at the begging of file:

const userFilePath = "~/Documents/Developer/iOS/";

You'll need to replace this for the path where your project is located.

Script Name Matching Rule Type Method
Book Appointment https://api.healthapp.local/bookAppointment Wildcard POST
Delete Appointment https://api.healthApp.local/.*/appointment Regex DELETE
Appointment List https://api.healthapp.local/doctors Wildcard GET
Add Doctor https://api.healthapp.local/.*/appointments Regex PATCH
Delete Doctor https://api.healthapp.local/doctors Wildcard DELETE
Doctors List https://api.healthapp.local/.*/doctors Regex GET
Patients List https://api.healthapp.local/.*/patients Regex GET

About

This application is designed for the effective interaction between patients and doctors

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages