0% found this document useful (0 votes)
31 views47 pages

Hamro Sath

Uploaded by

Avishek Adhikari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views47 pages

Hamro Sath

Uploaded by

Avishek Adhikari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 47

Tribhuvan University

Faculty of Humanities and Social Sciences


Texas International College

SUPERVISOR’S RECOMMENDATION

I hereby recommend that this project prepared under our supervision Ujjwal Sapkota and
Nirajan Basnet entitled "Hamro Sath" in partial fulfillment of the requirements for the
degree of Bachelor of Science in Computer Science and Information Technology to be
processed for the evaluation.

……………………………..
Mr. Sulav Nepal
Supervisor
Texas International College
Chabahil, Kathmandu

ii
Tribhuvan University
Faculty of Humanities and Social Sciences
Texas International College

LETTER OF APPROVAL

This is to certify that this project prepared by Ujjwal Sapkota and Nirajan Basnet entitled
"Hamro Sath" in partial fulfillment of the requirements for the degree of Bachelor of
Computer Application has been well studied. In our opinion, it is satisfactory in the scope
and quality as a project for the required degree.

…………………………….. ……………………………..
Mr. Sulav Nepal Mr. Omkar Basnet
Supervisor HOD, CSIT
Texas Int’l College Texas Int’l College
Chabahil, Kathmandu Chabahil, Kathmandu

…………………………….. ……………………………..
Mr. Kumar Poudyal
External Supervisor
Faculty Member
Tribhuvan University
Texas Int’l College
Chabahil, Kathmandu Kritipur, Kathmandu

iii
ABSTRACT

Through the use of telehealth services, Hamro Sath's revolutionary web-based approach is
revolutionizing access to healthcare. The platform's user-friendly interface is built using
HTML and CSS, and its powerful backend is powered by Python to provide safe data
processing. The development approach was informed by research and questionnaire data,
resulting in a smooth user and doctor experience.

Hamro Sath makes registration and appointment administration easier for medical
professionals while also facilitating remote consultations via the built-in chat feature. From
the convenience of their homes, users may quickly register, make appointments, and chat
with healthcare specialists. The platform's focus on telehealth aims to improve medical
services for all people while lowering obstacles to accessing healthcare due to distance.

In conclusion, Hamro Sath, through utilizing cutting-edge technologies, sits at the forefront
of contemporary healthcare delivery. Both consumers and doctors enjoy using it because
of its user-friendly UI and secure data management. Hamro Sath promotes a future in which
medical consultations are just a click away, efficiently and effectively linking doctors and
patients, as telehealth develops popularity in the healthcare sector.

Keywords: Telehealth, Telemedicine, Nepal, technology, intelligence, prevention

iv
ACKNOWLEDGEMENT

The success of this project would not have been possible without the kind support and
assistance of many individuals and organizations, and we are immensely blessed to have
got this all along the duration of our project. We would like to thank Tribhuwan
University and Texas International College for providing us an opportunity.

We would like to express our gratitude to our project supervisor Mr. Sulav Nepal who
took keep interest on our project and guided us throughout the project by providing all the
necessary ideas, information and knowledge for the developing a functional mobile
application.

We are also appreciative of the efforts of BCA coordinator Mr. Omkar Banet, without his
supporting role, the project would have been nowhere near completion.

We are thankful and fortunate enough to get constant support from teaching staff of BCA
department which helped us successfully complete our project. We would also like to
extend our regards to all the non-teaching staff of BCA department for their timely support.

Last but not the least, our thanks and appreciations also go to each and every one of our
parents and colleagues for their encouragement and support in developing the project.

Hamro Sath
Ujjwal Sapkota
Nirajan Basnet

v
TABLE OF CONTENTS
ABSTRACT........................................................................................................................ iv

ACKNOWLEDGEMENT ................................................................................................... v

LIST OF FIGURES ......................................................................................................... viii

LIST OF TABLES .............................................................................................................. ix

LIST OF ABBREVIATIONS .............................................................................................. x

CHAPTER 1: INTRODUCTION ................................................................................. 11

1.1 Introduction....................................................................................................................11

1.2 Problem Statement .........................................................................................................11

1.3 Objectives ......................................................................................................................12

1.4 Scope and Limitations ...................................................................................................12

Scope .......................................................................................................................................12

Limitations ..............................................................................................................................12

1.5 Development Methodology ...........................................................................................13

1.6 Report Organization.......................................................................................................14

CHAPTER 2: BACKGROUND OF STUDY AND LITERATURE REVIEW ........... 15

2.1 Background Study .................................................................................................................15

2.2 Literature review ...................................................................................................................16

2.3 Data Collection......................................................................................................................19

CHAPTER 3: SYSTEM ANALYSIS AND DESIGN.................................................. 20

3.1 System Analysis.............................................................................................................20

3.1.1 Requirement Analysis. ..............................................................................................20

3.1.2 Requirement Analysis ...............................................................................................25

3.2 System Design ...............................................................................................................26

