Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Notify mVacc that a new child has been registered in OpenSRP #467

Open
6 of 7 tasks
manutarus opened this issue Jun 26, 2018 · 3 comments
Open
6 of 7 tasks

Notify mVacc that a new child has been registered in OpenSRP #467

manutarus opened this issue Jun 26, 2018 · 3 comments
Assignees

Comments

@manutarus
Copy link
Member

manutarus commented Jun 26, 2018

  • Schedule nifi to query OpenSRP endpoint for new client registrations
    - Add endpoint in OpenSRP to expose new clients
  • Process the new client results in nifi and get registration details of each child from OpenSRP
  • Query RapidPro for each contact to check to see if the phone number of the mother is already registered
  • Map geographic hierarchy and registration information from OpenSRP to the format required by RapidPro
  • Register the contact (new client)
  • Log a message in OpenSRP server that the contact was created successfully in rapidPro
  • Add the new RapidPro identifier to the ETL process
@manutarus
Copy link
Member Author

manutarus commented Jun 27, 2018

Unclear points

@craigappl
Copy link

From Email message:
The phone number of the mother is already registered with rapidpro but this is a new sibling

We need to keep the existing contact, but figure out a way to link the messaging campaign for the second child to the same mother. Additionally, we should consider a way to distinguish which child the message campaign is for.

@manutarus
Copy link
Member Author

@craigappl Thanks that point of the flow was not clear on my side

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

No branches or pull requests

3 participants