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 the icons in the Family Register #19

Open
5 tasks
msschroeder opened this issue Jul 14, 2019 · 4 comments
Open
5 tasks

Implement the icons in the Family Register #19

msschroeder opened this issue Jul 14, 2019 · 4 comments

Comments

@msschroeder
Copy link
Contributor

Similar as the CHW All Families Register. However, there are some additional rules for malaria. Therefore, I have copied all issues here for simplicity.

Below are the rules for when these icons appear and disappear from the family register list.

  • First, the order of the icons in the family row in the register list should be in the order of the registers listed in the left navigation drawer of the app, i.e. ANC, PNC, Child, then malaria.
  • A mosquito icon to represent a client in the malaria register.
    row-malaria

{Child/ANC/PNC Issue](opensrp/opensrp-client-chw-anc#55)
Malaria Issue
Rules:

NB: start/end below refer to when the icon appears and no longer appears on the family record in the family register list.

  • [] Pregnant woman icon for each record in the ANC register
    -- start: ANC Registration form is submitted
    -- end: Pregnancy outcome form is submitted
  • Postpartum icon (woman + baby) for each record in the PNC register
    -- start: Pregnancy outcome form is submitted with outcome of live or stillbirth only (i.e. {preg_outcome} = "Child was born alive" or {preg_outcome} = "Child was born alive, but died" or {preg_outcome} = "Child was born alive, but they have a problem " or {preg_outcome} = "Child was stillborn")
    -- end: End of postpartum period, i.e. {delivery_date} + 43 days
  • Child icon (pink or blue depending on gender) for each record in the Child register
    -- start: Either end of neonatal period (i.e. {dob} + 29 days) when child record gets created separately from the PNC record OR Child U5 Registration form is submitted
    -- end: Child reaches 5 years of age
  • Mosquito icon for each record in the Malaria register
    -- start: {malaria} = "1"
    -- end: when a client is removed to a register (Implement the under the avatar text on client profile #23) : If {fever_still} = "No" in the follow-up visit form; if no follow-up visit has been done 15 days after {malaria_test_date} on a client in the malaria register; a malaria referral form to the health facility has been given.

NB: For all of the rules above, if the person's record is closed via the close family member or close U5 child form, the icon no longer appears as well. This is a rule across the board.

@msschroeder
Copy link
Contributor Author

@msschroeder msschroeder transferred this issue from another repository Jul 19, 2019
@mberg
Copy link

mberg commented Jul 25, 2019

We can probably push this to phase 2 as the family register isn't as important in the HC app.

@mberg
Copy link

mberg commented Jul 25, 2019

Unless this is just copying CHW app

@cafootitt
Copy link

It should be just copying the CHW app.

@ellykits ellykits transferred this issue from opensrp/opensrp-client-chw Sep 30, 2019
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

3 participants