Skip to content
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

Add patients back to sessions if valid #2723

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thomasleese
Copy link
Contributor

If we look up a patient in PDS and they're now marked as valid (and previously were invalid), we should add them to any upcoming sessions if approriate. This uses a SchoolMove instance to handle this to apply the same logic used elsewhere in the service.

app/models/patient.rb Show resolved Hide resolved
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from 1ca5931 to 0be39ac Compare December 13, 2024 15:34
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from 0be39ac to 6aa9445 Compare December 13, 2024 17:55
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from 6aa9445 to 3367f55 Compare December 14, 2024 09:22
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from 3367f55 to b1341b6 Compare December 16, 2024 11:09
@tvararu tvararu added this to the v1.1.2 milestone Dec 17, 2024
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from b1341b6 to 9b4fe3c Compare December 17, 2024 12:46
@tvararu tvararu added 🐞 bug Something isn't working and removed 🐞 bug Something isn't working labels Dec 17, 2024
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from 9b4fe3c to 108cd3d Compare December 18, 2024 08:46
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from 108cd3d to e1c141a Compare December 20, 2024 11:28
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from e1c141a to 070b6e8 Compare December 20, 2024 14:35
@tvararu tvararu temporarily deployed to mavis-pr-2723 December 20, 2024 14:35 Inactive
If we look up a patient in PDS and they're now marked as valid (and
previously were invalid), we should add them to any upcoming sessions if
approriate. This uses a `SchoolMove` instance to handle this to apply
the same logic used elsewhere in the service.
@thomasleese thomasleese force-pushed the invalidate-add-to-sessions branch from 070b6e8 to 3de8253 Compare January 5, 2025 10:57
Copy link

sonarqubecloud bot commented Jan 5, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants