replaced 'date_created' with 'obs_datetime' in all_dead_patients_with_visits query