# Specification Document
## 1. Introduction
### Project Overview
Applying the results of my master's thesis in a real-world application as part of my first research paper.
### Purpose of the Document
This document will serve as my documentation and technical markdown about the development of this project.
## 2. Project Scope
### Objectives
- Create a mental health monitoring system for hospital patients with NLP capabilities.
- Include entertainment and spiritual content to serve as a hub for all the patients.
### Stakeholders
- Omar Embarki
- Supervisor: Merim Alaifa
## 3. Functional Requirements
### Client Side
- Login and Logout
- Sentiment and adding comments
- Chat with a chatbot to assess the emergency level
- Random facts and Quran verses to keep the religious side up
- Emergency call button
### Admin Side
- Patient management
- By-patient comment management
- By-patient chatbot messaging assessment
- Emergency listener
- Emergency history and response status
### User Stories or Use Cases
#### Client Side
- As a patient, I want to log in and log out securely so that my information is protected.
- As a patient, I want to add comments and receive sentiment analysis so that I can monitor my mental health.
- As a patient, I want to chat with a chatbot to assess my emergency level and receive immediate assistance if needed.
- As a patient, I want to receive random facts and Quran verses to maintain my spiritual well-being.
- As a patient, I want to have access to an emergency call button so that I can get help quickly in critical situations.
#### Admin Side
- As an admin, I want to manage patient information so that all data is up to date and accurate.
- As an admin, I want to manage comments by patients to monitor and respond to their needs.
- As an admin, I want to assess chatbot messages by patients to evaluate the urgency of their situation.
- As an admin, I want to listen to emergency calls and track their history and response status to ensure tim …