patient_logs missing column - fixed