Skip to content

Conversation

thomasleese
Copy link
Contributor

This replaces the session association with one to the location instead, as we want registration status to apply across all sessions for a particular location, in preparation for the removal of the PatientSession model.

Jira Issue - MAV-1938

@thomasleese thomasleese added this to the v4.2.0 milestone Sep 8, 2025
@thomasleese thomasleese requested a review from a team as a code owner September 8, 2025 16:58
@thomasleese thomasleese added the refactor Improving maintainability label Sep 8, 2025
@thomasleese thomasleese force-pushed the prepare-registration-status-location branch 2 times, most recently from 50b4f07 to 59b014b Compare September 8, 2025 17:13
@thomasleese thomasleese force-pushed the registration-status-patient-session-foreign-key branch from 277f8b4 to 823515d Compare September 9, 2025 14:21
Base automatically changed from registration-status-patient-session-foreign-key to next September 9, 2025 14:37
@thomasleese thomasleese force-pushed the prepare-registration-status-location branch 2 times, most recently from 0648a92 to d382b82 Compare September 10, 2025 14:56
This renames the model to `AttendanceRecord` to remove the naming of
session as the association is going to be removed and replaced instead
with a separate location and date column.

Jira-Issue: MAV-1938
It's specific to the session so we need to move it out of this model so
it can be used when we no longer have an explicit link to the session.

Jira-Issue: MAV-1938
This replaces the session association with one to the location instead,
as we want registration status to apply across all sessions for a
particular location, in preparation for the removal of the
`PatientSession` model.

Jira-Issue: MAV-1938
@thomasleese thomasleese force-pushed the prepare-registration-status-location branch from d382b82 to d17b3ff Compare September 11, 2025 13:12
Copy link

@thomasleese thomasleese merged commit ce26876 into next Sep 11, 2025
13 checks passed
@thomasleese thomasleese deleted the prepare-registration-status-location branch September 11, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improving maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants