SMART MEDICAL SOLUTION
BY
AMAN FERDOUS APU ID: 161-15-6985
AND
FAHIMATUL ISLAM ID: 161-15-7105
This Report Presented in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Computer Science and Engineering
Supervised By
Mr. Majidur Rahman
LecturerDepartment of CSE
Daffodil International University
DAFFODIL INTERNATIONAL UNIVERSITY
DHAKA, BANGLADESH
05 DECEMBER 2019
ACKNOWLEDGEMENT
First we express our heartiest thanks and gratefulness to almighty God for His divine blessing makes us possible to complete the final year project/internship successfully.
We really grateful and wish our profound our indebtedness to Supervisor Mr. Majidur Rahman (Lecturer). Department of CSE Daffodil International University , Dhaka. Deep Knowledge & keen interest of our supervisor in the field of BSc in CSE Program to carry out this project. His endless patience ,scholarly guidance ,continual encouragement , constant and energetic supervision, constructive criticism , valuable advice ,reading many inferior draft and correcting them at all stage have made it possible to complete this project.
We would like to express our heartiest gratitude to Dr. Syed Akhter Hossain Head, Department of CSE, for his kind help to finish our project and also to other faculty member and the staff of CSE department of Daffodil International University.
We would like to thank our entire course mate in Daffodil International University, who took part in this discuss while completing the course work.
Finally, we must acknowledge with due respect the constant support and patients of our parents
ABSTRACT
This is an Android based project. There are many medical relatable applications but they are not as complete as ours. There are many types of applications that only sell medicines online and there are many who can go to the online site through the application. But there is no other application like us, because we are unique. We have two parts in the application and doctors and patients. With the help of our application, the patient can make an appointment to any doctor of his choice and the patient can see the doctor's profile. The patient will know the doctor's time and location. This allows the patient to know about any doctor he may need and to make an appointment without having to suffer. This will reduce patient time and suffering. There is another feature which is the ambulance service. With this, the patient can receive his services at the urgent moment.
Again, the doctor can easily find the patient without any problem. In addition, if the doctor has his own ambulance, he can add it or if he has a known ambulance. Here the patient can also add an ambulance that is known to himself, which will benefit the people of the food as well. So we think that this is a very effective application that will benefit both the patient and the doctor. As a result, our medical sector will further improve.
TABLE OF CONTENTS
CONTENTS PAGE
Board of examiners i
Declaration ii
Acknowledgements iii
Abstract iv
CHAPTER
CHAPTER 01: INTRODUCTION 1-6
1.1 Project Introduction 1
1.2 Motivation 2
1.3 Objectives 2
1.4 Expected Outcome 3
CHAPTER 02: BACKGROUND
4-5
2.1 Introduction 4
2.2 Related Work 4
2.3 My Project Work 2.4 Comparative Studies 2.5 Scope of Problems
4 5 5 2.6 Challenges
CHAPTER 03: REQUIREMENT SPECIFICATION
6-173.1 Requirement Collection and Analysis 6
3.2 Functional Requirement 6
3.3 Non-Functional Requirement 3.4 Login process
3.5 Use Case
6 7 8
3.6 Logical Data Model 9
3.7 Design Requirements 9
3.8 Application Photo 10
CHAPTER 04: DESIGN SPECIFICATION
18-304.1 Implementation Requirement 18
4.2 Android Studio 18
4.3 Android SDK 18
4.4 Java Development Kit (JDK)
18 4.5 Android Virtual Device (AVD)
19
4.6 Interaction Design and UX 19
4.7 Code and Data base 20-30
CHAPTER 05: IMPLEMENTATION AND TESTING
31-32 5.1 Implementation of Database
5.2 Testing
5.3 Implementation of Front-end Design 5.4 Implementation of java and XML code
5.5 Testing Implementation
CHAPTER 06: CONCLUSION AND FUTURE SCOP
33 6.1 Conclusion6.2 Scope for Future Developments
APPENDIX
REFERENCES
LIST OF FIGURES
FIGURES PAGE
Figure: 3.4.1: patients login 7
Figure: 3.4.2: Doctors login 8
Figure: 3.5.1: Use case diagram Figure: 3.8.4: Patients login Figure: 3.8.5: Doctors Login
Figure 4.7.1: Ambulance & Appointment Figure 4.7.2: Categories & Users
9 11-14 15-17 20 21 Figure 4.7.3: Android XML file & Android .Java file
Figure 4.7.4: FireStore Repository & Ambulance.Java Figure 4.7.5: Appointment & Multiple Item
Figure 4.7.6: Resources & Specialty Figure 4.7.7 Status & User.java Figure 5.4: ER Diagram.
22 23-26 27-28 29 30 32
CHAPTER 1 INTRODUCTION
1.1 Project Introduction
This is an Android based project. There are many medical relatable applications but they are not as complete as ours. There are many types of applications that only sell medicines online and there are many who can go to the online site through the application. But there is no other application like us, because we are unique. We have two parts in the application and doctors and patients. With the help of our application, the patient can make an appointment to any doctor of his choice and the patient can see the doctor's profile. The patient will know the doctor's time and location. This allows the patient to know about any doctor he may need and to make an appointment without having to suffer. This will reduce patient time and suffering. There is another feature which is the ambulance service. With this, the patient can receive his services at the urgent moment.
Again, the doctor can easily find the patient without any problem. In addition, if the doctor has his own ambulance, he can add it or if he has a known ambulance. Here the patient can also add an ambulance that is known to himself, which will benefit the people of the food as well. So we think that this is a very effective application that will benefit both the patient and the doctor. As a result, our medical sector will further improve.
1.2 Motivation
There is no application like us because we are unique. Most of the applications are using medicine and other problem but in our application we are working with patient and doctors. Here doctors can create their own profile where doctors will update their regular activities like where is the chamber and visiting time etc. Patients will also create their own profile and get any specialist doctor’s appointment. There is also another feature which is ambulance service. Here doctors and patients will able to add their known ambulance name and contacts. So patients will able to know any information about any famous doctor and get their appointment without any problem and they can save their time and money. By this ambulance service doctors will able to know about their patient and if they have any ambulance then they can give service to the people. This reduced the suffering of the common people.
1.3 Objectives
We have used some android tools. They are:- 1. Play service.
2. Google map.
3. Firebase authentication.
4. SDK authentication.
database we are used Firebase store and OTP authentication.
1.4 Expected Outcome
You will be able to know about any famous doctor and their appointment and also their visiting times and visiting places.
will get ambulance service, where emergency services will be available at the moment of emergency
Doctor will get information about their patients.
New doctors, in particular, will be able to serve their patients Using this application they can save their time and money.
CHAPTER 02 BACKGROUND
2.1 Introduction
Mobile phone is now available and affordable for everyone. Most hospitals are getting digital so, this application will be more effective. Most of people in our country know the use of android system applications, that’s why we should use this android application. It is easy to use and get the services.
2.2 Related Work
There are many medical based android applications that has been implemented yet. But what about perfection? If your work has no perfection then there is no work to do with it.
Example: Sehaty, Google Fit, Patient Aid, Health solutions, Diseases Treatment Dictionary. But as I told you our project has some advance and faster technique than others. We have the attractive UI design too. We give some of the Screenshot images below:
2.3 My Project Work
There are many app in the play store, but all application are not completed. Some of them are complicated and some of them are restricted etc. But our application is best because we have given to our best in this application. Our user interface is more attractive than any other application. For this we used JAVA, XML. In this application we also used registration process. For the registration we used Firebase and authentication we used GoogleAuth. We used some featured in feature we will give more features.
2.4 Comparative Studies
In the Play Store, you can find many apps that incorporate some features into our app.
Some applications are dynamic. The phone number allows the user to sign in to this application. There is another function - an ambulance. The physician and patient can enter the number and name of the ambulance.
2.5 Scope of Problems
First of all, this application is designed to be user friendly. For other game store apps, but you have some issues. But our app is useful for saving time. But our app is useful for saving time. We have many opportunities to improve our applications. We want to improve our apps every day and try to add more features. Currently, there are 154 million mobile phone users and most are using Android phones. We've tried to build something that is useful and useful to everyone. All types of Android devices support this application and each user has a unique identifier. This app is protected for everyone. I use a Google Account to sign in.
2.6 Challenges
If you do something good, there will be obstacles. We also have to face many obstacles.
We are not high level experts so we have to work hard and face many problems. First our project was not running then we fixed it.
CHAPTER 03
REQUIREMENT SPECIFICATION
3.1 Requirement Analysis
Involves all the tasks that are conducted to identify the needs of different stakeholders . It must be documented, computable and tested. It can be functional and non-functional.
There are two parts
1. Android studio and codes.
2. Console Firebase.
3.2 Functional Requirements
Functional requirement is related to the technical function of the system. Our system have some functional requirement such as User phone number, their information, doctors information update, ambulance add option, Google account and maintaining database.
3.3 Non-Functional Requirements
Non Functional requirement is related to the security, viability, versatility, quality and ease of use. Our application have a great user interface for easy to use. Our application quality is very good to compare with other related application. In our application security system is very good. Our application will supported all kind of android operating system.
Doctors can give input and update their information. Our application is android operating system based device with internet connection.
3.4 LogIn Process As a Patient:
Figure: 3.4.1: patients login
3.4.1 As a doctor
Figure: 3.4.2: Doctors login
3.5 Use case
The use case is a diagram of how the user is using the system. The diagram used includes the actors, the use cases and their relationships. The usage diagram reflects some of the features of the system. It is used to understand the user. The figure shows a flow chart of the enclosure used below.
Figure:3.5.1: Use case diagram
3.6 Logical Data Model
The logical data presented is data templates for a specific domain that are freely stored in a specific part of the database as innovative capabilities, but data structures such as a list for students. We use object-oriented XML databases and XML user interfaces as background. My application is a database server and a fire database. Our application is designed to search for a student certificate. There is a database component.
3.7 Design Requirement
Project design requirements are different from other projects because my project is based on my specific problem statement and design experience. I developed the project for a specific segment.
Here some requirement are:
In this system, we used a simple authentication for my user because of this application is public application.
In my application I provide a simple user interface for easy to use.
3.8 APPLICAION PHOTO:
Patient Login
Fig 3.8.1: Patient login
Fig 3.8.2: Patient login
Fig 3.8.3: Patient login
Fig 3.8.4: Patient login
Doctors Login :
Fig 3.8.5: Doctors login
Fig 3.8.6: Doctors login
Fig 3.8.7: Doctors login
CHAPTER 04
DESIGN SPECIFICATION
A definition of design is an explanation for the development of design. In the "Design Requirements" section, we tried to look at the design of our mobile application. I have also discussed many of the tools I use to develop my application.
4.1 Implementation Requirement
1 use different types of implementation components, features, and tools to create an application. These tools make the application easy to use and useful to the application.
Let me know the basic code, Java and XML, for my project. The functionality of my application is written in English.
To execute our project, you must:
4.2 Android Studio
Android Studio is an Integrated Development Environment (IDE) for upgrading to the Android operating system. Specifically designed for Android application development. I developed my application in Android Studio.
4.3 Android SDK
The Android SDK provides API libraries and development tools for testing, creating, and debugging an Android application. Developing Android applications requires the Android SDK. This SDK is a powerful tool that includes not only a development library but also a simulator for running a test application.
4.4 Java Development kit (JDK)
JDK is an implementation of either one of the java SE, Java EE or Java ME platforms.
4.5 Android virtual Device (AVD)
The creator can use the Android emulator as a target platform to run and test his Android application on his computer. The emulator in AVD Manager provides a graphical interface that uses the Android application. An emulation tool used to debug and test applications. An emulation tool used to debug and test applications. You need to install an Android system image that your emulator can use before creating an Android emulator.
4.6 Interaction Design and UX
Interaction design is the subject that facilitates the interaction of this process. In fact, contact design is a system that understands a user's problem. I find my app very easy, but also easy to improve my experience and productivity. I tried to give my UX application a great experience. I find my system simple to improve user performance and experience.
4.7 CODE and DATABASE :
Figure 4.7.1 : Ambulance & Appointment
Figure 4.7.2: Categories & Users
Java Codes:
Figure 4.7.3 :Android XML file & Android .Java file
Figure 4.7.4 : FireStoreRepository & Ambulance.Java
Figure 4.7.5 : FireStoreRepository & Ambulance.Java
Fig: 4.7.6 FireStoreRepository & Ambulance.Java
Figure 4.7.7 : FireStoreRepository & Ambulance.Java
Figure4.7.8 : Appoinment & Figure MultipleItem
Figure 4.7.9 : Appoinment & Figure MultipleItem
Figure 4.7.10: Resources & Specialty
Figure : 4.7.11 Status & User.java
CHAPTER 05
IMPLEMENTATION AND TESTING
5.1 Implementation of Database
“Smart Medical Solution” is an application for helping people make connected with doctors. In our application we use firebase for saving data in database. In our application user information like Phone number, name and id will be saved. Here include the all types of data which will be the record of data which will record of our background system also.
5.2 Testing
Testing is an integral part of any application or software. Create an application and the developer can go wrong. After the repair, the developer may find the error. The BD Hospital app works well on Android-powered Android devices version is equal or greater than 5.1. The interface is dynamic so it creates no error with several sizes of android devices all the features like search hospital, find location, find phone number, find hospital, find doctor’s information work good in almost every android device.
5.3 Implementation of Java and XML code
Use an Android studio using my UL File Designer application and Java kernel to connect an XML file to a Firebase database to store user data. I connect apps to the Internet and design Android Studio. Android Studio supports many different languages. Use object, class, and some Java code methods. This means that the work is done in Java code. In XML, I use a text editor in my application, a button. I developed the application with XML coding.
5.4 Testing Implementation
The Test Case for Project on Smart medical Solution.
Fig 5.4: ER Diagram.
CHAPTER 06
CONCLUSION AND FUTURE SCOPE
ConclusionSmart Medical Solution code has been successfully build and tested. We used this app in other phones and its run successfully. This is a smart application for this modern and smart world.
Future work
In future we will add payment option. By this option doctors will receive money in a certain time. We will also provide all the hospital to use this application. Then medical treatment will be easy way to anyone. They are:-
1. Payment Option.
2. Google Map Location.
3. Google Talking.
References
[1] Learn about Use Case and java problems at << https://developer.android.com/training/index.html >>, Last accessed on 03-11-2019 at 09:00am.
[2] Learn about Project Ideas, Available at << https://nevonprojects.com/project-ideas/electronics-ideas/
>>, Last accessed on 03-10-2019 at 11:00am.
[3] Learn about Android tutorials at << https:// https://developer.android.com/training/index.html >>, last accessed on 03-10-2019 at 12:10pm.
[4] Learn about Android and java problems at << https://developer.android.com/training/index.html >>, Last accessed on 03-11-2019 at 09:00am.
[5] Learn about JAVASCRIPT, Available at << https://developer.mozilla.org/en-US/docs/Web/JavaScript />>, Last accessed on 03-11-2019 at 10:00am.
[6] Learn about Medical related application with android, Available at <<
https://developer.android.com/training/index.html >>, Last accessed on 03-12-2019 at 9:00pm.
[7] Learn about Interaction Design, Available at << https://www.interaction- design.org/literature/topics/interaction-design >>, last accessed on 03-16-2019 at 10:00am.
[8] Learn about Database Server and Administration Tools, Available at <<https://firebase.google.com/ >>, last accessed on 03-17-2019 at 02:00pm.
[9] Learn about Database, Available at << https://firebase.google.com/ >>, Last accessed on 03-19-2019 at 10:00pm.