Chapter 2
Chapter 2
1
2
ASSESSMENT OF ON JOB TRAINING – 1
1.1 Introduction:
The Hospital Management System is a web-based platform designed to streamline
patient appointments, doctor management, and hospital administration. This system
ensures efficient handling of patient records, appointment scheduling, and doctor
assignments.
The project is built using the MERN stack (MongoDB, Express.js, React.js,
Node.js) and consists of three main components:
Frontend (http://localhost:5173/): Patient-facing interface.
Dashboard (http://localhost:5174/): Admin interface.
Backend (http://localhost:4000/): Manages database and authentication.
This project enhances healthcare services by enabling quick patient management,
reducing paperwork, and ensuring data security. The system can be further extended
to support telemedicine, remote patient monitoring, and AI-based diagnostics.
Additionally, it provides real-time appointment tracking, ensuring a seamless
experience for patients and healthcare professionals. The integration of secure
authentication mechanisms ensures that patient records remain confidential and
accessible only to authorized personnel. The system also improves operational
efficiency by automating repetitive tasks, allowing hospital staff to focus on critical
patient care. Furthermore, data analytics tools integrated into the system provide
hospital administrators with actionable insights to enhance overall service delivery.
Future developments may include AI-driven patient assistance, enhancing the user
experience through automated recommendations and diagnostics.
1.2 Objectives:
To provide a digital solution for hospital management.
To automate appointment scheduling.
To improve patient record management.
To enable secure authentication for patients, doctors, and admins.
To reduce manual errors and improve data accuracy.
To integrate advanced reporting and analytics for better decision-making.
To enhance patient experience with an easy-to-use interface.
To ensure scalability for future integration with emerging technologies.
3
4
1.3 TOOLS/PLATFORM, HARDWARE AND SOFTWARE
SPECIFICATION
5
6
1.4 SYSTEM ANALYSIS :
1.4.1 ADVANTAGES:
Enhances hospital management efficiency by automating processes.
1.4.2 Disadvantages:
Requires a stable internet connection for optimal functionality.
Initial implementation and maintenance costs may be high.
Security risks if proper authentication and encryption are not maintained.
Users may require training to fully understand and use the system efficiently.
Potential downtime due to server issues or database failures.
Integration with legacy hospital systems may be complex.
Data migration from old records to the new system can be time-consuming.
Data migration from old systems may be time-consuming and expensive.
Resistance to change from hospital staff accustomed to manual systems.
Ongoing software updates and technical support are necessary for smooth
operation.
7
8
1.5 SOFTWARE USED IN THE PROJECT
Software is a set of instructions, data, or programs used to operate computers and
execute specific tasks. It is the opposite of hardware, which describes the physical
aspects of a computer. Software is a generic term used to refer to applications, scripts,
and programs that run on a device. It can be thought of as the variable part of a
computer, while hardware is the invariable part.
Some of the main software used in this project are:
React.js
Node.js
Express.js
MongoDB Atlas
Material UI
CSS: Cascading Style Sheets (CSS) is a stylesheet language used for describing the
presentation of web pages. It enables the separation of content and design, improving
accessibility, flexibility, and consistency in styling. CSS reduces complexity and
repetition by allowing multiple web pages to share formatting from a single file.
9
10
1.5.2 MERN Stack Architecture:
The MERN stack is a JavaScript-based full-stack development
framework consisting of MongoDB, Express.js, React.js, and
Node.js. It enables developers to build robust web applications with a
three-tier architecture: frontend, backend, and database.
11
12
1.6 STRUCTURE OF THE PROJECT
The Hospital Management System is organized into multiple modules,
each serving a specific purpose within the system. These modules are
designed to improve functionality, promote code reusability, and facilitate
easier maintenance. Below is an overview of the key modules:
1.6.1 MODULES
1.6.1.1 USER MODULE:
Register: A simple registration process for users to create accounts.
13
14
Book Appointment: Users can book appointments by selecting a doctor, department,
and available time slots.
15
16
CHAPTER -3
DISCUSSION ON JOB TRAINING CASE-2
17
18
CASE-2: IMPLEMENTATION
3.1 INTERNS ROLES AND RESPONSIBILITY :
As an intern in Hospital Management System Development, my primary responsibility was to
assist in designing and implementing the system while understanding the development
processes effectively. The key tasks included:
Front-end Development: Implemented the UI using React.js and Material UI for a
seamless user experience.
Back-end Development: Integrated Node.js and Express.js to handle server-side logic
and database connections.
Database Management: Utilized MongoDB Atlas to store and retrieve patient, doctor,
and appointment data.
Authentication & Security: Implemented JWT-based authentication for secure login
and access control.
API Integration: Developed REST APIs for communication between the front-end and
back-end.
Debugging & Optimization: Identified and resolved system issues, improving overall
performance.
Documentation: Maintained records of project progress, including system workflow
and module descriptions.
19
20
3.2.1 DFD Symbols :
3.3 DATABASE:
A database is an organized collection of structured data, allowing efficient storage, retrieval,
and manipulation. In this project, MongoDB was used as the backend database due to its
flexibility, scalability, and seamless integration with JavaScript-based applications.
MongoDB is a NoSQL Database – Unlike traditional relational databases,
MongoDB uses a document-based model for storing data.
Stores Data in JSON-like Format – The data is stored as BSON (Binary JSON),
which is lightweight and efficient for web applications.
Schema-less Structure – MongoDB does not enforce a fixed schema, making it
highly flexible for evolving project requirements.
Collections and Documents – Data is stored in collections (similar to tables in SQL),
and each collection contains multiple documents (similar to rows).
Scalability – MongoDB supports horizontal scaling, distributing data across multiple
servers for better performance.
Indexing for Fast Retrieval – It allows indexing on fields, significantly improving
data query performance.
Supports CRUD Operations – MongoDB provides powerful Create, Read, Update,
and Delete (CRUD) operations for managing data.
High Performance – Optimized for handling large volumes of data with minimal
latency.
21
3.3.1 TABLE DESCRIPTIONS:
Below are the main collections (tables) used in the Hospital Management System:
Table Name: Admin
Description: This table stores login credentials for hospital administrators.
22
23
Table Name: User_Login
Description: Stores login details for registered users.
Registered user
email_id Varchar(60)
email.
Re-entered password
confirm_password Varchar(250)
for verification.
24
Table Name: Appointments
Description: Manages patient appointment bookings.
25
Description: Stores admin registration details.
26
27
3.4 STRUCTURE OF THE PROJECT
1.6.1.4 DATABASE MODULE:
Patient Records: Stores patient details, appointment history, and treatment records.
Doctor Records: Stores information about doctors, their specializations, and
availability.
Appointment Records: Manages scheduling, cancellations, and confirmations.
Message Records: Stores messages sent by patients or users to the hospital
administration. This module enables secure communication between users and
admins.
User Records: Stores registered user details, authentication credentials, and profile
information.
28
(Fig 5: Doctor Register)
29
(Fig 7: Messages Section)
30
31
CHAPTER–4
USE CASE DIAGRAMS
32
4.1 INTRODUCTION OF USE CASE
Use-case diagrams describe the high-level functions and scope of a system. These diagrams
also identify the interactions between the system and its actors. The use cases and actors in
use-case diagrams describe what the system does and how the actors use it, but not how the
system operates internally.
Use-case diagrams are helpful in the following situations:
Before starting a project, you can create use-case diagrams to model a business so that
all participants in the project share an understanding of the workers, customers, and
activities of the business.
While gathering requirements, you can create use-case diagrams to capture the system
requirements and to present to others what the system should do.
During the analysis and design phases, you can use the use cases and actors from your
use-case diagrams to identify the classes that the system requires.
During the testing phase, you can use use-case diagrams to identify tests for the
system.
The four elements of a use-case diagram are:
System
Actors
Use Cases
Relationships
A use-case diagram should visualize a reason (use case) why an individual (actor) would
interact with your organization (system) and the relationships between the business and the
individuals.
Use-case diagrams also help in defining the scope and boundaries of the system by
highlighting what features are included and what is beyond the system’s control.
They provide a clear communication tool for both technical and non-technical stakeholders,
making it easier to discuss and refine system functionalities.
By understanding different use cases, developers can structure the software design more
effectively, ensuring that the system meets user needs.
33
34
4.1.1 USE CASE DIAGRAM FOR OJT–1 & OJT–2
35