You are on page 1of 19

(AMCMS)

ADVANCED MEDICAL CENTER MANAGEMENT SYSTEM


USING NODE.JS, EXPRESS.JS, EJS AND MONGODB
INTRODUCTION/BACKGROUND
TO THE PROJECT
In Uganda, most of the Medical centers use the manual way of storing administrative, staff and patient data then
the necessary management data. A system which is very error prone and requires a lot of input from the
administrators among the many disadvantages. Hospital Software management systems have been introduced,
but due to the technology used, there are a lot of limitations in terms of operation speed, flexibility for the
addition of new services, limitation of use to only administrators, lack of security data, much work required on the
side of the administrator on listing all details of the patients
Advanced Medical Center Management System(AMCMS) aims to the minimization of the disadvantages of the
manual system and the already existing software. This is done by the implementation of the management system
by using Node.js, express.js, ejs, and mongodb as main technologies. Node.js is the backend JavaScript framework
which will connect our frontend with the database, express.js is a Node.js framework simplifying node.js coding,
ejs is the templating engine and mongodb is the database.
With this system it is very easy to integrate new services, the speed of operation will be fast, patient information
will be secure(secure login), less work required by administrators due to the presence of patience accounts to list
all the patient details which will be filled in by the patients instead. etc.
PROBLEM STATEMENT
I’ve been to hospitals, especially government hospitals and what I have seen is really depressing
◦ Sick patients who need immediate treatments are forced to stay in the same line with patients whose conditions
are not that bad for example you will find a patient who is suffering from adverse effects of Malaria expected to
stay in the same line with a person who has come in for tooth dressing and I mean for hours and hours.
◦ Old people and infants who should be prioritized are made to stay in these lines too. I’ve seen some collapse too.
◦ Lines are too compact such that even if one uses a face mask, transmission of COVID-19 is very easy. One ends up
getting an illness in a place where he/she has come to clear another illness. The patient ward is always crowded
with some people sitting on the floor.
◦ Doctors only give a person special interest if some amount of money is involved i.e. corrupt doctors.
◦ Patients wait for hours for some doctors who do double full-time jobs who sometimes never show up.
◦ Patients are disregarded because they lost their books which included their details for the previous meetings with
their doctors.
OBJECTIVES
Main Objectives
◦ Build a system which
◦ Prioritizes certain health conditions and age groups to allow early treatment in their cases.
◦ Saves the credentials of patients including their appointments.
◦ Doctors’ appointment details cleared by administrators and patients so as to avoid corrupt acts.
◦ Provides efficient appointment application system to elevate the process of appointment setup and prevent crowding in hospitals hence
observe SOPs.

Specific Objectives
◦ Build a system which
◦ Includes a notification section to pass sensitive medical information to the public through existing accounts.
◦ Includes administrator, staff and patient accounts which have secure logins.
◦ Includes the automatic use of SMS to alert patients about their appointments, incase it is urgent and alert doctors in emergency conditions.
◦ Has a complaints section which is read by trusted administrators to address the issues of both the patients and staff.
LITERATURE REVIEW
The project is to be developed using Node.js, express.js, ejs, and mongodb basically.
Node.js :is an open-source, cross-platform, backend JavaScript runtime environment that runs on the V8
engine and executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write
command line tools and for server-side scripting—running scripts server-side to produce dynamic web
page content before the page is sent to the user's web browser.
Express.js: is a back end web application framework for Node.js.
EJS: Embedded JavaScript Templating is a templating engine used by Node.js.
◦ It can inject data into HTML template at the client side and produce the final HTML.
◦ It also helps to embed JavaScript to HTML pages.

Mongodb: the most popular NoSQL database, is an open-source document-oriented database.


◦ The term ‘NoSQL’ means ‘non-relational’.
LITERATURE VIEW
The program contains three accounts which are:
Administrator account
◦ It has access to
◦ Notifications: Notifications from activities that happen throughout the database or example, a patient account
clearing an appointment.
◦ Patients Data: Data of all patients in the system including all details related to the organization.
◦ Staff Data: Data of all employees in the system including all details related to the organization and doctors
information like pending appointments.
◦ Complaints: Complaint notifications from every user of the system
◦ Add or delete patient and doctor accounts. The administrator will have the privilege to add or delete accounts
which are considered to be suspicious, dangerous depending on their activities
◦ Appointments: This is a page which contains all the pending appointments for which the patients have applied.
LITERATURE VIEW
Patient account:
◦ It has access to:
◦ Client Doctor Application form: Form used by a patient to report his/her health problem
◦ Client Details: Data related to that client and his/her activities in the organization
◦ Complaint form: Form used by client to file a complaint
◦ Notifications: A section to view all the notifications from the users in the system
◦ Doctor-Client Chat Center: A section that can be used by the doctor and the client to
communicate
◦ Appointments: Contains all pending patient appointments.
LITERATURE VIEW
Doctor Account
◦ It has access to:
◦ Notification: A section which contains all notifications from anyone in the system
◦ Patient Details: Details of all patients in the system
◦ Doctor Details: Details of that particular doctor account which contains details such as
completed appointments
◦ Complaint form: A form used to submit complaints
◦ Doctor-Client Chat Center: A section that can be used by the doctor and the client to
communicate
◦ Appointments: Contains all pending appointments for that particular doctor
SCOPE OF STUDY
The first scope is to design a BACKEND including Node.js server, express.js and a mongodb database. Node.js
and express.js will responsible for endpoint designs and mongodb is our database.
The second scope is the FRONT-END design which will include use of EJS templating in association with CSS and
JavaScript, template designs for various pages, form designs.
The third scope is the design and implementation of the various services. This include the provision of an
action to be done when there is a request by the user for that particular service. This will integrate the
frontend and backend to the database.
METHODOLOGY
BACKEND AND DATABASE STUDY AND DESIGN
Introduction to back-end design: This will involve a process of our group understanding the details of our back-
end design through discussions . Including initials such as:
◦ Installation of Node.js and Initial Node.js setup
◦ Installation of Mongodb and Initial Mongodb setup
◦ Setting up express.js in node.js

