Doctor's Information Database & Appointment Booking
-
Upload
khangminh22 -
Category
Documents
-
view
0 -
download
0
Transcript of Doctor's Information Database & Appointment Booking
Dinabandhu Andrews Institute of Technology and
Management
Doctor’s Information Database
& Appointment Booking
MAJOR PROJECT DOCUMENTATION
Subject Code: BCA-693
Supervisor: Ananta Dev Pal & Paramita Ray
Created and Submitted by:
Sourav Saha (15401215042)
Adrita Saha (15401215002)
Pujali Bhaumik (15401215027)
Tanisha Mukherjee (15401215056)
Sweta Kumari Yadav (15401215053)
Sudeshna Roy Chowdhury (15401215049)
Contents Sl.No Topics Page No.
1 1.1 1.2 1.4
Introduction Purpose Scope Overview
1
2 2.1 2.2 2.3 2.4 2.5
Description Perspective Functions User Characteristics Constraints Expected Results
2-4
3 Processing and Validation 5-13 4
4.1 4.2
Data Flow Diagrams Level 0 Level 1
14-15
5 System Requirements 16 6 Applications and Technology Used 16 7 Id and Passwords for Login 16 8. Features Planned 17 9. Conclusion 18
10. Designs and Programming Codes 19-92
1
1. Introduction Doctor’s Information Database in an application programmed to run in the mobile
operating system Android, which helps seeking patients to find their desired information
about any doctor and also serves the administrator, who has a separate authorized access to
the database to alter information easily.
1.1. Purpose
This document provides a base to all the functionalities which should be carried out by
the application, how that works the outputs available to the end users.
1.2. Scope of the Project
This project intends to maintain a record of all the necessary information of a doctor
and show them to the end users. It also facilitates alteration of such data, to add,
update or delete data from the database, with specific authorization. This will ensure
the database stays up-to-date and common users can get information on doctors with
specific specialization for different purposes. Users can also book appointments and
nagivate to the chamber location.
1.3. Overview
Overall, this project serves as an application which keeps information on doctors and
shows information to the users and books appointments without much hassle. This
document specifies all kinds of methods used in coding and the objects used for
designing, using Android Studio.
2
2. Description 2.1. Perspective
Shows the Doctor’s name, and the patient’s submitted
details
Updated Data is again fed
back to the Database and
deleted data is erased and
reflected in the database
See Doctor
View all data and
Add, Delete and
Update
information
Relevant Information is
shown to the common
users.
Search Button
Triggered
Back
This section is
available to selective
users who can login
and manipulate data
See Bookings
and Modify
Add Doctor
View/Update/D
elete Doctor’s
information
Login Page Opens ID and Password is
needed to get through
If Correct Database in the
Android Device
SqLiteDatabase
Text boxes
are provided
to add data
and a button
which will
add the data
Added to
Database
Search box
is present to
search for
doctors by
ID, buttons
triggered
for update
or delete
3
2.2. Functions of the Application
Displaying Doctor’s information like name, contact number, available dates and
timings, fees, etc to common users
Take Bookings for Doctors
Showing more information on doctor’s like address, nationality, employed since,
etc., to authorized users
Adding new doctors
Updating a Doctor’s existing information
Deleting a doctor’s information
Showing all appointments/bookings
Deleting Appointments
The last four features is available to authorized users only
2.3. User Characteristics
There are 2 user levels in this application for accessing doctor’s information
a. Patients
b. Administrator
a. Patients
Patients can access only the needed and limited information of any respective doctor,
searched by name. Information like, name, contact number, gender, specialization,
experience, available days and timings are available. They can book an Uber to the chamber
location or just navigate using Google Maps.
b. Administrator
This includes the internal users like a manager or staff. This type of user has a login
page with a login id and password after getting through which, the user can view, add, alter
or even delete any entry in the database. This user has full access to all the information of any
doctor’s entry present in the database, can book appointments, see booked appointments
and delete them. They also have the facility to navigate like the common users.
4
2.4. Constraints
Some basic constraints present are,
i. The software must be in English
ii. The android version in the phone should be Android Kitkat 4.4 or higher for
proper functioning
iii. The UBER application should be installed in the Device
2.5. Expected Results
It is expected that the application will work properly in almost every Android
OS installed device without any glitch and the application will be bug free. In case
of any changes, this document will be flexible to reflect every one of them.
5
3. Processing and Validation
Welcome Screen (On Startup)
On app startup, a welcome screen pops up, known as Splash Screen. It shows the
application name and the names of the team members on an image background. After a
very short wait, the main screen/page opens.
Main Screen
The main screen has 3 main elements. Two buttons, one for User’s end access to
doctor’s information and booking appointments, the other for complete access to the
database and the rights to view all information, add, delete or update any doctor’s entry in
the database. A ‘TextView’ is present below the buttons which displays the information on
the team of students working in this project, on touch.
7
“VIEW DOCTOR’S INFORMATION BOOK APPOINTMENTS”- Image Button
This button opens a page with a search box and a search button. Doctor’s are searched
by ‘Name’ and the search entries are case and spelling sensitive. If the entry is found,
limited and relevant information is displayed; if no entry exists in the database, a
message-“No Entries Found!” will appear in red. This also has a button to book an
appointment, which opens a set of text boxes to enter Patient name, contact number and
age.
8
Navigations Using Uber and Maps
Options are shown which app to choose, either UBER or Google Maps. Uber will get us a
cab to the location while Google maps can route us using public transport and by foot,
whichever needed. Uber app facilitates the fare estimation too.
9
“See Available Doctors”- Button
Present inside the “SEE DOCTOR’S INFORMATION”, shows all the available doctor’s in
the database to the users. It shows Doctor’s name, his/her specialization and years of
experience.
LOGIN PAGE
This page needs login information. An id and password needs to be entered to login. If it is
correct, then only the “MODIFY DOCTOR INFORMATION” page opens.
10
“MODIFY DOCTOR INFORMATION”- Image Button
This button on touch opens a login page which will have a default id and password
which will be known to the internal users/administrators only. On successful login, a page
opens with 2 buttons which will allow us to access 2 sectors, “VIEW ALL INFORMATION”
and “ADD DOCTOR”
“ADD DOCTOR”- Image Button
This opens a page, consisting of a form with writable spaces to fill out any necessary
information about the doctor. There are ‘TextView’-s, ‘EditText’ , Checkboxes, Radio
buttons and dropdown menu to take all the information.
11
“VIEW/UPDATE/DELETE All Information”- Image Button
This button has a search box and a search button to search any doctor’s entry by their
name. It also has 2 buttons further, which will facilitate updating and deletion of any entry
from the database.
“SEE BOOKINGS”- Image Button
This button, on touch opens a page which shows the doctor’s name and the details of
the patient, in a ListView.
“SEARCH BOOKINGS”- Image Button
12
On tapping this button, a page opens which contains search box and search button which
searches using the patient’s contact number, to avoid duplicate names and searches the
appointment. Henceforth, it can be deleted if needed.
EMAIL, SMS and CALLING
Emails and text messages can be sent through the application. Email is sent through
the email client present in the phone, while text messages are sent using the phone’s balance.
Calls are also made through the sim cards and charged from the balance of that respective
sim card.
“BACK”- Buttons are used for navigating back to the previous page.
“Back to Main Screen”- TextView , on touch takes us back to the main screen.
13
APP ICONS USED
All the icons used in the application’s Image buttons were downloaded, and the text in it
was writted and borders were added to add some elegance to them. They are as follows,
All Images Used
The images used are as follows
15
Login
Access Limited Information
Books Appointments
Access All Information
4. Data Flow Diagrams
4.1. Level 0
USERS
Doctor Database
System and
Appointments
ADMINISTRATOR
16
Enters Information
Stored in table
Limited
Information
Displayed
Returns the
needed data
4.2. Level 1
View
Appointments ADMIN
Sends
Information
Appointments
Stored in the
table
USERS
Request
Fetches Doctor’s
Name
On Deletion of a Doctor
his/her Appointments
Deleted
Updated Information
Added / Deleted
Information reflected
Updates / Deletes
Data
Updating and
Deleting
Information
View and adds Information
Enters Id,
Password
LOGIN
ADMINISTRATOR
ADMIN
Request
Looks for
the data
DOCTOR’S INFORMATION
APPOINTMENTS
Searching
APPOINTMENTS
Views Appointments
17
5. System Requirements 1. Smartphone with Android OS version 4.4 (Kitkat) or higher
2. Minimum 512 MB of RAM
3. A processor with speeds above 1.2 GHz (any make)
4. 16 MB of storage for the app and extra for the data stored, the size of the app increases
as the number of entries are increased
5. Android API version 12 or above
6. Permission to install applications over USB and installation from unknown sources from
‘Developer Options’
6. Applications and Technology Used Android Application Development is possible with a couple of software and development kits
to support the software and execution, they are as follows,
1. Android Studio: Android studio is the official Integrated Development Environment
(IDE) for designing, coding, debugging and executing applications for Google’s
smartphone operating system, Android. It has all keywords inbuilt for ease in back end
programming and also design statements, for ease in designing as well. The version of
Android Studio used to design the application is 1.4.1.
2. Java Development Kit (JDK): Since, Android applications require Java programming for
its backend programming; it needs a JAVA environment to support its functions,
executions and syntax.
3. MySql : The tables in the database for storing doctor’s information and patient
information for appointments has been create from Sql statements.
4. Xml: The front end design of the application involves xml statements for the layouts,
image buttons, buttons, text boxes and text views.
7. ID and Passwords for Login 1) Id: doctor password: 112233
2) id: daitm password: patuli
3) id: admin password:12345
18
8. Features Planned i. If the name of the doctor is wrong, it cannot be changed, the entry has to be deleted
and added again. This is due to the fact that doctor information are searched as per
the doctor’s name, so if it’s changed, the process will fail to locate the entity in the
table. Better searching method is planned is the application, if feasible
ii. Appointments will appear haphazardly since, there are no methods implemented to
sort as per doctor’s name due to lack of time and technical knowledge. If different
doctor’s appointments are taken one after the other, the appointments will appear in
the order in which they were booked
iii. If there is more than one doctor in the database, with same spelled name, then there
will be problems in searching.
iv. Changes in code will have to be made to add more login ids and passwords. No mode
for registration. There are a fixed set of ids and passwords.
v. Appointments can be added and deleted only, no scope for editing, so in case of
mistakes, it has to be deleted and added again, which only an administrator can do.
19
CONCLUSION So, we come up to the conclusion that, this app will help normal users to access
limited doctor’s information and take appointments. The administrator can login using
the in-built id and password and access all information, delete and update them.
Administrator can view appointments too. Common users who don’t know the
password can only get access to limited and relevant information on any doctor. Due to
time constraints, many drawbacks are present as mentioned in page 16 which are
planned to be fixed if possible.
From this project we learnt a lot on team work and it has also enhanced our
knowledge of the programming methods since, we learnt a lot along the way. This
application serves the basic purpose of accessing doctor’s information, booking
appointments and modifying information.