3.2.1 Class Diagram ...........................................................................................................26

3.2.2 Activity Diagram .......................................................................................................27

3.2.2 Sequence Diagram .....................................................................................................30

vi
3.3 Algorithm Details ..........................................................................................................31

3.3.1 Cosine Algorithm ......................................................................................................31

Chapter 4: Implementation and Testing ............................................................................. 33

4.1 Implementation ..............................................................................................................33

4.1.1 Tools Used.................................................................................................................33

4.1.2 Implementation Details of Modules ..........................................................................34

4.2 Testing ...........................................................................................................................38

4.2.1 Test Cases for Unit Testing .......................................................................................38

4.2.2 Test Cases for System Testing ..................................................................................39

CHAPTER 5: CONCLUSION AND FUTURE RECOMMENDATION ......................... 41

5.1 Result Analysis ..............................................................................................................41

5.2 Conclusion .....................................................................................................................41

5.3 Future Recommendations ..............................................................................................42

REFERENCES .................................................................................................................. 43

APPENDICES ................................................................................................................... 44

vii
LIST OF FIGURES
Figure 1: Agile Development Process ............................................................................... 13

Figure 2: Class Diagram of Hamro Sath ............................................................................ 26

Figure 3: Activity Diagram Super User ............................................................................. 27

Figure 4: Activity Diagram of Doctor ............................................................................... 28

Figure 5: Activity Diagram of Client ................................................................................. 29

Figure 6: Sequence Diagram .............................................................................................. 30


LIST OF TABLES

Table 1: Functional Requirement User Login Module ...................................................... 20

Table 2: Functional Requirement of Client and Experts ................................................... 21

Table 3: Functional Requirement of Add Blog.................................................................. 21

Table 4: Functional Requirement of Create Appointment ................................................. 22

Table 5: Functional Requirement of Meeting .................................................................... 22

Table 6: Functional Requirement of History ..................................................................... 23

Table 7: Test Case .............................................................................................................. 38

ix
LIST OF ABBREVIATIONS

Short form Full form


CSS Cascading Style Sheet
HTML Hyper Text Markup Language
OS Operating System
UI User Interface
UML Unified Modeling Language
API Application Program Interface
JSON JavaScript Object Notation
DFD Data Flow Diagram
REST Representational State Transfer
CHAPTER 1: INTRODUCTION

1.1 Introduction
The condition of telehealth in Nepal demonstrates a rising interest in remote healthcare
services, which may improve access to medical treatment while cutting expenses and travel
time. Limited internet infrastructure and low public awareness are problems. A web-based
system called Hamro Sath was created with the main goal of expediting the process of
scheduling doctor appointments and expanding access to healthcare. In addition to
facilitating doctors' registration and allowing them to provide their services to consumers,
this ground-breaking platform also enables regular users to register and benefit from
telehealth services. Data gathered through extensive questionnaires and in-depth research
served as the system's development's compass, ensuring that it meets the unique needs of
users and physicians alike. Users may easily schedule appointments and consult with
doctors remotely thanks to the integration of a chat feature, making healthcare available
from the convenience of their homes.
Additionally, Hamro Sath makes use of the gathered data to suggest physicians in similar
specialties, improving the user experience by linking them with the most qualified medical
personnel. The platform's capacity to act as a dependable and effective telehealth solution
is further strengthened by this recommendation mechanism.

1.2 Problem Statement


Amid our dynamic and fast-evolving world, a significant concern arises as individuals face
obstacles in accessing the necessary healthcare services and navigating informed decisions
regarding their well-being. Many people find themselves overwhelmed by the complexities
of the healthcare system, leading to difficulties in seeking appropriate medical guidance
for their specific health concerns. The conventional process of booking appointments with
specialized doctors often proves arduous and time-consuming, further exacerbating the
challenges of receiving timely healthcare support.

Moreover, the lack of sufficient knowledge and expertise in addressing diverse health
issues poses a serious impediment to individuals striving for a healthy lifestyle. With the
increasing prevalence of various diseases and medical conditions, the need for a
11
streamlined and convenient platform to connect with the right medical professionals
becomes ever more pressing. Additionally, as our lives become busier and more
demanding, there arises a growing concern about the impact of stress and mental well-
being on overall health. However, access to reliable resources and support for mental health
concerns remains limited, leaving individuals in search of a more accessible and empathetic
avenue for addressing their mental well-being

1.3 Objectives
The main objectives of our project are as follows:

• To promote easy access to healthcare

• To make effective patient-doctor communication

• To recommend specialized doctor

1.4 Scope and Limitations


Scope
Our application is mainly focused on telehealth. Some of the aspects of our application are
as follows:

• Providing a chat feature for seamless interactions between users and doctors.
• Implementing a feedback system for users to share their post-appointment experiences
and rate healthcare services.
• Enhancing health awareness and empowering users to make informed decisions about
their well-being.
Limitations
The major limitations of Hamro Stah are as follows:

• Doctor Only at their scheduled time will the doctor be accessible.


