Q1) Draw a sequence diagram for the following use case. Draw only the first five messages sent.
Use case name: ReportEmergency
Participating Actors: Field Officer, Dispatcher
Flow of events
The FieldOfficer activates the "Report Emergency" function of her terminal. The system responds by presenting a form to the officer.
The FieldOfficer completes the form, by selecting the emergency level, type, location, and brief description of the situation. The FieldOfficer also describes possible responses to the emergency situation. Once the form is completed, the FieldOfficer submits the form by pressing the "send Report" button, at which point, the Dispatcher is notified.
The Dispatcher reviews the submitted information and creates an Incident in the database by invoking the OpenIncident use case. All the information contained in the FieldOfficer's form is automatically included in the incident. The Dispatcher selects a response by alocating resources to the incident (with the AllocateResource use case) and acknowledges the emergency report by sending an AcknowledgementNotice to the FieldOfficer.
Non-functional Requirements:
The FieldOfficer's report is acknowledged within 30 seconds. The selected response arrives no later than 30 seconds after it is sent by the Dispatcher.
Entry Condition: the Field Officer is logged into the system
Exit Conditions:
The FieldOfficer has received an acknowledgement of the report
OR
The FieldOfficer has received an explanation indicating why the report has not been processed