Skip to content

Latest commit

 

History

History
116 lines (85 loc) · 4.33 KB

README.md

File metadata and controls

116 lines (85 loc) · 4.33 KB

Plan My MD Visit


Domain Modeling :: Virtual Healthcare
Welcome to my simplistic version of Virtual Healthcare system.
The automation benefits patients 24/7 seeking medical assistance, improving overall patient well-being!

YouTube Demo

DEV Blog

About

The pandemic that has been lingering all around us since early 2020 has caused an apparent challenge to the current healthcare system. It is a testament to the new modern demand of digital healthcare. The conventional healthcare system is currently overflown with predominantly Covid-19 patients, exceeding their abilities to facilitate care of other medical patient needs.

The Minimum Viable Product (MVP) of Plan My MD Visit app is to create a virtual patient system where the automation benefits patient 24/7 seeking virtual medical assistance, improving overall patient well-being. My application carries essential features and minimal attributes of tele-health platforms. Patients make their visits to the clinic, laboratory or hospital only when necessary and/or advised by medical professionals.

Features



Models
User, Patient, Healthcare Team, Doctor

user has_one :patient
user has_one :doctor

patient belongs_to :user
patient has_many :healthcare_teams
patient has_many :doctors, through: :healthcare_teams

healthcare_team belongs_to :patient
healthcare_team belongs_to :doctor

doctor belongs_to :user
doctor has_many :healthcare_teams
doctor has_many :patients, through: :healthcare_teams

Controller
ApplicationController
UsersController
PatientsController
HealthcareTeamsController
DoctorsController

User Account and Validation
Standard Authentication: Log In, Log Out, Sign Up.
Provider Authentication: GitHub and Google OmniAuth.

API Database

This file contains general information about individual eligible professionals (EPs) such as demographic information and Medicare quality program participation.

Installation

$ git clone 👾
$ bundle install
$ rails db:migrate 
$ rails db:seed
$ rails s

rails db:seed might take about 2-3 minutes extracting from doctors.json file.
Open Chrome browser, and redirect to 'http://localhost:3000' to start the app.

Alternatively, it is fully deployed on Heroku!

Plan My MD Visit

Logging in as a patient, username || password = fentybit
Logging in as an admin, username || password = admin

Build Status and Future Improvement

Current project-built was completed in a 2-week timeframe from API data search, model association development, and MVP for both patient and admin user interface. Future cycle of product development as follows:

  • Add Healthcare Provider to model associations. Patients can find their healthcare providers, and sort through in-network doctors by their specialties.
  • Outsource from different APIs for doctors, currently restricted to Medicare Care Compare eligible professionals.
  • Develop user interface for users as doctors.
  • Set up customized validations for scheduling appointments where each individual doctor can personalize their preferred schedule.
  • Communication features (i.e., private messaging) in between doctors and patients.
  • Design separate CSS layouts for different user groups: patients, admins and doctors.

Stack

  • Active Record
  • Bcrypt
  • PostgreSQL
  • Simple Calendar
  • OmniAuth GitHub and Google
  • Open-URI
  • Nokogiri
  • JSON
  • Materialize CSS

Resources