• No video call feature
• Services provided offline won't be amusing.

12
1.5 Development Methodology

Figure 1: Agile Development Process

Agile development practices are usually the preferred approach for mobile app
development due to the high level of complexity and uncertainty involved in most projects.
Our teams have expertise working with agile development processes, tools, and systems,
and we provide frameworks adapted to your needs. These also help to mitigate risks,
volatility, and uncertainties.[1]

To Hamro Sath, we used the agile process to create the system. With this strategy, the
project is divided into smaller, more manageable tasks known as "sprints." We
concentrated on delivering functional components throughout the course of iteration cycles
rather than finishing the full system at once.

Using the agile methodology, we worked in constant collaboration with users and
physicians to solicit feedback and make adjustments as we went. This gave us the flexibility
and adaptability to change course based on information received in real time.

We made sure that the system's features were developed sequentially utilizing the agile
technique, allowing us to address any possible concerns early in the process. In this way,

13
we were able to develop a user-friendly and successful telehealth platform that adequately
satiated the requirements of users and physicians.

1.6 Report Organization


Chapter 1: Introduction
Here, we briefly introduce our project, its existing problems, our solution to that problem,
and its scope and limitations.
Chapter 2: Background Study and Literature Review
This chapter includes project-related theories, general concepts, and a study of preexisting
similar projects.
Chapter 3: System Analysis and Design
All the documentation of actual project development activities like requirement gathering,
feasibility study modeling, and designing are included in this chapter.
Chapter 4: Implementation and Testing
In the implementation part, we define the tools used to implement our project like CASE
tools, and testing is performed for each function of the product.
Chapter 5: Conclusion and Future Recommendations
This chapter includes the conclusion and recommendations of the project.

14
CHAPTER 2: BACKGROUND OF STUDY AND
LITERATURE REVIEW

2.1 Background Study


Due to physical and geographic limitations, Nepal has difficulty providing quality
healthcare services, particularly in rural and isolated areas. Restricted access to medical
resources, medical personnel, and facilities is a recurring problem. In Nepal, telehealth is
seen to hold the key to removing obstacles to healthcare access. In order to enhance
services, the government and other organisations have realised how critical it is to use
technology into healthcare. To address healthcare concerns, telehealth programmes have
been launched by organisations including the Ministry of Health and Population and non-
governmental organisations (NGOs). Information and communication technologies (ICTs)
are frequently used in these endeavours to deliver healthcare remotely.

Infrastructure issues, such as spotty internet access in rural places, can prevent telehealth
from being widely used. Programmes for education and awareness are crucial to ensuring
that telehealth services are understood and accepted by the general public as well as
healthcare professionals. The establishment of well-defined legal and regulatory
frameworks is crucial for the effective implementation of telehealth. It is critical to address
concerns with data security, privacy, and licensure for remote health services. To provide
seamless service delivery, telehealth must be integrated with the current healthcare
systems. It is essential to collaborate with local stakeholders, community health workers,
and medical experts. Telehealth initiatives may involve the utilisation of diverse
technologies, including video conferencing, mobile applications, and remote monitoring
devices.

"Hamro Sath" aims to revolutionize healthcare access by embracing contemporary mobile


technology and making it more effective and user-centric. The platform's main goal is to
provide a seamless exchange of information between users and medical professionals,
ultimately delivering a dependable and practical online doctor appointment booking system
for the benefit of the larger community.

15
2.2 Literature review
Telehealth is a method of providing healthcare that makes use of technology to give
medical services remotely. In order to facilitate consultations, diagnoses, treatments, and
patient monitoring without requiring in-person visits to healthcare facilities, it incorporates
the use of telecommunications and digital communication tools. There are few online
health consultations in Nepal Following are some available existing systems for telehealth
service.

Using a variety of algorithms to generate precise and customised recommendations based


on user requirements and preferences is a key component of developing a doctor
recommendation system in telemedicine software. You may want to take into account the
following well-known algorithms while putting in place a physician referral system.

• Collaborative Filtering:

Concept: Provides physician recommendations based on Likert scale choices and


inclinations.

Types: collaborative filtering based on items or users.

Application: The system suggests doctors that a user who has consulted with a doctor
similar to them has consulted with.

• Content-Based Filtering

Concept: Provides physician recommendations based on the user's preferences as well as


the attributes and qualities of the doctors.

Application: Provides recommendations for physicians based on user interests, related


specializations, levels of experience, and patient feedback.

Matrix Factorization Techniques:


Concept: To identify latent components that represent the characteristics of users and
doctors, the user-doctor interaction matrix is factorized.

16
Application: To find hidden patterns in user-doctor interactions, models such as matrix
factorization or Singular Value Decomposition (SVD) might be employed.

• Decision Trees:

Concept: Utilising user input, a tree-like decision model is constructed to suggest


physicians.

Application: Provides recommendations for doctors with a particular area of specialty or


experience based on user demographics, medical history, and preferences.

• Machine Learning Classifiers:

