Open almeida1492 opened 1 month ago
The specifications : ( 1'''''''''''''Populate “select medicine” by calling GET /medicines.''''''''''''''''''' 2''''''''''''''''''''''''When you select a medicine, form changes to:
3"""If user selects other medicines, the “medicine” box duplicates for each selection. Also “doctor” and “notes” fields are now shown."""
) are already done in pull request #51
https://www.figma.com/design/u3QbbGOEuDUcnEZSngo9EG/Oh---MediMemo-UI?node-id=34-51&t=u43PhigeIpmrmstf-4
Populate “select medicine” by calling GET /medicines.
When you select a medicine, form changes to:
https://www.figma.com/design/u3QbbGOEuDUcnEZSngo9EG/Oh---MediMemo-UI?node-id=339-650&t=u43PhigeIpmrmstf-4
If user selects other medicines, the “medicine” box duplicates for each selection. Also “doctor” and “notes” fields are now shown.
Implement “save” action by calling POST /therapies
When clicking on button “add program”, before navigating to “add prescition“ page, if therapy hasn’t been saved (=doesn’t have and id) you must save current therapy (POST /therapies).
When editing, change the first label to “edit therapy“ (instead of “add…”)