Own Appointments [('doctor_id.user_id', '=', user.id)] All Appointments [(1, '=', 1)] Own Prescriptions [('prescribed_doctor_id.user_id', '=', user.id)] All Prescriptions [(1, '=', 1)]