Concept: Makes predictions about the probability that a user will select a specific
physician by using machine learning techniques.

Use case: Utilize past data to train classifiers that can anticipate user preferences and
suggest physicians based on those interests.

• Neural Networks:

Concept: Models for deep learning able to extract intricate patterns from user-doctor
interactions.

Application: Using neural networks to discover complex interactions between users and
doctors, such as recommendation models with embedding layers.

• K-Means Grouping:

Concept: Sorts physicians into groups according to specific characteristics, then suggests
physicians from each group that best suit the user's preferences.

Application: To give individualized suggestions, group doctors according to


specializations, patient testimonials, or other pertinent criteria.

• Hybrid Approaches:

Concept: Merges several recommendation strategies to improve precision and get over the
drawbacks of each one alone.

17
Use: For more reliable recommendations, combine collaborative filtering with content-
based filtering or employ a combination of collaborative filtering and machine learning
classifiers.

A doctor's recommendation system's implementation should take into account various


aspects, including user feedback, system scalability, and the dynamic nature of healthcare
data. Finding the best course of action requires testing and analyzing several methods
according to your unique use case and dataset.

i. Hamro Doctor
Hamro Doctor is an internet platform that puts healthcare at your fingertips. You can use your
smartphone or computer to make video calls or phone calls with real doctors in place of going to
the office. You can talk about your health issues, obtain medical advice, and get answers to your
inquiries concerning a variety of health topics with Hamro Doctor. It's similar to scheduling a
virtual doctor's appointment from the comfort of your home. This programme is intended to make
healthcare more practical and available, particularly for those who might live far from medical
facilities or find it challenging to visit a doctor in person. You can receive expert medical assistance
and support without having to physically travel because of it.[2]
ii. Mero Doctor

Mero Doctor is a well-known online health consultation service in Nepal that offers free
quick consultations and audio-video consultations with the help of doctor visits. Mero
Doctor's user-friendly platform offers a number of features, such as doctor appointments
and more, permitting simple connections between patients and licensed healthcare
professionals. By utilizing the power of digital technology, Mero Doctor aims to increase
healthcare's accessibility, usability, and effectiveness while guaranteeing that people all
throughout Nepal have access to first-rate medical care at their fingertips.[3]

iii. Hamro Patro Health

Integrated inside the well-known "Hamro Patro" mobile app, Hamro Patro Health is a
ground-breaking telehealth service in Nepal. By utilizing technology to deliver remote
medical treatments and support, it seeks to revolutionize healthcare accessibility for people

18
in Nepal. People can easily reach healthcare providers through their cellphones or laptops
using Hamro Patro Health and get medical consultations, advice, and assistance.

Users can speak with trained doctors and specialists over the phone or over video
conferencing, discuss their health issues, and get individualized medical advice.
Additionally, the programme enables remote monitoring of health metrics and vital signs,
allowing medical professionals to more efficiently track and treat chronic illnesses. In rural
and underserved areas of Nepal, Hamro Patro Health addresses the problems posed by
physical constraints and a lack of healthcare resources.[4]

2.3 Data Collection


Telehealth is a method of providing healthcare that makes use of technology to give
medical services remotely. In order to facilitate consultations, diagnoses, treatments, and
patient monitoring without requiring in-person visits to healthcare facilities, it incorporates
the use of telecommunications and digital communication tools. There are few online
health consultations in Nepal Following are some available existing systems for telehealth
service.

i. Primary source

Interview: For the system, we talked with our fellow teachers, family members and some
of our friends. Many of them were feeling hassle in visiting a doctor and others were
unaware about the issues that could occur due to mental instability of an individual. We
gathered all the information and implemented some of it in our project.

ii. Secondary Source

Web surfing: Different websites were part of our research. We analyzed the services they
offered and the features those websites could not address. This research helped us gain vital
information and data obtained from the research helped us significantly in the design and
development of our project.

19
CHAPTER 3: SYSTEM ANALYSIS AND DESIGN

3.1 System Analysis


3.1.1 Requirement Analysis.
System analysis and design is a process that many companies use to evaluate particular
business situations and develop ways to improve them through more optimal methods.
Companies may use this process to reshape their organization or meet business objectives
related to growth and profitability. System analysis and design also typically emphasize
how systems act, their relationships to other subsystems and the ability of both to meet a
specific goal. This often involves analyzing a system's performance and the quality of its
output.[5]

i. Functional Requirement
A Functional Requirement (FR) is a description of the service that the software must offer.
It describes a software system or its component. A function is nothing but inputs to the
software system, its behavior, and outputs. It can be a calculation, data manipulation,
business process, user interaction, or any other specific functionality which defines what
function a system is likely to perform. Functional Requirements in Software Engineering
are also called Functional Specification.[6]

Table 1: Functional Requirement User Login Module

Title Login
Admin and Users should be able to login with their username and
Description
password
Input Data username and password
Source of Login Screen
Input
Result In case of valid credentials, it should be redirected to the respective
database as per role. If credentials are not valid, they should be
redirected back to the login page with a proper error message.

