Skip to content

This is a django based CI/CD application that can be used by doctors and patients. The application provides role-based access to doctors, patients, and admin. Doctors can log in to view all the patient’s profiles, and add prescriptions to them. The Doctor can also view all the registered medicines on the portal along with their details. The pati…

Notifications You must be signed in to change notification settings

vinaykumar7686/Hackfest-EasyAccessPatientRecord

Repository files navigation

Hackfest-EasyAccessPatientRecord

Introduction

This application that can be used by doctors and patients. The application provides role-based access to doctors, patients, and admin. All the medical records of patients are stored securely. Once a record is created and saved then it can be accessed by both patients and doctors. Doctors can log in to view all the patient’s profiles, and add prescriptions to them. The Doctor can also view all the registered medicines on the portal along with their details. The patients can view all the doctors. A patient's record can only be viewed either by the doctor or the patient itself.

Project Overview

  1. Home Page is a page that displays some basic stats about the website and helps in welcoming the user to a universal dashboard that has direct links to various personalized sections of the website. image

  2. Doctor Sign Up is a page that is used by the doctor to register an account by entering some basic details like his name, email id, contact, selecting his department and choosing a secure password. image

  3. Common Sign In is a page that is used by both a doctor and a patient to log in into his account and access his information and perform various tasks available at hand. The page authenticates the login credentials and redirects the user who is either a doctor or a patient to their respective homepages depending on their account type. image

  4. Doctor Home Page serves as a dashboard to the doctor where he has options to perform a bunch of tasks like viewing all the patients, the list of available medicines that are registered on the platform, his personal profile as well as an option to go ahead and prescribe his patient. image

  5. All Registered Patients page is used by a doctor to see a list of all the patients who have registered themselves on the platform. There are further options available to a doctor to view the patient’s full profile including his prescription history in details as well as an option to prescribe him if the need be. image

  6. Patient’s Profile page is a page that displays all the basic as well as any medical information and the prescription history of a patient in one single page. The basic details of the patient include his name, contact, addresses and any medical history, while his medical information includes his height, weight, allergic conditions and more. The prescription history shows all the list of prescriptions he may have received on the platform from various doctors and if the need be, there is an option to take a detailed look at individual prescriptions by clicking on the View button below each prescription. image

  7. Add Prescription page is used by a doctor to prescribe a patient. The doctor has to select some basic details like date of visit, reason for visit, remarks on the patient’s health and more. The doctor is also given an option to add multiple medicines by clicking on Add Medicine button. For every medicine, the doctor needs to detail the dosage data and the duration of intake for the same. image

  8. View all Medicine page helps doctor take a look at all the registered medicines on the platform. There is also an option to look into the details like composition of individual medicines. image

  9. Doctor’s Profile page shows the doctor his basic information like his name, email, contact and more. The page also consists of each and every prescription that a particular doctor has ever made and there’s always an option to look for any of these prescription in full detail by clicking on the view button at the bottom of each one of them. image

  10. Patient Sign Up page is used by a patient to register his account on the platform. In order to do so, the patient has to first enter his basic details like his name, contact, address, any medical history and more and choose a password for authentication. Then he moves on to enter medical information like his height weight, any prevailing allergic conditions and more. image

  11. Patient Home page is like a health dashboard for the patient. Once he is directed to this page, he has the options in form of buttons to either view his profile or all the doctors registered on the platform. image

  12. All Registered Doctor page is used by the patient to view the list of all the registered doctors on the platform. The basic info of a doctor like his name, contact and email are also provided for further reference. image

  13. Patient’s Profile page is a page that displays all the basic as well as any medical information and the prescription history of a patient in one single page. The basic details of the patient include his name, contact, addresses and any medical history, while his medical information includes his height, weight, allergic conditions and more. The prescription history shows all the list of prescriptions he may have received on the platform from various doctors and if the need be, there is an option to take a detailed look at individual prescriptions by clicking on the View button below each prescription. image

  14. Update Profile page is used by a patient to update any of his basic information details including his phone, email or address as well. This page comes in handy to patients in-case they entered wrong information while registering their profile on the platform. image

  15. Update Medical Information page is used by a patient to update his medical information like his height, weight, allergic conditions and more. image

  16. Admin Panel of Django Administration is used to enter any pre required information like medicines, their preparations and various departments for doctors into the database.

  17. The application is responsive and mobile friendly, so one can take control of their health into their own hands now. image

Database Schema

image

Deploying H-EAPR on AWS

  1. Create the yml file which triggers every-time a push or a pull request has been made. image

  2. The yml file when executed runs the docker file. image

  3. The docker file runs the start script image

  4. On Amazon AWS Elastic Beanstalk, create a new environment by selecting web server environment tier and entering the application and environment name. Docker is selected as the platform here. image

  5. Create an IAM user in Amazon AWS. image

  6. Add the AWS Access Key and Secret Access Key in GitHub action secrets. image

  7. Wait for the build to complete. image

  8. The build when successfully completed shows a green tick. image

  9. The same can be seen at environment dashboard too. image

  10. Go to the deployment link to check if the application is running. image

About

This is a django based CI/CD application that can be used by doctors and patients. The application provides role-based access to doctors, patients, and admin. Doctors can log in to view all the patient’s profiles, and add prescriptions to them. The Doctor can also view all the registered medicines on the portal along with their details. The pati…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published