Skip to content

C1UC1 Maintain Owner

Antonio Carvalho edited this page May 11, 2017 · 6 revisions

Version 0.2

Version History

Version Author Modification Date
0.1 João Paulo / Adailson Document created and C1UC1 added 30/03
0.2 Antonio Carvalho Delete, update and search flow added 11/05

C1UC1 - Maintain Owner

1. Brief Description

This use case describes how the Clinic Worker uses the System to manage the animals owners records.

2. Actors

2.1 Clinic Worker

3. Preconditions

3.1. The worker needs to be logged in on the system. 3.2. The worker must be accessing an Owner's page.

4. Basic Flow of Events

  1. The system shows all of the owners registered and the option to register a new one.

5. Alternative Flows

5.1 Worker wishes to register a Owner

If in the step 1 of the basic flow, the worker wishes to create a new register:

  1. The Worker selects the Register New Owner.
  2. The System show the form to register a New Owner.
  3. The Worker inserts the CPF.
  4. The System validates the owner CPF.
  5. The Worker inserts the Name, Last Name, Phone and Adress of the Owner.
  6. The System presents at the end of the form a choice to Register or Cancel the registration.
  7. The Worker selects Register to end the registration.
  8. The System asks if the Worker is certain of the registration.
  9. The Worker selects Yes and the System return to the screen to list the Owners.
  10. The use case ends successfully.

5.1 Worker wishes to update a Owner

If in the step 1 of the basic flow, the worker wishes to update one of the existing registrations:

  1. The worker selects the Update option on the desired owner's file.
  2. The system jumps to step 5 of the register form.

5.1 Worker wishes to delete a Owner

f in the step 1 of the basic flow, the worker wishes to delete one of the existing registrations:

  1. The worker selects the Delete option on the desired owner's file.
  2. The system displays a confirmation message.
  3. The worker confirms the operation.
  4. The user case ends.

5.1 Worker wishes to search a Owner

If in the step 1 of the basic flow, the worker wishes to search an existing register:

The worker search the owner name that he wants to see. The system open the owner form. The user case ends.

6. Alternative Flows

6.1. Invalid CPF

If in the step 5 of the Basic Flow the Worker entered an invalid CPF:

  1. An error will appear on the screen, telling that the CPF is invalid.
  2. Then the Worker returns to the Step 5 of Basic Flow.

6.2. Duplicated CPF

If in the step 5 of the Basic Flow the Worker entered a duplicated CPF:

  1. An error will appear on the screen, telling that the CPF is already on the System.
  2. Then the Worker returns to the Step 5 of Basic Flow.

6.3. Incomplete form information

6.3.1. Missing Name Information

If in the step 7 the Worker didn’t enter with name information and the step 10 of Basic Flow is executed:

  1. The Worker returns to the Step 5 of the Basic Flow with an error of missing name.
6.3.2. Missing Last Name information

If in the step 7 the Worker didn’t enter with last name information and the step 9 of Basic Flow is executed:

  1. The Worker returns to the step 4 of the Basic Flow with any error of missing last name.
6.3.3. Missing Phone information

If in the step 7 the Worker didn’t enter with phone information and the step 9 of Basic Flow is executed:

  1. The Worker returns to the step 4 of the Basic Flow with any error of missing phone.
6.3.4. Missing Address information

If in the step 7 the Worker didn’t enter with address information and the step 9 of Basic Flow is executed:

  1. The Worker returns to the step 4 of the Basic Flow with any error of missing address.

6.4. The User canceled the registration

If in the step 9 of the Basic Flow the Worker hits Cancel the registration:

  1. The use case returns to the step 2 of Basic Flow and ends.

6.5. The User was not sure of the registration

If in the step 10 of the Basic Flow the Worker decides to not end the registration:

  1. The Worker returns to the step 4 of the Basic Flow with all the information previously entered on the screen.

7. Post-conditions

7.1. Successful Completion

The owner was successfully registered and the system logs were successfully updated.

7.2. Failure Condition

The logs have been updated accordingly.

8 Special Requirements

[SR:C1UC1-1] - The System shall keep a log with the Worker that performed the registration, the owner that was registered, the date and time of the registration. SR: Special Requirement.

Clone this wiki locally