Run Patient Status Updater for patient imports#6316
Merged
Conversation
1b37335 to
2eadd6b
Compare
samcoy3
approved these changes
Mar 16, 2026
thomasleese
requested changes
Mar 16, 2026
Contributor
thomasleese
left a comment
There was a problem hiding this comment.
Could we add a test for this scenario? That way we can be certain that we won't end up with a regression if we refactor this in the future.
2eadd6b to
4570e82
Compare
thomasleese
reviewed
Mar 25, 2026
10fca1a to
e242496
Compare
e242496 to
07f5697
Compare
thomasleese
approved these changes
Mar 30, 2026
This job should be ran also for patient imports, as a patient import may change the patient's year group which would affect their programme eligibility. Jira-Issue: MAV-5179
Call PatientStatusUpdater after applying or keeping both records in ImportDuplicateForm so that programme eligibility statuses reflect any pending changes (eg year group updates) committed during duplicate resolution.
07f5697 to
958a46d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This job should be ran also for patient imports, as a patient import may change the patient's year group which would affect their programme eligibility.
Jira Issue - MAV-5179