Validation -

Pre-condition The username and password must be registered

20
Table 2: Functional Requirement of Client and Experts

Title Maintain Clients and experts

Description Every client and user must be maintained by a supervisor from the
backend portal where you can have his/hers all details.

Input Data email and password

Source of Register form python command


Input
Result If all the permission are validated the user can access all the data of
inputted user

Validation Email and password must be unique.

Pre-condition The logged in user must be a super user.

Table 3: Functional Requirement of Add Blog

Title Add Blog

Description Users should be able to add blogs.

Input Data Blog title, image and description

Source of Create Blog Screen


Input

Result If all the given inputs are valid, the Blog should be added to the
database and all the logged in users can view it.
If input data is not valid, the blog will not be added.

Validation title and description are mandatory whereas image is not.

Pre-condition

21
Table 4: Functional Requirement of Create Appointment

Title Create Appointment

Description Appointment can be created to any experts as they can using various
input field

Input Data Date, doctor, starttime, endtime and user

Source of Create Appointment Screen


Input

Result Client and expert should be able to view their appointments

Validation Every filed in the screen should be inserted

User must be logged in


Pre-condition

Table 5: Functional Requirement of Meeting

Title Meeting

Description Users can join chat

Input Data Chat messages

Source of Chat room


Input

Result Success message

22
Table 6: Functional Requirement of History

Title History

Description Users can view all the history of the appointments of his /hers.

Input Data

Source of History screen


Input

Result Newly created appointments of the user can be viewed.

Validation Appointments must be created by the user.

Pre-condition The logged in user must be a user and experts.

23
Use Case

ii. Non-Functional Requirement


Non-Functional Requirement (NFR) specifies the quality attribute of a software system.
They judge the software system based on Responsiveness, Usability, Security, Portability
and other non-functional standards that are critical to the success of the software system.
Example of nonfunctional requirement, “how fast does the website load?” Failing to meet
non-functional requirements can result in systems that fail to satisfy user needs. [7]

• Performance: We are training the model to correctly categorize contents with an


accuracy of more than 90%.
• Functionality: This software will deliver on the functional requirements mentioned
in the document.
• Availability: It is a Mobile based application, anyone with internet can access easily
and use this mobile application.
• Learn ability: The software is very easy to use and reduces learning work.

24
3.1.2 Requirement Analysis
A feasibility study evaluates a project's or system's practicality. As part of a feasibility
study, the objective and rational analysis of a potential business or venture is conducted to
determine its strengths and weaknesses, potential opportunities and threats, resources
required to carry out, and ultimate success prospects. Two criteria should be considered
when judging feasibility: the required cost and expected value.

i. Technical Feasibility
To develop this platform, we don’t need high performance hardware and software. Code
editor like VS code and Android studio was used.

ii. Operational
Now every individual has a smartphone or laptop and are very familiar with online
platforms hence they can easily access our platform. The interface of this platform is very
understandable and easy to use.

iii. Economic
The production cost of the project was cost effective. Hence the project should be able to
generate profit from advertising on application.

iv. Schedule
The Gantt chart will make it easier to manage time when creating the system.

25
3.2 System Design
System design is the process of designing the elements of a system such as the architecture,
modules and components, the different interfaces of those components and the data that
goes through that system.

3.2.1 Class Diagram

Figure 2: Class Diagram of Hamro Sath

26
3.2.2 Activity Diagram
i. Super Admin

Figure 3: Activity Diagram Super User

27
ii. Doctor

Figure 4: Activity Diagram of Doctor

28
iii. Client

Figure 5: Activity Diagram of Client

29
3.2.2 Sequence Diagram

Figure 6: Sequence Diagram

30
3.3 Algorithm Details
3.3.1 Cosine Algorithm
In Hamro Sath we use cosine similarity to recommend doctors to users based on their
reported symptoms. Cosine similarity is calculated using the formula: cosine_similarity =
dot_product(v1, v2) / (magnitude(v1) * magnitude(v2)). Here, v1 and v2 represent the
symptom vectors of the user and the doctor, respectively, represented as binary vectors (1
for presence, 0 for absence of symptoms). The dot_product(v1, v2) calculates the dot
product of the user and doctor symptom vectors, and magnitude(v) calculates the Euclidean
norm of vector v.

For example, if we have the following symptom vectors:

Input User Symptom Vector: [1, 1, 0] # [Fever, Cough, Headache]

Data Set Symptom Vector: [1, 0, 1] # [Cough, Fatigue, Sore Throat]

We can calculate the cosine similarity as follows:

dot_product([1, 1, 0], [1, 0, 1]) = (1 * 1) + (1 * 0) + (0 * 1) = 1

magnitude([1, 1, 0]) = sqrt((1^2) + (1^2) + (0^2)) = sqrt(2)

magnitude([1, 0, 1]) = sqrt((1^2) + (0^2) + (1^2)) = sqrt(2)

cosine_similarity = 1 / (sqrt(2) * sqrt(2)) = 1 / 2 = 0.5

