Professional Documents
Culture Documents
Development of A Smart Mental Health Support System - 498R
Development of A Smart Mental Health Support System - 498R
Development of A Smart Mental Health Support System - 498R
Support
Authors: Nazmul Hassan[1]
Affiliations: north south university[1]
Orcid ids: 0000-0001-6116-017X[1]
Contact e-mail: iam.najib16@gmail.com
License information: This work has been published open access under Creative Commons Attribution License
http://creativecommons.org/licenses/by/4.0/, which permits unrestricted use, distribution, and reproduction in any
medium, provided the original work is properly cited. Conditions, terms of use and publishing policy can be found at
https://www.scienceopen.com/.
Preprint statement: This article is a preprint and has not been peer-reviewed, under consideration and submitted to
ScienceOpen Preprints for open peer review.
DOI: 10.14293/S2199-1006.1.SOR-.PPND4JU.v1
Preprint first posted online: 08 March 2023
Keywords: depression, anxiety, tension, stress, mental health support, smart system, mHealth, web application,
therapist
Development of a
Smart Mental Health Support System
IoT based system for Smart Mental Health Support
Abstract— we know that many people suffer from when suffering from mental illness without having an in-
depression, anxiety, stress, hypertension, and many more person visit. This system provided both audio and video
mental illnesses in this pandemic situation. As a result, the communication with voice and text message facilities. In this
condition of their mental health is getting bad to worse. Covid-19 situation, this web application will be helpful to an
However, very few of them can consult a psychiatrist, enormous amount of people as they can take the service from
therapist, or professional who'll guide them properly to get rid anywhere anytime and avoid the unwanted crowd.
of their problems. Keeping that in mind, we came up with an
idea to build an intelligent web app that will help people Most commonly known as an app, a web application is a
suffering from mental health but not consult a software intended to operate on a mobile device, such as a
doctor/psychiatrist. This system allows professionals to check smartphone or tablet computer. These apps typically function
and follow up on their patients from remote areas. Both to give users comparable features to those available on PCs
patients and professionals can communicate through audio, [1]. It is a collection of demand-side and supply scripts that
video, voice, and text messages. Users, as a patient, can also manage how data is saved, retrieved, and shown to the user
directly search for professional psychiatrists/ doctors or [2].
consultants and request appointments through the app to get
guidelines. Professionals can check patients' history, review Mental health is vital for a healthy and prosperous life;
appointments, accept them, schedule them, and provide however, mental health problems do not typically get
guidelines for improvement. Patients will also have the facility appropriate scientific attention and are not treated as a severe
to get a quick in-app therapy to improve their mindset if they public health concern in Bangladesh.
feel they're not okay, which includes breathing exercise, some
cardio exercise, a short audio clip on a motivational story, and
a feature that will allow expressing user's hidden thoughts or
II. LITERATURE REVIEW
some words they can share with our live chat agent. This Mental healthcare in Bangladesh is tremendously poor
system can play a significant role in the life of the people who due to a shortage of public mental health services, shortage
are introverts, shy from sharing their mental health issues, and of competent mental health practitioners, poor financial
the people who don't have the opportunity to consult a mental resource distribution, and social stigma. The lack of
health professional from their position directly. The overall intelligent management reinforces these deficiencies to
system has been tested in a lab environment to ensure the best implement appropriate mental health policies [3].
user experience, including a very user-friendly interface. It Considering little documentation of the mental disease cases
shows more efficiency in its service to help people countrywide and problems in improving mental healthcare, there's not
who are suffering from mental illness. been a good and detailed analysis of the country's present
mental health situation nationally. The first nationwide
Keywords— depression; anxiety; tension; stress; mental
health support; smart system; mHealth; web application; video survey on the mental health of adults in Bangladesh was
calls; audio call; voice message; physiatrist; therapist; payment done in 2003–2005 [3]. Then another survey was conducted
gateway, twilio in 2018-2019 [4]. The table below shows the rate of adults
who suffer from mental health-related problems [4].
I. INTRODUCTION 1974 2005 2019
An intelligent system is always effective in creating a All Adults 31.4% 16.1% 18.7%
platform where professionals can help and provide services
to their clients remotely with the blessing of technology. Men Not reported 12.9% 12.5%
Using the smart mental health support system, a professional Women Not reported 19.0% 18.8%
can ensure all the benefits. It includes maintaining
appointments, daily check-up, regular follow-up, providing
advice and guidelines, and almost everything a person needs
Table 1: Rate of suffering from mental health-related their physical health because mental health problems can
issues among adults cause physical conditions and lead to unhealthy habits [17].
The COVID-19 has impacted negatively on the mental Considering all of these factors, we can say an intelligent
health of the Bangladeshi people. One research has indicated mental health support app can play a vital role for people
that the prevalence of depression (57.9 %), stress (59.7 %), who are not directly consulted with any mental health
and anxiety (33.7 %) symptoms in the adult population is professionals. People of all races can easily use this
currently substantially greater than pre-pandemic rates [5]. intelligent application anytime and from anywhere whenever
Some other analyses showed that 28.5 %, 33.3 %, and 46.92 they feel the necessity of mental health support or counseling
% of home-quarantined kids suffered from stress, anxiety, from a professional regarding their hidden mental health-
and depressed symptoms accordingly [6]. related problem that is almost impossible for many of them
to share with anyone. This application presents a valuable
Of about 7000 students each year from medical colleges contribution to boosting the availability and quality of mental
around the nation, only a handful prefer to study psychiatry health care services. By providing proper guidelines and total
[7]. Psychiatrists, psychiatric nurses, and clinical follow-up by experts, this system ensures patients' problems.
psychologists conduct any Mental health support programs
with almost no interdisciplinary interaction. It is difficult for Mental health apps encompass all phases of medical
rural communities to get psychiatrists and other mental healthcare, including emergency case management,
health support providers [8]. Mental health care is frequently prevention, diagnosis, supportive care, a complement to in-
confined to a divisional tertiary level when psychiatrists person therapy, and after-treatment follow-up and
operate at public medical college hospitals situated inside management [18]. Mobile applications are a suitable option
cities. With just 260 psychiatrists serving a nation of 162 for psychological therapy distribution than the other
million, most of the population cannot get mental health platforms because of (I) freedom of habit, (II) less effort
treatments [9]. The limited public care facilities for mentally expectation, and (III) strong behavioral motive [19].
ill patients present all over the nation are highly stressed in
terms of financial and human resources. There is now just The world has already realized the necessity of an
one national-level mental health institution in the country, innovative mental health support system, especially the
the National Institute of Mental Health (NIMH), in Dhaka developed countries. There are already some renowned apps
[10]. that are used by people all over the world. Some of the apps
have a good review of their service and support system and
As Bangladesh is still an underdeveloped country with a user experience. Especially the western and European
vast population, there is insufficient funding for mental countries have introduced some of this system to the world,
health service-related sectors. Mental health expenses by the and they have successfully implemented such services to
Bangladeshi government are 0.44 % of the overall healthcare help their patients nationwide.
budget [11]. Very few medical professionals in Bangladesh
are specialized in delivering mental health treatments (0.49 What's up is an excellent free app that employs Cognitive
%), and there are even fewer psychiatrists [9]. Most of these Behavioural Therapy (CBT) and Acceptance Commitment
experts operate in the metropolitan areas of the nation. Therapy (ACT) approaches to help users manage their
Approximately 62 % of the professionals, including Depression, Anxiety, Stress, and more. There is a positive
psychologists, counselors, health workers, and therapists, and negative habit tracker to preserve users' excellent
work for the government. Of mental health facilities, 26 % behaviors and break unproductive ones [20].
work for NGOs or in private sectors, and 12 % work for MoodKit employs the basis of Cognitive Behavioural
public and remote areas. The allocation of human resources Therapy (CBT) and offers users over 200 different mood
between city and rural areas of the country is unequal [12, enhancement exercises. Developed by two clinical
13]. The number of mental health professionals in the city psychologists, MoodKit helps users understand how to
areas is almost five times larger than the number of improve their thinking and build self-awareness and positive
professions operating in the rest of the nation [3]. But not influence [21].
only the urban people suffer from mental health-related
issues, but people all over the country, including rural areas, MindShift is one of the most significant mental health
suffer from the same problem. Current research across applications built exclusively for kids and young people with
university students indicated a substantial relationship anxiety. Rather than attempting to escape anxious sensations,
between students' self-observed physical health problems and Mind Shift highlights the significance of altering how you
feelings of depression and anxiety [14]. Another mental think about worry [22].
health problem sufferer class of Bangladesh includes gender- SAM could be excellent for a user if they're interested in
based violence. Nearly 60 % of the married women in self-help but not interested in meditating. Users are invited to
Bangladesh reported abuse from a sexual and physical develop their 24-hour anxiety toolbox to monitor anxious
intimate partner, a subject that stays unacknowledged by the thoughts and behavior over time and learn 25 various self-
government. Almost nothing is said about violence against help tactics [23].
unmarried female teens [15]. Domestic violence, dowry-
related acid assaults, rape, forced abortion, and trafficking IMoodJournal may be used to record anything from
for prostitution are frequent gender-based abuse concerns, mood and symptoms, to sleep, medicines, and energy cycles.
and these victims frequently suffer from psychological By registering these many aspects, users can examine their
problems [16]. This group of people is the most helpless as everyday sentiments using summary charts revealing their
most of them cannot share their issues without consulting stress levels peak and decline [24].
with any mental health professionals. As a result, they keep eMoods is a mood monitoring tool intended exclusively
suffering from mental illness, which is alarming and affects for persons with bipolar illness. Throughout the day, users
may monitor depressed and psychotic symptoms, heightened application. For the backend, we've used Django, which is a
mood, and irritability and estimate the severity of their high-level Python web framework.
symptoms. Users may then examine their mood fluctuations
on a color-coded monthly calendar and generate a monthly 3.1 Block Diagram
summary report to discover critical triggers and better
understand their shifting moods [25].
Happify app, with its psychologist-approved mood-
training program, fast-tracks to a pleasant mood of its users.
Users may attempt numerous entertaining games, exercise
ideas, thankfulness prompts, and more to train their brain as
if it were a muscle, to fight negative thoughts [26].
MoodTools seeks to help persons with clinical depression
by facilitating the journey to recovery. Discover helpful
movies that may improve your mood and behavior, track and
analyze your thoughts using Cognitive Behavioural Therapy
(CBT) principles, construct a suicide safety plan, and more
with this free app [27].
nOCD was established with the cooperation of OCD
doctors and patients to include two treatments: mindfulness Figure 1: Block diagram of the intelligent mental health
and Exposure Response Prevention Treatment. Users may support system
get rapid, clinically-supported assistance when an OCD
episode occurs, complete weekly tests to measure the Fig. 1 shows the block diagram for the intelligent mental
severity of their OCD, and have motivational support along health support system. The principal parts and functions are
the way. One user considers nOCD "a free therapist in your represented in the block diagram. Users have to register to
pocket!" [28]. the app, and if they're an existing user, they can directly log
in. After logging in user will take a quick therapy session
PTSD Coach is designed by the VA's National Center for guided by the app, which includes breathing exercises, some
Post-Traumatic Stress Disorder (PTSD), includes everything cardio exercises, a short audio clip on a motivational story,
from a self-assessment for PTSD to chances to find support, and a feature that will allow expressing user's hidden
positive self-talk, and anger control. What's fantastic about thoughts or some words they can share with our live chat
this software is that users can modify tools depending on agent. Users can also directly search for professional
their specific requirements and tastes and incorporate users' psychiatrists/ doctors or consultants and request
contacts, photographs, and music [29]. appointments through the app to get guidelines. Professionals
can review appointments, accept them, schedule them and
Moner Bondhu is a platform to offer support for mental
provide guidelines for improvement. Users can apply for
health and well-being service. We have their present activity
both online or in-person sessions with professionals. For both
in three industries. 1) offering care and support to mental
online and in-person sessions, the user will get a receipt for
distress through hotline numbers, online and offline therapy
payment. Users will have the facility to choose a payment
assistance. 2) conducting seminars and training on stress
method, online (debit/credit/mobile finance) or in person.
management, awareness development on mental healthcare,
Admin will have access to all the databases, Fix
etc. 3) presenting 'Amar Moner Kotha,' a weekly radio
appointments (approve/deny), check user details, add/delete
program on Color's FM 101.6 devoted to promoting topics
data, monitor the sessions details and report from the
on mental healthcare [30]
professionals.
Calm is a fantastic app gradually being considered one of
3.2 Entity Relationship Diagram
the best mental wellness applications available. Calm
supports those facing stress and anxiety with guided
meditations, sleep tales, breathing routines, and calming
music [31].
III. METHODOLOGY
Twilio's APIs (Application Programming Interfaces)
enable its system for communications. Behind these APIs is
a software layer linking and enhancing communications
networks throughout the web to allow clients to contact
through audio and video calls and messages with anybody
worldwide [32]. For the payment gateway, we've used the
SSLCOMMERZ API. SSLCOMMERZ is a payment
gateway in Bangladesh offering services for businesses to
collect payments online. Customers of these companies will
be able to pay online using their credit/debit cards, internet Figure 2: Entity Relationship diagram of the smart mental
banking, and mobile financial services [33]. For the front end health support system
of the app, we have used XML and java. SQL and PHP with
The ER diagram is a conceptual schema with many tables
laravel are used for databases and connecting them with the
and columns represented by entities and attributes having a
relationship and one primary key, shown in Fig. 2. It portraits
the structure of the existing system database. Here the
entities are user, login, register, admin, therapy session,
payment, in person, online, appointment, doctor. The 3.4 Use Case Diagram
relationship: take, do, with, do1, search, make, check data,
make. The primary keys are name, ID, RID, name, PID,
time, ID, OID, Anum, Dname.
4.2.3.2 Communication
Communication is the primary and critical feature of our
application. Users can communicate with professionals by
text message or voice message (shown in Fig. 9) and voice
call and video call (shown in Fig. 10). For smooth and
uninterrupted communication from both ends, we have used
the Twilio API. It allows all the online appointments and
sessions to run smoothly. Users can experience and get the
online consultancy very quickly by using the applications
communication facilities anytime and from anywhere, which
is one of the core facilities and goals of the system.
Figure 15: Performance record Figure 17: UI for the request of appointment to the
professionals
Figure 20: Doctor profile
Figure 18: Appointment history page
4.2.5 Admin User Interface
Admin will have access to almost all the features of the
system. Admin will be able to fix appointments manually,
check on the user details, including patient and professionals,
add/delete/verify data, monitor sessions and check the report
from the professionals, and edit payment-related issues. The
admin will manage user data from the administration panel
interface. The admin UI is shown in Fig. 21
REFERENCES
[1] Techopedia. (2020, August 7). What is a mobile application? -
definition from Techopedia. Retrieved November 10, 2021, from
https://www.techopedia.com/definition/2953/mobile-application-
mobile-app.
[2] What is a web app? Educative. (n.d.). Retrieved November 10, 2021,
from https://www.educative.io/edpresso/what-is-a-web-app.
[3] Islam, A., & Biswas, T. (2015, June 25). Mental health and the health
system in Bangladesh: Situation analysis of a neglected domain.
American Journal of Psychiatry and Neuroscience. Retrieved
November 10, 2021, from
https://www.sciencepublishinggroup.com/journal/paperinfo.aspx?jour
nalid=653&doi=10.11648%2Fj.ajpn.20150304.11.
[4] Nimh Fact Sheet - who. (n.d.). Retrieved November 10, 2021, from
https://www.who.int/docs/default-source/searo/bangladesh/pdf-
reports/cat-2/nimh-fact-sheet-5-11-19.pdf?sfvrsn=3e62d4b0_2.
[5] Islam, A., & Biswas, T. (2015, June 25). Mental health and the health
system in Bangladesh: Situation analysis of a neglected domain.
American Journal of Psychiatry and Neuroscience. Retrieved
November 10, 2021, from
https://www.sciencepublishinggroup.com/journal/paperinfo.aspx?jour
nalid=653&doi=10.11648%2Fj.ajpn.20150304.11.
[6] Khan, A. H., Sultana, M. S., Hossain, S., Hasan, M. T., Ahmed, H.
U., & Sikder, M. T. (2020, August 7). The impact of covid-19
pandemic on Mental Health & Wellbeing among home-quarantined
Bangladeshi students: A cross-sectional pilot study. Journal of
Affective Disorders. Retrieved November 10, 2021, from
https://www.sciencedirect.com/science/article/pii/S016503272032588
X?via%3Dihub.
[7] Mental health system - world health organization. (n.d.). Retrieved
November 10, 2021, from
https://www.who.int/mental_health/uttarkhand_who_aims_report.pdf
?ua=1.
Figure 22: Payment Gateway. [8] Nuri, N. N., Sarker, M., Ahmed, H. U., Hossain, M. D., Beiersmann,
C., & Jahn, A. (2018, July 18). Pathways to care of patients with
mental health problems in Bangladesh. International Journal of
V. CONCLUSION Mental Health Systems. Retrieved November 10, 2021, from
https://ijmhs.biomedcentral.com/articles/10.1186/s13033-018-0218-y.
There is currently little research for mental health
[9] Bangladesh who special initiative for mental health ... (n.d.).
applications that promise remedies for depression, anxiety, Retrieved November 10, 2021, from
stress, and mental disorder-related issues in Bangladesh. The https://cdn.who.int/media/docs/default-source/mental-health/special-
smart mental health support system that is presented in this initiative/who-special-initiative-country-report---bangladesh---
paper can help in numerous ways to improve this problem. It 2020_f746e0ca-8099-4d00-b126-
can initially allow more doctors/psychiatrists to be involved fa338a06ca6e.pdf?sfvrsn=c2122a0e_7.
in the investigation. A centralized database may be [10] Mental health and psychosocial aspects of Disaster Preparedness in
Bangladesh. Taylor & Francis. (n.d.). Retrieved November 13, 2021,
developed in which doctors, psychiatrists and researchers can from
provide information and statistics on the use of mental health https://www.tandfonline.com/doi/full/10.1080/09540260601037896.
applications by adopting a defined process on which this [11] Alam, F., Hossain, R., Ahmed, H. U., Alam, M. T., Sarkar, M., &
research is based. A database of mental health information Halbreich, U. (2020, December 10). Stressors and mental health in
would provide an ever-growing knowledge base for doctors, bangladesh: Current situation and future hopes: Bjpsych International.
therapists, researchers, government agencies, and academic Cambridge Core. Retrieved November 13, 2021, from
https://doi.org/10.1192/bji.2020.57.
institutions. This system can be updated and be more
[12] Islam, A., & Biswas, T. (2015, April 22). Bangladesh Health System
decorative in the future with the involvement of both and the Millennium Development Goals: Strategic Policy Options for
sustained progress in maternal and child health. European Journal of [20] WE PUT YOUR WELLBEING TEAM INTO YOUR PEOPLE'S
Preventive Medicine. Retrieved November 13, 2021, from POCKETS. mysite. (n.d.). Retrieved November 13, 2021, from
http://article.sciencepublishinggroup.com/html/10.11648.j.ejpm.2015 https://www.thewhatsupapp.co.uk/.
0303.15.html. [21] Help improve your mood with the wisdom and guidance of MoodKit
[13] Islam, A., & Biswas, T. (2014, November 14). Health System in at your fingertips! Thriveport. (n.d.). Retrieved November 13, 2021,
Bangladesh: Challenges and opportunities. American Journal of from https://www.thriveport.com/products/moodkit/.
Health Research. Retrieved November 13, 2021, from [22] Mindshift. KQED. (n.d.). Retrieved November 13, 2021, from
http://www.sciencepublishinggroup.com/journal/paperinfo.aspx?journ https://www.kqed.org/mindshift.
alid=656&doi=10.11648%2Fj.ajhr.20140206.18.
[23] Mind garden technology. Mind Garden Technology. (n.d.). Retrieved
[14] Hossain, S., Anjum, A., Hasan, M. T., Uddin, M. E., Hossain, M. S., November 13, 2021, from http://sam-app.org.uk/
& Sikder, M. T. (2019, December 1). Self-perception of physical
[24] All about imoodjournal. iMoodJournal. (n.d.). Retrieved November
health conditions and its association with depression and anxiety
13, 2021, from https://www.imoodjournal.com/.
among Bangladeshi University students. Journal of Affective
Disorders. Retrieved November 13, 2021, from [25] Yottaram, L. L. C. (n.d.). Track your moods, improve your wellbeing.
https://www.sciencedirect.com/science/article/abs/pii/S016503271931 eMoods. Retrieved November 13, 2021, from
2881?via%3Dihub. https://emoodtracker.com/.
[15] R. T. Naved, N. A. Rimi, S. Jahan, and G. Lindmark, "Paramedic- [26] Overcome negative thoughts, stress & life's challenges! happify.com.
conducted Mental Health Counselling for Abused Women in Rural (n.d.). Retrieved November 13, 2021, from
Bangladesh: An Evaluation from the Perspective of Participants," J https://www.happify.com/.
Health Popul Nutr, vol. 27, no. 4, pp. 477–491, Sep. 2009. Available: [27] Feeling sad or depressed? lift your mood with free, evidence-based
https://doi.org/10.3329/jhpn.v27i4.3391 tools. MoodTools. (n.d.). Retrieved November 13, 2021, from
[16] Hossain, Kazi Tobarak, Md Sumon, and Saidur Rashid. "Violence https://www.moodtools.org/.
against Women: Nature, Causes, and Dimensions in Contemporary [28] Online OCD treatment & therapy: OCD counseling help & support by
Bangladesh." Bangladesh e-Journal of Sociology 10.1 (2013). licensed OCD therapists. Online OCD Treatment & Therapy | OCD
[17] Ohrnberger, J., Fichera, E., & Sutton, M. (2017, November 8). The Counseling Help & Support by Licensed OCD Therapists. (n.d.).
relationship between physical and mental health: A mediation Retrieved November 13, 2021, from https://www.treatmyocd.com/.
analysis. Social Science & Medicine. Retrieved November 13, 2021, [29] PTSD, N. C. for. (n.d.). Welcome to PTSD coach online.tools to help
from you manage stress. PTSD Coach Online home. Retrieved November
https://www.sciencedirect.com/science/article/pii/S027795361730663 13, 2021, from
9. https://www.ptsd.va.gov/apps/ptsdcoachonline/default.htm#.
[18] Price, M., Yuen, E. K., Goetter, E. M., Herbert, J. D., Forman, E. M., [30] Home. Moner Bondhu - A psycho social mental health support center.
Acierno, R., & Ruggiero, K. J. (2013, August 5). MHealth: A (2021, November 6). Retrieved November 13, 2021, from
mechanism to deliver more accessible, more effective mental health https://www.monerbondhu.org/.
care. Wiley Online Library. Retrieved November 13, 2021, from [31] Experience calm. Calm. (n.d.). Retrieved November 13, 2021, from
https://onlinelibrary.wiley.com/doi/10.1002/cpp.1855. https://www.calm.com/.
[19] East1, M. L., Havard3*, B. C., Services, 1E. C., & East, C. A. M. L. [32] Twilio docs: API reference, tutorials, and Integration. Twilio. (n.d.).
(n.d.). Mental Health Mobile Apps: From infusion to diffusion in the Retrieved November 13, 2021, from https://www.twilio.com/docs.
Mental Health Social System. JMIR Mental Health. Retrieved
November 13, 2021, from https://mental.jmir.org/2015/1/e10. [33] Integrate API | developers | SSLCOMMERZ. (n.d.). Retrieved
November 13, 2021, from https://developer.sslcommerz.com/doc/v4/.