forked from avni-bahmni-integration/integration-service
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Prevent duplicate student registration #96
Comments
vinayvenu
changed the title
Implement unique student constraint
Prevent duplicate student registration
Oct 20, 2023
mahalakshme
moved this from Ready
to Finalized for the upcoming release
in Avni Product
Oct 24, 2023
petmongrels
added a commit
that referenced
this issue
Oct 27, 2023
petmongrels
added a commit
that referenced
this issue
Oct 27, 2023
petmongrels
added a commit
that referenced
this issue
Oct 27, 2023
petmongrels
added a commit
to avniproject/avni-server
that referenced
this issue
Oct 31, 2023
petmongrels
added a commit
that referenced
this issue
Oct 31, 2023
…asses/variable to Lahi* and Avni* of source of data.
petmongrels
added a commit
that referenced
this issue
Nov 3, 2023
petmongrels
added a commit
that referenced
this issue
Nov 7, 2023
…gration system id from the thread local.
petmongrels
added a commit
that referenced
this issue
Nov 7, 2023
petmongrels
added a commit
that referenced
this issue
Nov 7, 2023
…g of time. can be removed in future. util to compare string values.
petmongrels
added a commit
that referenced
this issue
Nov 7, 2023
petmongrels
added a commit
that referenced
this issue
Nov 7, 2023
petmongrels
added a commit
that referenced
this issue
Nov 8, 2023
petmongrels
added a commit
that referenced
this issue
Nov 8, 2023
…s. included first time setup sql file.
petmongrels
added a commit
that referenced
this issue
Nov 9, 2023
… by callers of integration process. removed unmapped fields. metadata data mapping.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
While syncing students to Avni, students might go through the same flow multiple times. It is important to remove duplicates as much as possible. As one mechanism of preventing this, we can prevent those with the same business primary key from being registered more than once.
Acceptance criteria
When the integration service notices that the flow for a flow_result_id has already been processed by Avni, it is ignored by the service.
To decide if this has already been processed, we match the contact number, first name, last name, date of birth and gender with Avni to see if they already exist.
Tech details
Out of scope
The text was updated successfully, but these errors were encountered: