Professional Documents
Culture Documents
Antony Mwaniki Kuru Final Project Documentation 19 May PDF
Antony Mwaniki Kuru Final Project Documentation 19 May PDF
PROJECT TITLE:
AFYAMEDEX; E-MENTAL HEALTH SYSTEM FOR MENTAL HEALTHCARE
SERVICES AND TREATMENT.
SUBMITTED BY
REG.NO: C025-01-1122/2016
SUPERVISOR
I declare that this work has not been previously submitted and approved for the award of a
degree by this or any other University. To the best of my knowledge and belief, this proposal
contains no material previously published or written by another person except where due
reference is made in the proposal itself.
Student
Sign……...………………
Date……...………………
Supervisor
This proposal document has been submitted with my approval as the university supervisor.
Sign………………………
Date………………………
I acknowledge my parents and friends for their support during this time as they have made it
possible to still do the research necessary for the project.
I also acknowledge my supervisor, Mr. Patrick Gikunda for his guidance and continuous
support throughout the project. The university should also be recognized for giving this
opportunity to do this project and trying to adapt to the current circumstances under which the
projects will be done.
ABSTRACT
There are many people with mental health conditions and they encounter challenges
while accessing mental healthcare services. Thus, difficulties acquiring tests, diagnosis and
treatments to manage mental health conditions. In Kenya, e-mental health systems have not
been mostly included in the existing mental healthcare systems and utilized to deliver mental
healthcare services to people. Due to lack of enough medical professionals and facilities that
offer healthcare services people find it time consuming and strenuous searching and locating
doctors or hospitals, booking appointments manual is time consuming and requires a lot of
resources as there is no support or assistance by an e-mental health system.
Afyamedex will connect and link users to healthcare services needed for their mental
conditions anywhere and anytime. The system will connect users with available
facilities/hospitals and specialized doctors for respective diagnoses, tests, and treatments thus
making it easy to identify and select doctors or facilities based on their specialization. The
system will facilitate users to make appointments such as therapy sessions and book tests
needed. It will provide a support group where users can share, talk and communicate with
other people about their conditions. It will also help users to easily access relevant information
and data about a mental condition therefore support and instant guidance on the various
mental illness and their associated diagnoses, tests and treatments like teletherapy.
There are different types of mental illnesses or disorders in which everyone has a risk
of developing irrespective of their gender, age, or ethnicity they include: anxiety disorders,
psychotic disorders, substance abuse disorders, personality disorders and mood disorders such
as bipolar disorder or depression.
There are various ways of diagnosing whether a person is suffering from a mental
disorder.
Treatment of mental illness depends on a patient’s mental disorder and the state in
which they are in thus specific treatment plans for each patient.
World Health Organization has determined that there is a burden of mental health
disorders worldwide and there is no adequate response by health systems. These have resulted
in a gap between treatments needed and the provision of mental healthcare. In low – and
middle-income countries about 76% to 85% of people with mental conditions or illness
receive no treatment for their illness.
729 million people lived with mental health disorder which is about 10.7% of people globally
(Roser, 2018)
In Kenya the government statistics indicate at one point, one in every four Kenyans
suffers from a mental disorder in their lives which reflects about 11.5 million people. There
few medical personnel and facilities capable of handling the diagnosis and treatment of these
mental issues. This impacts the accessibility and availability of mental health care to mentally
ill patients. (Kanyoro, 2020)
In Kenya it is estimated there about 12 million people living with mental disorders.
Nairobi has the highest numbers among all the forty-seven counties in the country with 20,
353 reported cases of hospital visit due mental illness. A survey by KNBS- Kenya National
Bureau of statistics which was released in December 2019 reported that about 104,615 cases
of mental disorders were handled in Kenyan’s hospitals. (Mwangi, 2020)
People spend a lot of time searching for doctors and hospitals/facilities providing mental
healthcare that is getting their particular locations and getting approval as their patients it is
rough and time-consuming. Booking test needed and making appointment’s also poses a
challenge. Also, treatment of these illnesses for example one-on-one therapy and group
therapy is not easily accessible. Avenues of acquiring relevant information about mental
disorders and forums to ask questions, raise issues and the support needed in the management
of these conditions are not easy to find and access.
Many medical applications for smart phones have been developed and widely used by
health professionals and patients. The use of these applications is very helpful because it leads
to better communication between doctors and patients and help to enhance the overall
treatment quality. Healthcare information systems gives support and deliver healthcare
services meeting the health needs of their user thus health improvement.
E-mental health systems include mobile application and web-based systems which
addresses the diagnosis and treatment gap in mental health. The e-mental health systems use
and leverage the internet and technologies such as web sites, social media, and smartphone
applications to deliver mental health services to people with mental conditions and illnesses so
as they can access treatments and manage their conditions. Some of the services they deliver
include:
• They provide relevant information and data about mental health illnesses or
conditions, their diagnosis, and treatments.
• Treatment; e-mental systems deliver treatment to patients these include online
counselling and therapy.
• They facilitate users to identify, connect and link with licensed, certified and
experienced mental health professionals for examples psychologists and facilities
based on their underlying conditions.
Therefore, the study will help identify challenges that people face in the access of mental
healthcare and a potential system that will be the potential solution to these challenges. Thus,
developing Afyamedex; e-mental health system will have a great impact in mental healthcare
delivery and access, contributing to a healthy people.
1.4 Objectives
1.5 Justification
As a result of the challenges people with mental conditions face accessing mental
healthcare services in the country, I conducted a research to determine the possible solutions
to these problems thus developing a mobile web-application to be a potential solution to the
problems that people face.
The system will ensure timely access to healthcare for people with mental disorders,
and ensure that the right patients get the right care and treatment, at the right time, and in the
right setting. This will be achieved as the system will: enable patients/users to access,
identify and select mental health facilities and doctors available. The system will also provide
relevant information needed and provide a support group for patients. Also, it will enable
patients to book tests and make appointments needed thus getting access to test, diagnosis
and treatment they require to manage their conditions.
The research also contributed in the gathering of requirements for the system from the
intended users.
1.6 Scope
It involves development of e-mental health mobile web application that will improve
accessibility to mental healthcare services provide.
Intended users for the system are people with mental conditions, medical
professionals and facilities/hospitals offering mental health services.
Medical professionals such as therapists and hospitals will be able to register and
provide mental healthcare services like online counselling also providing information on
mental conditions. People with mental conditions will be able to access a listing of medical
professionals/hospitals registered, book appointments for tests or treatment. Counselling of
patients will be facilitated through online counselling. Also provided with a support group
where people can communicate and share about their mental conditions.
1.7 Limitation
These systems are easily accessible and cost effective, show evidence-based benefits
for patients with mild-to moderate symptoms, used to distribute information and coordinate
mental healthcare services. E-mental healthcare systems are chosen according to conditions
and symptoms of a persons, and the level of e-literacy, self-reliance and openness of person
with a mental disorder. (Rubies, 2020)
The following case studies constitute of e-mental health systems that is mobile
applications and web-based system. These systems were identified, studied, analysed, and
documented. As a result of information and data from the case studies, I came up with a
summary and research gaps.
A user can choose to voice messages, video chat, or text with a therapist one to two
times a day. The user is matched with a therapist when they first download the app based on
their preferences and specific situations. The app comes with different affordable plans to
choose from, and anyone can start with a free consultation!
Talkspace was app was designed to offer quality level therapy services that will guide
their patients on the routes that they ought to combat the way to improve their mental state
and lead a better life.
Talkspace is only limited to online therapy which may be inconvenient for some
people as their various disadvantages to online therapy for like in times of distress people
may feel less emotionally intimate and less comforted due to lack of physical presence. Also
lacks to provide a support group where users can share and talk with other people with
similar conditions. Afyamedex will provide the option of also making appointments for in-
person therapy sessions and support group that is a discussion forum for users.
Big White Wall is a community application where people suffering from different
mental health illnesses come together, share and talk about their challenges or problems with
support from trained doctors or therapists according to (Top 10 Mental Health Apps, 2020).
Big White Wall its application is commissioned by over I50 organizations globally,
they are an online service that facilitates access to millions of people with mental issues
such as anxiety and depression (About us, 2020). The app a peer-to-peer community offers
anonymous conversation which can scale to any population clinically managed and
designed to support people 24/7 by trained medical practitioners The application is
comprised of the following feature:
• Self-monitoring where users can do self- assessment test. There is also a range of self-
administered clinical tests, guides, and tips to improve wellbeing, including articles on
self-esteem, sleep, relationships, and many more as stated by my health apps website
(Big White Wall, n.d.)
• Discussions boards and support group modules where users can create pictures or
images to express their feelings or using adds and words in the community wall. This
facilitates users to connect with people like having similar conditions or friends and
family.
Users can also register for online therapy courses covering issues like anxiety attacks and
sessions to manage their conditions by signing up for teletherapy for example via audio or
instant messaging with experienced therapist and therapist.
The services that the application provide have an active forum with a 24/7
support forum professionals who are trained and vetted. Where these services can be
accessed via smartphones, laptops, or computers with internet services.
The users can talk or share anonymously with other members and participate in a one-
to-one or group therapy with a therapist.
The application is for everyone wanting to manage and improve their mental health
from anyone aged 16 and above. Users can express themselves freely and openly as it is
completely anonymous. After creating an account at their website one can download an
application for their apple or android smartphones
Their professionals such as the therapist they are at all times online to provide
support and moderate services. According to ---95% Big White Wall members feel better
after using Big white wall and 73% share an issue for the first time according to (Big White
Wall, 2020).
TalkLife application is a that tracks the global youth mental health crisis as it is a
social network. TalkLife application creates an environment that encourages youth to become
transparent with their struggles in an accepting and positive environment, shining light on
taboo topics such as depression, self-harm, and suicide (TalkLife, 2020).
TalkLife application is safe where one can openly talk and share about anything such
as mental health, self-harm, depression, a relationship, or a bad break up with no judgments.
moreover, it is anonymous and sharing is optional.
TalkLife is caring community of thousands of people is waiting to talk, listen, and help
you feel a little less lonely as it offers community support similar to group therapy according
to (Doyle, 2019)
As stated by common sense media (Anderson, 2020) to use the TalkLife application a
user needs reads the introduction information after which one can sign up with email, Google
or Facebook then enter their detail such as gender. after singing in one can choose where to
use the app to give help, get help, or both and also select trigger warnings that filter content
based on age, topic, or most viewed/recent posts. Users can read or enter comments and
responses. Also, users can click on need help link in the application account section where
there contacts available for emergency intervention
• The user for the first time is required to answer questions about themselves and the
challenges they are facing.
• The next step is to create a private password and username to access the application
and web system.
• Then choose a payment option and enter payment information where one can also
apply for financial support.
• Based on the needs of the user the platform matches the user with a verified and
certified professional counsellor, of which you can switch the match if you are
satisfied with your matched counsellor/ therapist.
• Start the therapy or counselling process which has different options such as video,
text, or calls. And also, via web-based interaction
They also have a support team that provides answers to user’s questions, provide
guidance, and resolves users’ problems.
BetterHelp offers teletherapy and online counselling which is may not be convenient
for some people. Also lacks to provide an online support group, discussion board, or forum
where users can communicate with each other, talk, or share with other users with similar
conditions. Afyamedex will provide a support group for users to share, talk or communicate
with each other and also facilitate booking and making appointments for in-person therapy or
counselling.
2.2 Summary
Talk Space, Big white wall, Talk Life, and Better Help e-mental health systems
are online platforms which deliver mental healthcare to people with mental conditions.
Facilitating people with mental conditions to access services, treatment and support to
manage their conditions. Below is a summary of the services they facilitate of provide;
Medical professionals or facilities listing and profiles so as patients can identify and
connect with a doctor or hospital based on their conditions and location. The listing of
different medical professionals or facilities will help users make informed choices.
Provides online counselling and therapy enabling users to consult with medical
professionals like therapists via various modes which will include text, video, or voice
consultations.
Support group or discussion forum where users can share, talk, and communicate
with other patients. Like a group therapy but on an online platform which will be anonymous
to create a safe space or a community where users can feel to share and talk about mental
health illness or related issues.
CHAPTER THREE
3.1 METHODOLOGY
3.1.1 Introduction
This section comprises of the procedures and techniques used in the research of a
study, that’s is outlining the various ways in which the research it to undertaken and the
methods used. Defining the modes and means of data collection where the data collection
methods will aid the collection and identification of the user’s requirements. Also outlines
software development procedures, and data processing and analysis.
The fact-finding methods will aid in the collection of user’s requirements form the
targeted group of people. The data collection techniques to be used to collect data and
information from the intended users of the systems include the following taking into
consideration the current Covid-19 situation:
Observation
Conduct observation of people with mental health conditions and all aspects of mental
health services available to diagnose, treat and manage mental health conditions. I made these
observations; people with mental health conditions in Kenya have no access to a platform
such as a support group or a discussion forum where they can share, talk and communicate
anonymously about their conditions; no safe space to share their challenges, feelings or other
related issues which is free of judgment.
Interviews
The target group will be interviewed in-person or remotely. Due to the more
elaborate and specific questions asked during interviews I was able to collect compressive
data and information thus more detailed user requirements.
Questionnaire
I used a questionnaire to collect data and gather information. Both closed and open-
ended questionnaires were used. These questionnaires were made available through google
forms and email to enable gathering data and information.
Collect data from existing sources such as the internet, articles, books, journals, and books.
This data and information were gathered from previous researches done and then
analysed for my research.
The following are the basis for deciding on using prototyping in the development of
Afyamedex:
• User active involvement and quick feedback early in the project thus leading to better
solutions.
• Missing functionalities and errors are identified and detected easily.
• Reduced development effort and time as developers and users understand the system
better.
• A close match to user real needs or requirements as users are involved actively in the
development of the system.
• It also improves conflict resolutions as there is constant communication between
developers and users.
Using prototype method, the developer of the system can get an “actual feel” of the
system, the developer interaction with the prototype can enable he/she better understand the
requirements of the desired system
The prototyping method is used to create a base to produce the final system as required.
• Build a prototype: - design the actual prototype and develop the initial prototype
which only include user interfaces.
• Initial user evaluation: - The user is presented with the proposed system evaluates it
by finding strengths and weakness then gives feedback in form or suggestions or
comments.
• Refining the prototype: - make changes as suggested and review the prototype.
I will design the Afyamedex mobile web-based application as per the requirements I gathered
from the users. The layout and design will be user-friendly.
• Data Collection; gather the data required using methods such as questionnaires
• Data Analysis; use various data analysis techniques to interpret the data and derive
conclusions.
• Communication to the results or the data analysis using data visualization techniques
like pie charts or tables
The data for my research will be gathered through interview, observation and
existing resources from the secondary collection such as articles will be processed
and analysed.
Chapter 4: System analysis and Design
4.1 Introduction
This section consists of the analysis and design of the Afyamedex. Discussed below
are the system requirements which provide the functional and Non-functional requirements of
the System. The design of the system is outlined going into details about the features and
operations of the systems
This are the process the system will perform. They include the following:
• Enable users to register to an account and login using their credentials this
consist of patients, medical professionals and institutions.
• Provide information about mental conditions and their corresponding
symptoms and treatments.
• Facilitate users with mental health condition to view a listing of available
medical professionals and institutions.
• Enable patients to choose a medical professional based on their specialization.
If the proposed System will be implemented, one will need an internet-enabled device
to enable to access services provided and storage of data.
Security and control over the data is necessary in creating an application. This is to
minimize the threat of unauthorized access.
From my observation;
People with mental health conditions in Kenya have no access to a platform such as a
support group or a discussion forum where they can share, talk and communicate
anonymously about their conditions; no safe space to share their challenges, feelings, or other
related issues which are free of judgment. From my data about 84% of mental health patients
have no access to support groups or forums, about 10% have access but not all the time and
the rest 6% are not confident about sharing and talking as the existing platforms are not
anonymous or their judgment from other people.
4.3.3.1 Figure 3
4.4 Questionnaire Analysis
Below if the data collected from the questionnaire I used, out of the response to the
questions that I had prepared.
o The objective of the question is to determine the accessibility of information about mental conditions.
Figure 4.4.1
no yes maybe
The below question was focused on determining number of people with mental
conditions
Figure 4.4.2
yes no
This question was meant to find out the use of mobile applications or web-based
systems to access mental health services. Below is a comparison of people who use e-
mental health systems and those who don’t.
Figure
4.4.3
COMPARISON
90
80
70
60
50
40
30
20
10
0
NO Yes
Reading in %
• Can you get access to relevant information and data about mental conditions or
illness and their corresponding diagnosis, test, and treatments?
• How can you get access to a listing of available and certified mental health
professionals such as psychologists and facilities or hospitals based on their
specialization?
• How and where to make appointments with mental healthcare professionals? •
How and where to book diagnosis and tests for mental health condition to
determine your status?
• Do you know a support group or discussion forum where you can share, talk,
or communicate with other people about mental health conditions and related
issues?
• Do you know a mobile application or web-based system offering mental health
care services?
• Can you make an appointment using your phone with mental healthcare
provider?
4.5.1 Table 1
Diagram below shows the actors and the use cases and the relationship between the
them. It is a diagrammatical representation of how the admin, patients, medical professionals
and institutions will interact with the System in order to make the Afyamedex efficient,
reliable, and affordable.
Actors Below is a list of actors who will interact with the system:
• Admin
• Patient
• Medical professionals
• Institutions/hospitals
4.6.1.1 Figure
4.6.2 Data flow diagrams
Level 1
Star
Input login
details
DATABASE
4.6.4 Context diagram
Medical
Patient
professional
Medical professional
Information.
response request
Database
4.6.6 ENTITY RELATIONSHIP DIAGRAM
Medical
Patient
professional
SYSTEM
User full name User full name
Username Username
Generate reports
Registers Registers
Gives online
counselling
Introduction
The focus of this chapter is to substantiate the e-mental health system quality by investigating and
examining the progress of the system using a group of activities, that is systematically subjecting the
system to defined procedures in a controlled environment to provide information about the quality and
actual performance levels of the system. This will enable to determine whether the system is usable.
5.1: Testing
Software testing is the method to check whether the actual software product matches expected
requirements that’s is verify and validate the software to confirm that it meets expected user needs and
specifications, ensuring it is free of errors. Functional tests and non-functional tests were used to
determine that the system looks and behaves as expected.
Unit testing
Software testing method where individual units or components of a software are tested. That is a
testing method in which individual software modules or components are tested to determine where there
are any issues. Unit testing is concerned that each component or module is functioning correctly by
identifying, analysing and fixing errors/defects.
This includes ensuring a successful user log in for authorized uses, entering the property details as
well as modifying them
Integration testing
This is the process of testing the interface between two software units or module. After each unit is
thoroughly tested, it is integrated with other units to create modules or components that are designed to
perform specific tasks or activities. These are then tested as group through integration testing to ensure
whole segments of an application behave as expected.
By using this test, I verified that individual modules integrated were able to work together and their
interactions seamless.
After user’s registration details, booking of appointments were reflected in the database.
Table 2. Integration Testing Data
System Testing
This method was used to evaluate the completed and integrated system, as a whole, to
ensure it meets specified requirements. The functionality of the software is tested from end-to-
end to confirm that the whole system meets the requirement specifications expected. Table 3:
System Testing Data
Test Test Area Expected Actual
Results Results
System testing Entire The system The system was
system meeting all the able to meet all
objectives the objectives
proposed. that had been
proposed
Acceptance Testing:
Acceptance testing was done deploying and delivery of the system to assess whether or not
the final system was ready. It involved ensuring that the product is in compliance with all of the
original business model and that it meets the end user’s needs. This required the product be tested
by end users. The tests result included understandability, memorability and ease of use.
1. Full name 2.
Email
3. Username
4. Gender
5. birthday
6. Password
7. Confirm Password
Test procedure - Enter the required inputs then click the submit button
Expected results; after filling the required fields with the correct inputs, the new user has to choose how
to use the application either as patient, medical professional or an institution. If the new users fill in the
required fields with the wrong inputs error messages are displayed to notify the user to fill in the correct
details so as to register.
Example when user enters a password that is less than 8 alphanumerical characters an error massage is
displayed that’s “Too short” thus the new users must meet the required password standard to
successfully register as a user.
This test was carried out to verify that the user’s login page was functioning as expected.
At the bottom of the page there is a “forgot password” option where the user can use to reset password.
inputs include; username and password which were inputted during registration necessary
to authenticate user
Test procedure - Enter the username and password then click the submit button.
Expected results - The user logs in on entering correct username and password. Actual
results - If the user details are correct, the user logs in, otherwise he/she is denied access to
the system during login.
Test procedure: clicks the menu tabs at the upper left-hand side of the home page
window, to display various activities.
Required inputs:
• Subject
• Date
• Time
• Appointment type
• duration
Test procedure: click the back button to view the home page
Click the tabs on the upper left corner to display various activities and select my appointments to
check the booked appointments.
The application is meant to be used by the general public; it requires minimal to no training at all for
a first-time user as the application is easy to use.
Maintenance
The fact that the application is using a newly introduced platform in the field of IT, the application
will regularly be updated to support the new releases and libraries that will updated so as to work more
efficiently and also to provide additional features in the future that are useful to this domain.
Once an admin is authenticated to the system, they land on the dashboard. On this page the
user is able to see the most recent activities that have taken place in the system. Figure below shows a
screenshot of the dashboard.
The administrators will be able to see all users registered on the application. They can be able to
disable or enable the registered users. These users are registered directly from the mobile web
application.
Administrator Reports panel
Condition posts.
This page shows the mental conditions information posted by medical professionals. The
administrator is able to disable or enable a condition posted.
Implementation
The tools which were used for development included visual basic code for developing the
web application, text editor for the web application, visual paradigm for designing the UML
diagrams. I involved the users as well as my supervisor throughout the process which helped
increase the likelihood of user acceptance of the final implementation product.
CHAPTER SIX: CONCLUSION, LIMITATIONS AND RECOMMENDATION
6.1 Conclusion
In conclusion, during the start of the project, the main aim was to develop an e-mental
health system that improves accessibility of mental healthcare services provided for treatment
and management of mental health conditions. By providing information on mental conditions,
facilitating an easy way of booking appointments, online supports group for people with
mental conditions, treatment of mental conditions through talk therapy or online counselling
and enabling payments for services provided.
A research was conducted and e-mental health system; Afyamedex mobile web
application and web-based system was developed. the system enables patients/users to access,
identify and select mental health facilities and doctors available. The system also provides
relevant information needed and provide a support group for patients. Also, it enables patients
to book tests and make appointments needed thus getting access to test, diagnosis and
treatment they require to manage their conditions. Therefore, I declare the systems achieves
its purpose.
6.2 Limitations.
The various challenges or limitations faced during the research and development of my
project include:
Unreliable internet access. The project required extensive research which more than often
involved use of the school internet which was not really reliable. Also, the project required internet
connectivity so as to perform its operations as expected.
Uncooperative respondents during data collection. Some didn’t want to answer questions
while others were reluctant in providing some information required for the research. This hampered
the data collection process.
Challenges in adapting to new changes and updates in the programming ide used. This is with
regards to the platform used. Android studio generally has a number of updates to which require
time a reliable internet speed to accomplish the required update.
Covid-19 pandemic also had a negative impact during this exercise.
6.3 Recommendation
There are many people with mental conditions, and they face challenges while accessing mental
healthcare services provide by mental healthcare professionals or facilities. Booking of appointments for
treatment, tests or diagnosis have been done manual for a long time since most mental healthcare provides
do not use or leverage e-mental health systems such Afyamedex.
I recommend mental healthcare providers to adopt technologies such e-mental health systems as E-
mental health systems are an increasingly important factor for the treatment of mental disorders include
applications and web-based systems that address the treatment and diagnosis gap in mental health. These
systems use technologies such as websites and smartphones with support of the internet to deliver mental
healthcare to people with mental disorders in time therefore easy access to services they require to treat and
manage their conditions.
The use of these applications is very helpful because it leads to better communication
between doctors and patients and help to enhance the overall treatment quality. Healthcare
information systems gives support and deliver healthcare services meeting the health needs of
their user thus health improvement.
Future researchers may add the following to their future research work:
To create a platform incorporating all the mental healthcare services on one platform.
A consistent module which will be tracking the patient’s treatment progress over time
and self monitoring where users can do self- assessment test.
Also create a module where there is a range of self-administered clinical tests, guides and tips to
improve wellbeing.
References
about. (2020). Retrieved from better help: https://www.betterhelp.com/about/
https://www.commonsensemedia.org/app-reviews/talklife
http://myhealthapps.net/app/details/323/big-white-wall
Doyle, A. (2019, October 22). the Best Depression Apps 2020. Retrieved from Healthline:
https://www.healthline.com/health/depression/top-iphone-android-apps#talklife
Hintze, G. (2017, august 19). 8 Online Alternatives That Are Cheaper Than Traditional In-Person Therapy.
the Might. Retrieved from the might: https://themighty.com/2017/08/affordableonline-
therapy-cheap/
Kanyoro, D. K. (2020). The State of Mental Health in Kenya. Retrieved from university of Nairobi research:
https://uonresearch.org/vvc/article/the-state-of-mental-health-in-kenya/
https://medlineplus.gov/mentaldisorders.html
Mwangi, V. (2020, January 8). ten counties most affected by mental illness in Kenya. Retrieved from
soko directory: https://sokodirectory.com/2020/01/ten-counties-
mostaffectedbymentalillness-in-kenya/
Pros and Cons of Mental Health App. (2019, April 7). Retrieved from Transformations:
https://www.mytransformations.com/post/pros-and-cons-of-mental-health-apps
Roser, H. R. (2018, April). Mental Health. Retrieved from Our World in Data:
https://ourworldindata.org/mental-health
Rubies, G. (2020, January 1). E-mental health applications for depression: an evidence-based ethical
analysis. Retrieved from springer link: https://link.springer.com/article/10.1007/s0040601901093-
y#citeas
APPENDEX
4.1 User requirements
RAM 4GB
MongoDB
COST(Ksh)
PER UNIT (Ksh)
Duration in moths
Project
identification
Proposal
writing
Proposal
presentation
Data collection
Data analysis
Project design
Implementation
Testing
Documentation
Presentation
Sample codes.
Singin page:
import React, { useEffect } from
'react';
import { IonButton, IonContent, IonPage, IonRow, IonCol, IonText, IonRouterLink,
IonItem, IonLabel, IonInput, useIonViewDidEnter, useIonViewWillLeave } from
'@ionic/react'; import { Formik, Form } from "formik"; import * as Yup from "yup";
import { signIn } from '../http/users'; import { useAppContext } from '../lib/context-
lib'; import { useHistory } from 'react-router'; import useToastManager from
'../lib/toast-hook'; import FormFieldFeedback from '../components/FormFieldFeedback';
import { setObject } from '../lib/storage'; import { STORAGE_KEY, USER } from
'../http/constants'; import useMounted from "../lib/mounted-hook";
const loginSchema = Yup.object({ username:
Yup.string().required("Enter your username."),
password: Yup.string().required("Enter your password.")
}); const SignIn: React.FC = () => { const {
setCurrentUser } = useAppContext() as any; const
history = useHistory(); const { onError } =
useToastManager();
const { isMounted, setMounted } = useMounted();
const handleSubmit = async (values: any, { setSubmitting }: any) =>
{ try {
const { data } = await signIn(values.username.trim(), values.password);
isMounted && setSubmitting(false);
if (data.accountType) {
history.push("/app");
} else {
history.push("/account-type"); }
} catch (error) { isMounted
&& setSubmitting(false);
onError(error.message);
}
}; useEffect(() => () =>
setMounted(false));
return (
<IonPage>
<IonContent fullscreen>
<IonRow className="h100">
<IonCol className="ion-align-self-center">
<IonText className="ion-text-center">
<h1>Sign In</h1>
</IonText> <Formik
validationSchema={loginSchema}
onSubmit={handleSubmit}
initialValues={{}}
>{({
handleChange,
handleBlur,
errors, touched,
isValid,
isSubmitting
}: any) => (
<Form noValidate>
<IonItem className={touched.username && errors.username ? "haserror"
: ""}>
<IonLabel position="floating">Username</IonLabel>
<IonInput name="username" type="text" onIonChange={handleChange} onIo
nBlur={handleBlur} />
</IonItem>
<FormFieldFeedback {...{ errors, touched, fieldName: "username" }} />
<IonItem className={touched.password && errors.password ? "haserror"
: ""}>
<IonLabel position="floating">Password</IonLabel>
<IonInput name="password" type="password" onIonChange={handleChange}
onIonBlur={handleBlur} />
</IonItem>
<FormFieldFeedback {...{ errors, touched, fieldName: "password" }} />
<IonRow>
<IonCol>
<IonButton color="secondary" expand="block" type="submit" disabled=
{!isValid || isSubmitting}>{isSubmitting ? "Submitting..." : "Submit"}</IonButton>
</IonCol>
</IonRow>
</Form>
)}</Formik>
<IonText className="ion-text-center">
<p>
<IonRouterLink href="/reset-password">Forgot password?</IonRouterLink>
</p>
<p className="ion-no-margin">
Don't have an account? <IonRouterLink href="/signup">Sign
up</IonRouterLink>
</p>
</IonText>
</IonCol>
</IonRow>
</IonContent>
</IonPage>
);
}; export default
SignIn;
QUESTIONNAIRE
AFYAMEDEX QUESTIONNAIRE.
This survey is part of the BSc BIT fourth-year project on the e-mental health system. If you wish to
stop completing the survey at any time, please feel free to do so.
Directions.
We are interested in your views about mental health and mental healthcare services. Please read
each question carefully and indicate your response by selecting the most appropriate choice.
How did you book for the tests or diagnosis? (Tick to apply)
At hospital/facility manually
Mobile application
Website
YES □ NO □
If yes are they able to access mental healthcare services? YES □ NO □. Indicate how
4. Can you access a list and details of the available hospitals or facilities offering mental healthcare services at
given location?
YES □ NO □
YES □ NO □
YES □ NO □
Mobile application
Website
8. Do you know or use a mobile application or web-based system that offers the following mental healthcare
services? Complete the table by filling in yes or no.