You need to create an application which tracks user’s medication intake. Application starts with screen where user sees medication list (empty by default). User is able to add medications to list by clicking on “Add” button. It navigates user to “Add medication” screen / modal.

Each medication in list must have “Increment” and “Decrement” buttons which change current intakes count.

List items must be sorted by their update time (recently updated item must be placed above others).

Fulfilled medication (count equals to destination count) must be placed on bottom of the whole list and highlighted (increment button must be hidden in this case).

Clicking on medication in list navigates user to this medication details screen where user sees its name, description, current count, destination count. There is a thread-like notes section where user sees his previous notes and is able to add new note. On medication details user is able to delete medication or edit its name, description and destination count; increment / decrement current count.

Use-case diagram is shown below:

Untitled.drawio.png

Requirements