updated patient_defaulted_dates and also added patient_max_defaulted_date function