Removed query from DoctorPatientAccess