FRONTEND STUDY AND DESIGN


Introduction to Front-end design: This will involve a process of our group understanding the details of our front-
end design through discussions. Including initials such as:
◦ Template designs: This involves the design of the templates for all the interfaces for the administrative, patient and doctor
accounts for example designing the notifications template which will be the same for all the accounts while others can be
unique according to the account.
◦ EJS template initial setup including using it as template engine in express.js
METHODOLOGY
SERVICES DESIGN
Design and Implementation of accounts for the various personnel including:
◦ Sign up and Login design(what is required for login and signup).
◦ Saving of the account details in the database.
METHODOLOGY
SERVICES DESIGN

Design and implementation of patient medical


application system. Including:
◦ Prioritization of certain appointments according
to age groups and health conditions. This can be
achieved by creating priority stages for certain
conditions for example
◦ Emergency conditions like heart issues given
stage 0,
◦ Malaria stage 1,
◦ Toothache stage 2,
Design and implementation of report system which collects patient Design of a corrupt free doctor management system. After an
and doctor information from database to display them to the appointment, a patient will have to clear an appointment, an action
required party on a given page or even print it. We will differentiate which will emit a notification to the Admin account pending
the accounts based on id at the database such that when a appointments, on clearing the appointment from pending
patient/doctor name is clicked, it will be linked to an endpoint which appointment list, patient and doctor cleared appointment fields in
requests for details of that particular patient/doctor from the the database are updated by increasing new appointment in the
database which returns an object containing all details which will appointment stack.
then be displayed with the help of ejs templating.
Design of Public Notification System. Only Administrators will Design of Complaint System. Patients/Doctors will be able
be able to post public notifications. Admin will post it in a to post complaints which will be saved to complaints
form of a notification which saved to notification collection in collection in the database. These complaints are only
the database. On reaching notification page, the link accessible by the administrator. On reaching the
connects an endpoint which fetches object of notification complaints page, the link connects an endpoint which
collection and sends it to ejs which displays it with the use of fetches object of complaints collection and sends it to ejs
JavaScript in HTML tags which displays it with the use of JavaScript in HTML tags
TOOLS,EQUIPMENT AND
SOFTWARE
Computer with
◦ 2.0GHz or Higher processor speed
◦ 4.0Gb or higher RAM
◦ Fast Internet Connection

Softwares:
◦ VS-CODE
◦ GOOGLE-CHROME
◦ POSTMAN
◦ GITBASH
◦ MONGODB
◦ NODE.JS
BUDGET/COST IMPLICATIONS
ITEM COST
COMPUTER ACCESS Free
FAST INTERNET CONNECTION-9GB-AIRTEL USH 30,000/MONTH
VS CODE SOFTWARE USD 45.00(Professional)
GOOGLE CHROME SOFTWARE Free Download
POSTMAN SOFTWARE Free Download(94.1MB)
GITBASH SOFTWARE Free Download
MONGODB SOFTWARE Free Download(218MB)
NODE.JS SOFTWARE Free Download
NPM SOFTWARE Free Download
GANNT CHART

TASK START-DATE END-DATE Duration(Days)

( BACKEND AND FRONTEND INITIAL DESIGN 10-Jan-22 16-Jan-22 7

ACCOUNTS DESIGN 17-Jan-22 22-Jan-22 6

PATIENT APPLICATION SYSTEM 23-Jan-22 06-Feb-22 15

REPORT SYSTEM 07-Feb-22 10-Feb-22 4

CORRUPT FREE SYSTEM 11-Feb-22 14-Feb-22 4

PUBLIC NOTIFICATION 15-Feb-22 20-Feb-22 6

COMPLAINT SYSTEM 21-Feb-22 25-Feb-22 5

SYSTEM INTEGRATION AND TEST 26-Feb-22 28-Feb-22 3

REPORT DOCUMENTATION 01-Mar-22 10-Mar-22 10


GANNT CHART
10-Jan-22 18-Jan-22 26-Jan-22 3-Feb-22 11-Feb-22 19-Feb-22 27-Feb-22 7-Mar-22

BACKEND AND FRONTEND INITIAL DESIGN

ACCOUNTS DESIGN

PATIENT APPLICATION SYSTEM

REPORT SYSTEM

CORRUPT FREE SYSTEM

PUBLIC NOTIFICATION

COMPLAINT SYSTEM

SYSTEM INTEGRATION AND TEST

REPORT DOCUMENTATION
CONCLUSIONS

You might also like