UseCase_AddRecord - CMPUT301F18T10/MediTrack GitHub Wiki
Use Case Name: AddRecord
Use Case ID: 01.02
Participating Actors: User (patient), MediTrack
Goal: to add new record to a particular problem
Trigger: User clicks 'plus' floating action button
Precondition: User has a problem in the list of problems to add a record to
Postcondition: The new record is added to the list of records for the selected problem with a timestamp
Basic Flow:
1.User chooses to add a new record to a problem.
2.MediTrack prompts user to enter a title, comment and a photo.
3.User adds a title, a photo and a comment.
4.Meditrack prompts user to add more photos, a body location and a geo-location to the record.
5.User can add up-to 10 photos, a body location and a geo-location or choose not to enter either or all of these.
6.MediTrack adds the new record to the record list of that problem.
Exceptions:
6. User does not fill the either the title or add a photograph
6.1 MediTrack informs the user that a required field is left blank.
Constraints:
User can only attach up-to 10 photographs
Related Artifacts:
US 02.02.01
US 02.03.01
US 02.04.01
US 02.05.01
US 02.06.01
US 02.08.01