In Hamro Sath, the cosine similarity score of 0.5 indicates some similarity in the reported
symptoms between the user and the doctor. By employing this algorithm, we ensure that
users are connected with doctors whose expertise aligns closely with the symptoms they
have reported, offering personalized and relevant healthcare recommendations.

31
Figure 7: Cosine Similarity

32
Chapter 4: Implementation and Testing

4.1 Implementation
4.1.1 Tools Used
Various front-end and back-end technologies are available in this era of digitalization. The
technologies used in this project are discussed briefly in the following sections.

i Front End Technologies


• HTML: HTML is the fundamental markup language used to structure and organize
the content of web pages. It consists of various elements, represented by tags that
define the structure and semantics of the page. With HTML, you can create headings,
paragraphs, lists, images, links, forms, and more. It provides the foundation for
displaying text, media, and interactive elements on the webpage, making it a crucial
technology for web development.
• CSS: CSS is a powerful styling language that complements HTML by controlling the
visual appearance and layout of web elements. It allows you to apply colors, fonts,
margins, padding, and positioning to HTML elements, ensuring a consistent and
visually appealing user interface. By separating the content from its presentation, CSS
enhances maintainability and flexibility in web design, enabling developers to create
responsive and aesthetically pleasing websites.
• Bootstrap: Bootstrap is a widely used front-end framework that simplifies and speeds
up the process of building responsive and mobile-first websites and web applications.
It provides a collection of pre-designed templates, components, and styles that
developers can use as a starting point. By leveraging Bootstrap, you can create a
consistent and professional-looking user interface without investing significant time
in custom design. The framework's responsive grid system ensures that the layout
adapts seamlessly to different screen sizes, making the application accessible across
various devices.
ii Back End Technologies
• Django (Python): Django served as the core of the backend, offering a powerful and
efficient framework for building web applications. With Django, I seamlessly
managed URL routing, request handling, and database operations. The framework's
33
built-in functionalities, such as ORM (Object-Relational Mapping), simplified data
manipulation and retrieval, allowing me to interact with the SQLite database
effortlessly.
• SQLite: SQLite was the database engine chosen for the project, which comes as the
default database provided by Django. As a lightweight, serverless, and self-contained
database, SQLite proved to be a suitable choice for the development phase. It
effectively stored data related to user information, appointment records, and blogs in
a simple and straightforward manner.
• ASGI: In this project, we employed ASGI (Asynchronous Server Gateway Interface)
to handle server communication. ASGI replaced the traditional WSGI (Web Server
Gateway Interface) and was specifically designed to support asynchronous
applications. By utilizing ASGI, the backend application could efficiently manage
concurrent connections, leading to improved performance and responsiveness.

Through the use of Django as the primary backend technology and SQLite as the database
engine, "Hamro Sath" achieved a well-structured and efficient backend architecture. The
combination of Django's powerful features and SQLite's simplicity ensured smooth data
management and seamless operation of the Online Doctor Appointment Booking System.
Additionally, adopting ASGI for server communication contributed to the application's
performance optimization, making it well-suited to handle real-time operations and
asynchronous tasks.

4.1.2 Implementation Details of Modules


The different implementation of modules are:

i User Module

The User Module in "Hamro Sath" - the Online Doctor Appointment Booking System,
plays a vital role in providing a secure and personalized user experience. Through the
registration screen, users can easily create their accounts by supplying essential details like
username, email address, and password. To enhance security, the module employs the
SHA-256 hashing algorithm to securely store passwords, adding an extra layer of
protection to user credentials. During the registration process, users are prompted to specify
their user type, selecting from three options: Doctor, Super user, or Normal User, based on
34
their respective roles and privileges within the platform. Upon successful registration, users
can log in using their designated credentials. The login process verifies the entered
username and password, granting access only to authenticated users. Depending on their
user type, individuals are redirected to personalized dashboards tailored to their specific
needs.

For users categorized as Doctors, the platform provides a specialized dashboard that allows
medical professionals to efficiently manage their appointments, access patient information,
and respond to appointment requests. Super users, characterized as administrative users,
gain access to a comprehensive admin dashboard, empowering them to oversee and
maintain the user database, manage appointments, and configure system settings. Normal
Users, representing regular users seeking medical consultations, can browse through
available doctors, review their profiles and specialties, and conveniently schedule
appointments to meet their preferences. The User Module prioritizes the security of user
data, employing robust encryption mechanisms to store user information safely in the
database. The use of SHA-256 hashing ensures that passwords remain encrypted,
significantly reducing the risk of unauthorized access to sensitive information. With a
seamless registration and login process tailored to different user types, "Hamro Sath"
ensures a safe and personalized experience for all users, establishing a strong foundation
for efficient communication and appointment booking within the platform.

ii Appointment Module

