Determine whether to include students whose courses have recently ended
Within the legacy card system, a student's 'end date' and their card's expiry date is automatically set to beyond that of their CamSIS course end date. For undergraduates, the end date is set to 30/09 of the year of their latest CamSIS course end, for graduates the end date is set to 01/30 the year after their latest CamSIS course end.
This means that students appear on the csv dumps from the card system for a few months after their course has completed - presumably to allow students access to their colleges / departments before they officially leave.
The card client does not currently allow for this - as it fetches students from the University Student API which only exposes students with a 'current' affiliation with a college / department. Therefore as soon as a student's course is completed they will no longer appear on the csvs produced by the card client.
Determine whether we need to replicate this leeway period, and determine how we could implement this (perhaps implementing an 'include cancelled' query parameter within the University Student API).