Documente Academic
Documente Profesional
Documente Cultură
2.1 Introduction:
We are going to develop an emergency system for ambulances. Our application will
provide peoples quick services in emergency. In case of accidents or sudden disease
attack (Heart Attack ,Brain Stroke .etc ) our application will provide Rapid emergency
service on just a single button click. Our application will provide rescue services the
accident location on a web interface. Application will provide nearest hospitals locations -
shortest paths and clear roads to ambulances so that they can arrive at their location on
time and save peoples life. Application will also provide video calling from Ambulance
to doctor so in case the ambulance is coming from a far location and the patient condition
is very critical doctor can guide who to treat him in ambulance via video call. Our
Application will provide reporting facility (patient reports) directly from ambulance to
hospital. Our Application will provide a feature to common peoples so that they can deal
with emergency situations.
Existing System
In existing system people have to call rescue service provider . In existing system peoples
are facing many problems . peoples don’t know what to do in case of emergency. There
is a shortage of hospital in villages. Ambulances do not get direction or shortest path to
nearby hospitals. Many people’s dies due to late emergency services.
Organizational Chart
3. Emergency Solutions
Our application will provide rapid emergency solution to the patients . In rapid
emergency solution there are solutions that how to deal emergency situations in case
of accidents of sudden disease attacks.
5. Shortest Path
Our application will provide shortest path to nearest hospital .User has to simply clicks
on shortest path button and he/she will get the shortest path to nearest hospital
7. Reporting
Our application will provide reporting functionality. With this functionality you can send
patient reports from ambulance to hospital.
Patient
Rescue Service provider
Hospital
Doctor
Assistant
Gps
Maps
b. Perform Refinement:
Patient
Rescue Service provider
Hospital
Doctor
Assistant
Gps
Maps
2.0 User (Rescue service provider) shall register himself to the system.
2.0 User (Rescue Service provider) shall login himself to the system.
2.0 User (Rescue Service provider ) shall see his information.
2.0 User (Rescue Service provider) shall change his password.
2.0 User (Rescue Service provider) shall get rapid emergency request from patient on
web interface on maps.
2.0 User (Rescue Service provider) shall share location with ambulance.
2.0 User (Rescue service provider) shall provider hospital information’s to ambulance if
required.
2.0 User (Rescue service provider) shall provide doctors information in the specific
hospital if required.
2.0 User (Rescue service provider) shall logout himself to the system.
3.0 User (Assistant ) shall get emergency location from rescue service provider.
3.0 User (Assistant ) shall get nearby hospital location and information
3.0 User (Assistant) shall video call to doctor directly from the ambulance.
4.0 User (Doctor) shall get video call from the ambulance assistant.
5.0 User (hospital shall get patient reports send by ambulance assistant)
ambulance assistant.
4.0 User (Doctor) will logout himself to the UC_Doctor_Logout
system.
5.0 User (hospital) will register himself to the UC_Hospital_Administration_R
system. egistration
information.
2.0 Medium User (Rescue UC-19 UC_RSP_Change_Password
Service provider)
will change his
password.
3.0 Medium User (Assistant ) UC-20 UC_Ambulance_Assistant_Info
will see his rmation
information.
3.0 Medium User(Assistant UC-21 UC_Assistant_Change_Passwo
)will change his rd
password
4.0 Medium User (Doctor) UC-22 UC_Doctor_Information
will see his
information.
4.0 Medium User (Doctor) UC-23 UC_Doctor_ChangePassword
will change his
password.
5.0 Medium User (hospital) UC-24 UC_Hospital
will see his _Administration_Information
information.
5.0 Medium User (hospital) UC-25 UC_Hospital_Administration_
will change his Change_Password
password.
5.0 Medium User (hospital ) UC-26 UC_Print_Reports
will print reports
1.0 Medium User (patient) UC-27 UC_Emergency_Solutions
will see rapid
emergency
solutions.
4.0 Medium User (Doctor) UC-28 UC_Video_Call_Patient
will get video
call from the
ambulance
assistant.
5.0 Medium User (hospital ) UC-29 UC_Print_Reports
will print reports
1.0 Lowest User (patient) UC-30 UC_Patient_logout
will logout
himself to the
system.
2.0 Lowest User (Rescue UC-31 UC_RSP_Logout
service provider)
will logout
himself to the
system.
3.0 Lowest User (Assistant) UC-32 UC_Assistant_Logout
will logout
himself to the
system.
4.0 Lowest User (Doctor) UC-33 UC_Doctor_Logout
will logout
himself to the
system.
5.0 Lowest User (hospital) UC-34 UC_Hospital_Administration_
will logout Logout
himself to the
system.
system..
12 1.0 User (patient) will B1 UC_Rapid_Emergency_Service
create rapid
emergency request .
13 2.0 User (Rescue B1 UC_Current_Accident_Locatio
Service provider) n
will get rapid
emergency request
from patient on web
interface on maps.
14 2.0 User (Rescue B1 UC_Share_Location_With
Service provider) _Ambulance
will share location
with ambulance.
15 3.0 User (Assistant ) B1 UC_Current_Emergency_Locat
will get emergency ion
location from
rescue service
provider.
16 3.0 User (Assistant ) B1 UC_Nearest_Hospital_Locatio
will get nearby n
hospital location
and information
17 3.0 User (Assistant) B1 UC_Shortest_Path
will get shortest
path.
19 3.0 User (Assistant) B1 UC_Video_Call_Doctor
will video call to
doctor directly from
the ambulance.
20 3.0 User(Assistant) B1 UC_Send_Patient_Reports
shall send patient
reports to doctor .
21 4.0 User (Doctor) will B1 UC_Video_Call_Patient
get video call from
the ambulance
assistant.
22 5.0 User (hospital) will B1 UC_Get_Reports
get patient reports
send by ambulance
assistant.
23 5.0 User (hospital ) will B1 UC_Print_Reports
print reports
24 1.0 User (patient) will B1 UC_Emergency_Solutions
see rapid
emergency
solutions.
25 1.0 User (patient) will B1 UC-Patient_information
see his information.
26 1.0 User (patient) will B1 UC_Patient_Change_Password
change his
password.
27 1.0 User (patient) will B1 UC_Patient_logout
logout himself to
the system.
28 2.0 User (Rescue B1 UC_RSP_Informaiton
Service provider )
will see his
information.
29 2.0 User (Rescue B1 UC_RSP_Change_Password
Service provider)
will change his
password.
30 2.0 User (Rescue B1 UC_RSP_Logout
service provider)
will logout himself
to the system.
31 3.0 User (Assistant ) B1 UC_Ambulance_Assistant_Info
will see his rmation
information.
32 3.0 User(Assistant )will B1 UC_Assistant_Change_Passwo
change his rd
password
33 3.0 User (Assistant) B1 UC_Assistant_Logout
will logout himself
to the system.
34 4.0 User (Doctor) will B1 UC_Doctor_Information
see his information.
35 4.0 User (Doctor) will B1 UC_Doctor_ChangePassword
change his
password.
36 5.0 User (hospital) will B1 UC_Hospital
see his information. _Administration_Information
37 5.0 User (hospital) will B1 UC_Hospital_Administration_
change his Change_Password
password.
38 5.0 User (hospital) will B1 UC_Hospital_Administration_
logout himself to Logout
the system.
3.1. Introduction:
Smart Ambulance is an emergency system that will provide rapid emergency solution to
peoples for saving their lives. In this phase we are going toward design of our system
smart ambulance. In this part we will draw different diagram of our system .We are using
object oriented approach. Following are the artifacts that we are going to draw for our
system.
1. Domain Model
2. System Sequence Diagram
3. Sequence Diagram
4. Collaboration Diagram
5. Operation Contracts
6. Design Class Diagram
7. State Transition Diagram
8. Data Model
2. Operation Contract
Name: Rapid Emergency Service
Responsibilities: Share Smart Phone location with rescue service provider
Cross Reference: use cases (rapid emergency service)
Precondition: Register/login yourself in patient/informer account
Post condition: Current location of smart phone is shared with rescue service provider
3. Operation Contract
Name: Nearby hospital location and information
Responsibilities: nearest hospital location using gps and maps
Cross Reference: using smart phone gps(Global Positioning System), and maps
Precondition: get the accident location from rescue service provider
Post condition: Nearest Hospital location with their information
4. Operation Contract
Name: Shortest Path
Responsibilities: Shortest path to nearby hospital
Cross Reference: use case (shortest path)
Precondition: Get the accident location from rescue service provider
Post condition: Show the shortest path to nearby hospital
5. Operation Contract
Name: Assistance through video call
Responsibilities: Video call to doctor to take advice for the patient
Cross Reference: use case (video call doctor)
Precondition: get the accident location from rescue service provider
Post condition: Video calling with doctor
6. Operation Contract
Name: Reporting
Responsibilities: Create reports about patient conditions and send them directly from
ambulance to hospital.
Cross Reference: use case(send patient reports)
Precondition: get the accident location from rescue service provider.
Post condition: show reports , print reports