Skip to content

Conversation

@alistair-white-horne-tng
Copy link
Contributor

This change creates a PatientTeam association between all patients in
an ImmunisationImport with the Team of the uploading User.

These patients are then also archived to prevent them from appearing in the search on the "Children" page for the PoC teams.

A tiny change also allows these patients to be always visible to the national reporting team which uploaded this patient.

MAV-2558

This change creates a `PatientTeam` association between all patients in
an `ImmunisationImport` with the `Team` of the uploading `User`.

This is so that these children can be found in the UI:
- This is particularly important for bulk uploaded records
- But is also useful for PoC users

Jira-Issue: MAV-2558
These patients should be archived because:
- These patients would otherwise be present in the "Children" tab.
- A definition of "archived" is "any patient which used to be
  under the remit of this SAIS team, but isn't anymore". Given that
  these patients have not matched to any which were in a cohort or
  class import, and the fact that the SAIS team has vaccination data
  for these patients, we are lead to assume that these patients were,
  but are no longer, under the remit of the SAIS team.

Jira-Issue: MAV-2558
Previously, the patients which were created as part of the national
reporting upload would be filtered out of the search. Now they are
visible.

Jira-Issue: MAV-2558
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants