-
Notifications
You must be signed in to change notification settings - Fork 22
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
Identifier assignment not working as expected when an intermediate one is moved out of catchment #1092
Comments
Tests required
|
Change - introducing a variable that mentions if an identifier has been used. Since the individual cannot be relied upon since it goes away, but the identifier stays in the db, we need to keep this state elsewhere. |
@vinayvenu what do we do for already existing duplicates? Since we dont have more than 20 duplicates, I think we can let the implementation team to decide on handling it by communicating as necessary with the client. |
Steps to reproduce:
Description in short:
Actual: When a subject is migrated out of a catchment, enrolment_identifier of the subject is listed again when a new program enrolment is attempted.
Expected: The enrolment_identifier of the subject moved out of catchment should not be used, since the subject still exists. Hence the next identifier from the last used identifier should be used.
The text was updated successfully, but these errors were encountered: