Skip to content

Requirements Specification

bingpan edited this page Mar 1, 2012 · 12 revisions

Use Case 1 [InspectForMoleGrowth]:

Use Case Name InspectForMoleGrowth
Participating Actor User/Patient
Trigger Select View Mole
Goal Inspect for any mole growth or progression
Preconditions User recognizes the mole from pictures or remembers the mole's id
Postconditions  Conclude whether there is any growth

Basic Flow

 User's Point of View

1

Program displays a list of moles or a collection of photos of   different moles

2

User/Patient selects the mole he/she wishes to inspect from  the list or the photos

3

Program displays information about the mole

4

User/Patient enters mole specific photo gallery.

5

Browsing through all the photos in chronological order user/patient eventually arrives at the last photo

6

User/Patient comes to a conclusion whether the selected mole has grown or not
Exceptions 1 Selected mole has no picture taken
1.1 No pictures available for viewing, user is given option to add new pictures
Exceptions 2 Mole not found in list
2.1 User/patient is given the option to create a profile for a new mole
Qualities
1 Program responds quickly to the user’s selection or at least prompts the user that the selection has been acknowledged
2 High resolution pictures displayed under 1 second
3 User able to zoom in on specific spots
4 Time the photo was taken and time between the current photo and the previous photo are shown on the screen

Use Case 2 [AddPhotoToGroup]:

Use Case Name

AddPhotoToGroup

Participation Actors User/Patient
Goal Add a single photo to an existing mole
Trigger User presses ‘add to mole’ button
Preconditions User is in view photo mode A valid photo is currently selected
Postconditions The photo now belongs to the intended group
Basic Flow User Point of View
1 Program displays a list of existing groups and offers a search option
2 User finds and selects the correct group from the list or through search
3 Program displays group information
4 Program prompts the user for confirmation
5 Program displays a message showing that the photo has been added to the collection
Exceptions 1 Group not found or does not exist
1.1 User is given the option to create a new group
Qualities
1 List must be loaded from disk or DB and displayed on the screen under 10 seconds
2 User can compare photo to earlier ones after adding it to the group, allowing him to determine if it is consistent

Use Case 3 [TakeAPicture]:

Use Case Name TakeAPicture
Participating Actors User/Patient
Trigger Pressing the corresponding button in the menu
Goal Take a picture
Preconditions Program is running
Postconditions A picture is taken and saved to disk
Basic Flow User Point of View
1 Program enters camera mode
2 User takes the picture
3 Program allows user to enter information about the picture
4 User saves the picture
5 Program returns to mole gallery view.
Exception 1 Picture cannot be saved to disk
1.1 Program warns the user
1.2 Program asks the user to select another path to save the picture in or to adjust specific system settings
Exception 2 User not satisfied with the picture
2.1 User selects the retake option
2.2 Program returns to step 1
Qualities
1 Pictures are timestamped
2 Picture is saved to file immediately after being taken
3 User is able to perform a number of operations on the picture, such as AddPhotoToGroup and etc.

Use Case 4 [UpdateMole]:

Use Case Name UpdateMole
Participating Actors User/Patient
Trigger User selects the ViewMole button
Preconditions Program is running and a mole already exists
Postconditons Successfully modifying the mole’s data
Main View User Point of View
1 Program displays a list of mole sorted in some order
2 User selects the correct mole from the list
3 Program displays mole information
4 User selects the edit mole button
5 Program displays an update form
6 User fills out form and presses save button
7 Program displays confirmation message, returns to mole information
Exception 1 Entered values have types that are not consistent with the attributes’ data types
1.1 Program displays a warning about the inconsistencies
1.2 Program highlights the erroneous entry in the form
1.3 Program returns to step 2 in first option
Qualities
1 User may delete moles in step 2 of main view Program will prompts the user for confirmation of deletion
2 Update form should be clear and easy to fill out
3 Picture operations include delete, remove from selected mole and etc.

Use Case 5 [AddMole]:

Use Case Name AddMole
Participating Actors User/Patient
Trigger

User selects the AddMole option in the main menu

Preconditions Program is running
Postconditions

New mole is added to list, information of the mole is collected, a picture of the mole is taken(optional)

Basic Flow User Point of View
1 Program displays a form
2

User fills out the details of the mole and press a button to finalize the form

3 Program displays message confirming the mole has been added
4

Program enters TakeAPicture

Exception 1 Entered values have types that are not consistent with the attributes’ data types
1.1 Program displays a warning about the inconsistencies
1.2 Program highlights the erroneous entry in the form
1.3 Program returns to step 2

Clone this wiki locally