We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d81782 + c33f401 commit b976804Copy full SHA for b976804
1 file changed
app/lib/patient_status_updater.rb
@@ -46,18 +46,13 @@ def update_programme_statuses!
46
batch =
47
relation.includes(
48
:attendance_record,
49
+ :consent_notifications,
50
:consents,
51
+ :parents,
52
:patient,
53
:patient_locations,
54
:triages,
- :vaccination_records,
- :parents,
55
- :consent_notifications,
56
- patient_locations: {
57
- location: [
58
- { team_locations: { sessions: :session_programme_year_groups } }
59
- ]
60
- }
+ :vaccination_records
61
).to_a
62
63
batch.each(&:assign)
0 commit comments