-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Story
As a user, I should be able to add a medication to track, and when that medication is added, it should display in a list of medications, and when it is time to take that medication it should be more prominently.
Acceptance Criteria
Given a user wants to track a medication
When the user clicks on “medication” button
Then the user should be taken to the “medications” view of CheckUp/Patient Notes which shows all previously tracked medications
When the user chooses to track a new medication
Then a form should be displayed where the user can enter:
- Medication Name
- Dosage
- Frequency
- Time
When the user clicks “track medication”
Then the medication should be saved in the database and added to a list of tracked medications
Given a user has set a medication reminder
When the date of the reminder arrives
Then user homepage should display a reminder to take that medication
When user clicks the reminder
Then user should check that they have taken the medication
Given user wants to stop tracking a medication
When user clicks on name of medication in the medication list
Then user should be taken to a display of the medication
When user clicks “remove” button
Then system should prompt user to confirm deletion
And if user confirms
Then medication should be removed from the database
Given user wants to edit medication information
When user clicks “edit” button
Then a pre-filled form should be displayed
When user clicks “save”
Then updated medication information should be displayed
- Medication List
- Add medication form
- Edit medication form
- Remove medication
- Display in time order