The Appointment Module in "Hamro Sath" plays a pivotal role in facilitating the booking
of appointments between users and doctors based on their respective availabilities. Users
can access their personalized dashboards to set their preferred days and time slots for
consultations, ensuring that the appointment booking process aligns seamlessly with their
schedule. Similarly, doctors can specify their working hours and availability within the
platform, allowing users to book appointments at times when the doctors are accessible.
This synchronized approach minimizes the likelihood of appointment conflicts and
enhances the overall efficiency of the system.

35
To book an appointment, users can browse through the list of available doctors, considering
their specialties and availability. Upon selecting a preferred doctor, users can view the time
slots that match both their own and the doctor's availability. Once a suitable time slot is
identified, users can confirm the appointment request, prompting the system to verify the
availability of the doctor at the chosen time. Following successful verification, users
receive appointment confirmation notifications containing the appointment details, while
doctors are also informed of the newly booked appointments to ensure preparedness for the
scheduled consultations. The Appointment Module further offers the flexibility to
reschedule or cancel appointments, if necessary, with appropriate notifications sent to both
users and doctors. By considering both user and doctor availability and implementing
conflict checks, "Hamro Sath" establishes an organized and efficient appointment
management system, optimizing the interaction between users and medical professionals.

iii Feedback Module

The Feedback Module in "Hamro Sath" serves as a valuable tool for users to share their
post-appointment experiences with doctors. After a successful consultation, users are given
the opportunity to provide feedback, enabling them to rate the overall experience and offer
written comments and suggestions. The module incorporates a rating system that allows
users to assign numerical or star ratings to doctors, helping other users make informed
decisions when selecting healthcare providers. This anonymous feedback option
encourages users to share honest opinions without any reservation, promoting transparency
and openness in the feedback process. Additionally, doctors can respond to user feedback,
fostering a two-way communication channel and showcasing their commitment to patient
satisfaction and care.

The collected feedback plays a crucial role in continuously improving the quality of
healthcare services offered on the platform. Platform administrators and doctors can
analyze the feedback data to identify areas of excellence and areas requiring improvement.
By leveraging user insights, "Hamro Sath" aims to enhance its offerings, ensuring a patient-
centered approach to healthcare delivery. The Feedback Module strengthens trust and user
satisfaction, contributing to a dynamic and responsive environment where users' voices are
36
heard and valued, ultimately leading to a platform that consistently delivers top-notch
healthcare services.

iv Chat Module

The Chat Module in "Hamro Sath" harnesses the power of Django Channels to enable real-
time communication between users and doctors during their scheduled appointment times.
This innovative feature enhances the overall user experience by providing direct and instant
access to medical advice and assistance. Users can engage in text-based conversations with
doctors, discussing their health concerns, seeking medical advice, and receiving prompt
responses. The module seamlessly integrates into the appointment booking system,
offering users direct access to the chat feature during their scheduled appointment times,
streamlining the communication process and facilitating easy connectivity with their
assigned doctors. The Chat Module also maintains the context of the appointment session,
ensuring doctors have access to relevant information from previous interactions, enabling
them to provide personalized and continuous care, even across multiple sessions.
Furthermore, users with appointments with different medical professionals can
concurrently communicate with multiple doctors through the Chat Module, offering
flexibility for those seeking consultations with specialists from various medical fields. By
providing real-time, secure, and efficient communication, "Hamro Sath" ensures that users
can benefit from immediate medical guidance and support, creating a patient-centric
platform for personalized and responsive medical consultations, all from the comfort of
their own homes.

37
4.2 Testing
4.2.1 Test Cases for Unit Testing
Table 7: Test Case

Test Test Scenario Test Case Test Data Expected Actual Pass/
Case Result Result Fail
ID
T1 Test Login Check loginemail and Redirect to As Pass
Functionality with valid datapassword Home page Expected

T2 Test Login Check login email and Shows error As Pass


Functionality with invalid password message Expected
data
T3 Test Create Creating date, end time, startAppointmen t As Pass
appointment appointment time, created Expected
user detail, doctor, successfully
report, description

T4 Verify verifying theappointment id verified As Pass


appointment appointment if successfully Expected
it is
appropriate
T5 Create chat if the is verified created As Pass
appointment is successfully Expected
verified
meeting link is
created
T6 cancel can cancel meeting id, canceled As Pass
appointment appointment ifappointment id successfully Expected
needed
T7 create blog can create title, created As Pass
blog description, image successfully Expected

38
T8 view history user and appointment detailshistory As Pass
doctor both screen Expected
can view
appointment
history

4.2.2 Test Cases for System Testing


In the context of "Hamro Sath" - the Online Doctor Appointment Booking System, the
software undergoes comprehensive system testing to ensure its reliability and efficiency.
The following tests are conducted to validate and assess the performance, security, and
portability of the software:

