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 record malaria follow-up visit button row in malaria profile #20

Closed
4 tasks done
msschroeder opened this issue May 9, 2019 · 5 comments
Closed
4 tasks done
Assignees
Milestone

Comments

@msschroeder
Copy link
Collaborator

msschroeder commented May 9, 2019

The follow-up visit appear according to the schedule (#6 )

On the malaria profile page, the visit buttons in the top row have various states:

Screen_Shot_2019-05-09_at_10_05_37_PM

  • This button will appear when malaria_test_date + 7 days
  • The blue record visit button opens the malaria follow-up visit form (Add follow-up visit form #7 )

Screen_Shot_2019-05-09_at_10_05_37_PM

  • The above button in the overdue state (malaria_test_date + 10 days) turns red.
  • Tapping on the red Record malaria follow-up button launches the malaria Follow-up Visit form

49637613-ebf92b80-fa16-11e8-99f8-040248d4a0fb_png__706×140_

- [ ] When the follow-up visit is done, the follow-up visit button takes on a temporary state. Replace 'December visit done' with text in red, 'Follow-up visit done' similar to above. For the 24 hours after a follow-up visit is recorded, the user will have this status. After 24 hours, no button will appear for the follow-up visit.
- [ ] Tapping on the edit button launches the form that they submitted previously, where they can make edits.

@whoisladleo whoisladleo self-assigned this Jun 26, 2019
@whoisladleo whoisladleo modified the milestone: Week 26-27 Jun 28, 2019
whoisladleo added a commit that referenced this issue Jul 2, 2019
…e' into #20-implement-malaria-follo-up-visit

# Conflicts:
#	opensrp-chw-malaria/src/main/java/org/smartregister/chw/malaria/activity/BaseMalariaProfileActivity.java
#	opensrp-chw-malaria/src/main/java/org/smartregister/chw/malaria/domain/MemberObject.java
whoisladleo added a commit that referenced this issue Jul 2, 2019
…isit' into #20-implement-malaria-follo-up-visit

# Conflicts:
#	opensrp-chw-malaria/src/main/java/org/smartregister/chw/malaria/activity/BaseMalariaProfileActivity.java
#	opensrp-chw-malaria/src/main/java/org/smartregister/chw/malaria/presenter/BaseMalariaProfilePresenter.java
#	opensrp-chw-malaria/src/test/java/org/smartregister/presenter/BaseMalariaProfilePresenterTest.java
@whoisladleo
Copy link
Contributor

Leaving this for now, waiting on #7 to be completed so i can move work on the rest of the tasks.

@whoisladleo whoisladleo added this to the Week 26-27 milestone Jul 2, 2019
whoisladleo added a commit that referenced this issue Jul 2, 2019
whoisladleo added a commit that referenced this issue Jul 5, 2019
# Conflicts:
#	opensrp-chw-malaria/src/main/java/org/smartregister/chw/malaria/domain/MemberObject.java
#	opensrp-chw-malaria/src/main/java/org/smartregister/chw/malaria/util/DBConstants.java
#	opensrp-chw-malaria/src/test/java/org/smartregister/presenter/BaseMalariaProfilePresenterTest.java
@msschroeder
Copy link
Collaborator Author

msschroeder commented Jul 5, 2019

QA July 5 Build:

  • The button "Record malaria follow-up" appears when they are added to the registers rather than 7 days after the malaria_test_date + 7 days
  • The button "Record malaria follow-up" does not turn red after the malaria_test_date + 10 days

@manutarus
Copy link
Member

@msschroeder the follow-up visit removes a record from the malaria register, this means that if we are removing the record immediately after completing the visit we are not able to edit the visit

@msschroeder
Copy link
Collaborator Author

@manutarus That is far. I have put a strike through the last few comments. We should not allow them to edit the form then.

@msschroeder
Copy link
Collaborator Author

lgtm

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

No branches or pull requests

3 participants