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!
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.
Models
User, Patient, Healthcare Team, Doctor
user has_one :patient
user has_one :doctor
patient
belongs_to
:user
patienthas_many
:healthcare_teams
patienthas_many
:doctors,through:
:healthcare_teams
healthcare_team
belongs_to
:patient
healthcare_teambelongs_to
:doctor
doctor
belongs_to
:user
doctorhas_many
:healthcare_teams
doctorhas_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.
This file contains general information about individual eligible professionals (EPs) such as demographic information and Medicare quality program participation.
$ 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!
Logging in as an admin, username || password = admin
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.
- Active Record
- Bcrypt
- PostgreSQL
- Simple Calendar
- OmniAuth GitHub and Google
- Open-URI
- Nokogiri
- JSON
- Materialize CSS