Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Manage therapy - add / edit [GROUP 1] #7

Open
almeida1492 opened this issue Sep 30, 2024 · 1 comment
Open

Implement Manage therapy - add / edit [GROUP 1] #7

almeida1492 opened this issue Sep 30, 2024 · 1 comment

Comments

@almeida1492
Copy link
Collaborator

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…”)

@almeida1492 almeida1492 changed the title Implement Manage therapy - add / edit Implement Manage therapy - add / edit [GROUP 1] Oct 4, 2024
@gitsupermel
Copy link
Collaborator

The specifications :
(
1'''''''''''''Populate “select medicine” by calling GET /medicines.'''''''''''''''''''
2''''''''''''''''''''''''When you select a medicine, form changes to:

https://www.figma.com/design/u3QbbGOEuDUcnEZSngo9EG/Oh---MediMemo-UI?node-id=339-650&t=u43PhigeIpmrmstf-4''''''''

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants