- Easy Access Patient record is a system which is aimed at enabling the Medical Center to keep track of all the patients records and access them with ease. The developed system is helpful for management, patient health and research. In management, it could be used by the hospital’s director to see the performance of the physician, or statistical reporting.
- The physician can have the patient's history in detail from his previous records in less time. The physician can do their research by using advanced search. Archiving and securing electronic records is considered more reliable and trusted than paper-based records.
- Build a web application that provides a simplified pleasing user experience and designed using state of the art microservices API architecture.
- It offers an easy to use interface for creating and maintaining Patient Records and Prescriptions for each of the registered patients.
- The main goal of this website is to facilitate patients access to their medical records and give them e-prescription on basis of past illness and current symptoms.
To reduce the amount of time required for paper-work, we designed an EAPR system so that doctors are able to see the list of patients and are able to generate the E-prescription for the patient.The patients can view their prescriptions.
Doctors can store past history illness data, allergy intolerance data, problem/diagnosis data, prescription data with dose direction and order details
-
Create database
eapr
in postgresqlCREATE DATABASE eapr;
-
Create a virtual environment:
python3 -m venv eapr
-
Activate environment:
source eapr/bin/activate
-
Install the dependancies:
pip install -r requirements.txt
-
export JWT token
export JWT_SECRET_KEY="<your_key>"
-
Run the code
python3 app.py
-
Clean up
deactivate
Use docker-compose
docker-compose up --build
UI:
py.test --html=report.html -s
Routes:
python3 -m pytest
- After changes in the models.py / DB, run the command:
flask db migrate -m "some message"
- Update the head to point to latest version of db
flask db stamp head
- To sync changes run:
flask db upgrade
EAPR uses
Frontend:
- HTML, CSS, JS
- Bootstrap
- Jinja Templating Language
Backend:
- Flask
- SQLAlchemy
Database: PostgreSQL
Testing:
- Selenium
- PyTest