i. Functionality Testing: This testing phase evaluates all the functionalities of the
"Hamro Sath" software, verifying that each feature aligns with the specified
requirements. The system is rigorously tested to ensure that users can seamlessly book
appointments with doctors, access relevant medical information, and communicate
effectively through the real-time chat module. Functionality testing guarantees that the
software performs as intended and provides a smooth user experience across all
aspects of appointment booking and management.
ii. Performance Testing: To determine the efficiency of the software, performance
testing is conducted. This test evaluates the effectiveness and average time taken by
the system to execute various tasks. Load testing and stress testing are employed to
assess the software's responsiveness under high user and data load across different
environmental conditions. The objective is to ensure that "Hamro Sath" can handle
multiple simultaneous users and maintain optimal performance without compromising
speed and responsiveness.
iii. Security & Portability Testing: As "Hamro Sath" is intended to operate on various
platforms and serve a multitude of users, security and portability testing are crucial
components. The software is assessed for its ability to maintain data security and
privacy during user interactions, ensuring that sensitive medical information remains
protected. Additionally, portability testing validates the compatibility of the
application with different devices and operating systems, guaranteeing a seamless user
experience regardless of the platform used.

39
Through rigorous system testing, "Hamro Sath" aims to validate its functionality,
performance, security, and portability aspects, ensuring a reliable and efficient platform for
users and doctors alike. This testing process is integral to delivering a high-quality and
dependable online appointment booking system that meets the needs and expectations of
all stakeholders involved.

40
CHAPTER 5: CONCLUSION AND FUTURE
RECOMMENDATION

5.1 Result Analysis


During the development of "Hamro Sath," we acquired valuable insights into the intricacies
of frontend and backend technologies. The frontend, which constitutes the client-side
technology, involved working with essential components such as HTML, CSS, JavaScript,
and Bootstrap. These technologies were responsible for crafting the user interface that
individuals interacted with on the web application. On the other hand, the backend, serving
as the application-side technology, was powered by Python and Django. Django facilitated
the implementation of various system functionalities and features, catering to user requests
and interactions.

Throughout the project, we delved into the interplay between frontend and backend
technologies, gaining a deep understanding of their seamless integration to create a
cohesive and user-friendly web application. By leveraging Django, we successfully
developed the backend logic, ensuring smooth data processing, user authentication, and
database management. On the frontend, HTML and CSS were used to structure and style
the web pages, while JavaScript added interactivity and enhanced user experience with
dynamic content updates. Bootstrap played a vital role in achieving a responsive and
visually appealing design, adapting seamlessly to different screen sizes and devices.

Overall, the development of "Hamro Sath" enabled us to grasp various concepts of web
application development and become proficient in utilizing the technologies like Django,
HTMX, CSS, Bootstrap, HTML, and JavaScript. This project provided us with practical
experience in employing these tools and methodologies, empowering us to create an
efficient and user-centric web platform for scheduling appointments with medical
professionals, ultimately catering to the healthcare needs of our users.

5.2 Conclusion
"Hamro Sath" is a web-based doctor appointment booking system that provides a user-
friendly platform for scheduling appointments with medical experts. The application aims
to facilitate seamless interactions between users and doctors, streamlining the process of
41
seeking healthcare guidance and support. Throughout the development journey, our focus
remained on creating a reliable and efficient user experience, allowing users to easily
connect with medical professionals and access essential services for their health and well-
being. The platform caters to individuals seeking expert assistance across various medical
fields, providing a convenient and accessible solution for managing their health concerns.
With features like real-time chat and appointment scheduling, "Hamro Sath" ensures a
smooth and responsive user interface, empowering users to book appointments with
doctors of their choice and receive timely medical consultations, ultimately contributing to
a healthier and more informed lifestyle.

5.3 Future Recommendations


"Hamro Sath" is a web-based doctor appointment booking system that provides a user-
friendly platform for scheduling appointments with medical experts. The application aims
to facilitate seamless interactions between users and doctors, streamlining the process of
seeking healthcare guidance and support. Throughout the development journey, our focus
remained on creating a reliable and efficient user experience, allowing users to easily
connect with medical professionals and access essential services for their health and well-
being. The platform caters to individuals seeking expert assistance across various medical
fields, providing a convenient and accessible solution for managing their health concerns.
With features like real-time chat and appointment scheduling, "Hamro Sath" ensures a
smooth and responsive user interface, empowering users to book appointments with
doctors of their choice and receive timely medical consultations, ultimately contributing to
a healthier and more informed lifestyle.

42
REFERENCES
[1] Christie, T. (nod). Django rest framework. Home - Django REST framework.
Retrieved July 17, 2022, from https://www.django-rest-framework.org/

[2] Using zoom apis. zoomvideocommunications. (nod). Retrieved August 1, 2022,


from https://marketplace.zoom.us/docs/api-reference/using-zoom-apis/

[3] https://happyminds.com/ [Accessed 7/21/2022]

[4] https://www.ylnepalq.com/ [Accessed 8/2/2022]

[5] https://www.tutorialspoint.com/ [Accessed 8/2/2022]

43
APPENDICES

Figure 8: Recommendation Page

44
Figure 9: Registration Page

Figure 10: Appointment Booking form

45
Figure 11: Feedback Form

Figure 12: Appointment list

46
Figure 13: Chatbot of Client and Doctor

47

You might also like